[2621] | 1 | -- $Id: README.emx,v 1.7 2005/08/27 17:04:26 tom Exp $
|
---|
| 2 | -- Author: Thomas Dickey
|
---|
| 3 | -------------------------------------------------------------------------------
|
---|
| 4 |
|
---|
| 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.
|
---|
| 8 |
|
---|
| 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:
|
---|
| 12 |
|
---|
| 13 | GNU m4 program (version 1.4)
|
---|
| 14 | GNU autoconf (version 2.13).
|
---|
| 15 | GNU patch (version 2.5)
|
---|
| 16 |
|
---|
| 17 | Apply the autoconf patches from
|
---|
| 18 |
|
---|
| 19 | http://invisible-island.net/autoconf
|
---|
| 20 | ftp://invisible-island.net/autoconf
|
---|
| 21 |
|
---|
| 22 | These are ordered by date:
|
---|
| 23 |
|
---|
| 24 | autoconf-2.13-20030927.patch.gz
|
---|
| 25 | autoconf-2.13-20030927-emx.patch.gz
|
---|
| 26 |
|
---|
| 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:
|
---|
| 31 |
|
---|
| 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).
|
---|
| 37 |
|
---|
| 38 | + I also built from sources (because the distributed binaries did not
|
---|
| 39 | work) the cmp, diff programs.
|
---|
| 40 |
|
---|
| 41 | Other required utilities such as ar, cat, chmod, cp, gawk, grep, mv,
|
---|
| 42 | ls, rm, mkdir, sed, sort and tr worked.
|
---|
| 43 |
|
---|
| 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.
|
---|