README.emx revision 50276
150276Speter-- $Id: README.emx,v 1.1 1998/11/21 20:13:05 tom Exp $
250276Speter-- Author: Thomas Dickey <dickey@clark.net>
350276Speter-------------------------------------------------------------------------------
450276Speter
550276SpeterYou can build ncurses on OS/2 in the EMX environment.  But you must build and
650276Speteracquire tools.  Not all of the tools distributed with EMX work properly, and
750276Spetersome additional ones are required.
850276Speter
950276SpeterFirst, the configure script distributed with ncurses will not run as-is in EMX. 
1050276SpeterYou can generate a new one if you have autoconf built for EMX.  You will need
1150276Speterthe EMX development tools, of course.  Get these programs to start:
1250276Speter
1350276Speter	GNU m4 program (version 1.4)
1450276Speter	GNU autoconf (version 2.12).
1550276Speter	GNU patch (version 2.5)
1650276Speter
1750276SpeterApply the autoconf patches from
1850276Speter
1950276Speter	http://www.clark.net/pub/dickey/autoconf
2050276Speter	ftp://ftp.clark.net/pub/dickey/autoconf
2150276Speter
2250276SpeterThese are ordered by date:
2350276Speter
2450276Speter	autoconf-2.12-970309.patch
2550276Speter	autoconf-2.12-970429.patch
2650276Speter	autoconf-2.12-971222-emx.patch
2750276Speter	autoconf-2.12-971222.patch
2850276Speter	autoconf-2.12-971230.patch
2950276Speter
3050276SpeterI built my development environment for ncurses using EMX 0.9c at the end of
3150276Speter1997.  Much of the EMX patch for autoconf was done originally by J.J.G.Ripoll,
3250276Speterusing a similar environment (he prefers using the 'ash' shell).  Newer versions
3350276Spetermay fix these problems:
3450276Speter
3550276Speter	+ The pdksh program distributed at Hobbes and Leo (with a 1996 date) is
3650276Speter	  defective.  It does not process "here documents" correctly (which
3750276Speter	  renders it useless for running the autoconf script).  I built my own
3850276Speter	  copy of pdksh 5.2.13, which does have the bug corrected (documented
3950276Speter	  in the change log for pdksh).
4050276Speter
4150276Speter	+ I also built from sources (because the distributed binaries did not
4250276Speter	  work) the cmp, diff programs.
4350276Speter	  
4450276Speter	  Other required utilities such as ar, cat, chmod, cp, gawk, grep, mv,
4550276Speter	  ls, rm, mkdir, sed, sort and tr worked.
4650276Speter
4750276SpeterOnce you have autoconf patched and installed, run 'autoconf' from the top-level
4850276Speterdirectory of ncurses to generate the EMX-specific configure script.
49