1 -- $Id: README.emx,v 1.6 2002/09/07 17:03:19 tom Exp $
2 -- Author: Thomas Dickey
3 -------------------------------------------------------------------------------
5 You can build ncurses on OS/2 in the EMX environment. But you must build and
6 acquire tools. Not all of the tools distributed with EMX work properly, and
7 some additional ones are required.
9 First, the configure script distributed with ncurses will not run as-is in EMX.
10 You can generate a new one if you have autoconf built for EMX. You will need
11 the EMX development tools, of course. Get these programs to start:
13 GNU m4 program (version 1.4)
14 GNU autoconf (version 2.13).
15 GNU patch (version 2.5)
17 Apply the autoconf patches from
19 http://invisible-island.net/autoconf
20 ftp://invisible-island.net/autoconf
22 These are ordered by date:
24 autoconf-2.13-20020210.patch.gz
25 autoconf-2.13-20020210-emx.patch.gz
27 I built my development environment for ncurses using EMX 0.9c at the end of
28 1997. Much of the EMX patch for autoconf was done originally by J.J.G.Ripoll,
29 using a similar environment (he prefers using the 'ash' shell). Newer versions
30 may fix these problems:
32 + The pdksh program distributed at Hobbes and Leo (with a 1996 date) is
33 defective. It does not process "here documents" correctly (which
34 renders it useless for running the autoconf script). I built my own
35 copy of pdksh 5.2.13, which does have the bug corrected (documented
36 in the change log for pdksh).
38 + I also built from sources (because the distributed binaries did not
39 work) the cmp, diff programs.
41 Other required utilities such as ar, cat, chmod, cp, gawk, grep, mv,
42 ls, rm, mkdir, sed, sort and tr worked.
44 Once you have autoconf patched and installed, run 'autoconf' from the top-level
45 directory of ncurses to generate the EMX-specific configure script.