xref: /freebsd/contrib/ncurses/README.emx (revision f3c5273d315a64826d2149ac453ff8c4583ddbe8)
1-------------------------------------------------------------------------------
2-- Copyright (c) 1998-2005,2006 Free Software Foundation, Inc.               --
3--                                                                           --
4-- Permission is hereby granted, free of charge, to any person obtaining a   --
5-- copy of this software and associated documentation files (the             --
6-- "Software"), to deal in the Software without restriction, including       --
7-- without limitation the rights to use, copy, modify, merge, publish,       --
8-- distribute, distribute with modifications, sublicense, and/or sell copies --
9-- of the Software, and to permit persons to whom the Software is furnished  --
10-- to do so, subject to the following conditions:                            --
11--                                                                           --
12-- The above copyright notice and this permission notice shall be included   --
13-- in all copies or substantial portions of the Software.                    --
14--                                                                           --
15-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS   --
16-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF                --
17-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN --
18-- NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,       --
19-- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR     --
20-- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE --
21-- USE OR OTHER DEALINGS IN THE SOFTWARE.                                    --
22--                                                                           --
23-- Except as contained in this notice, the name(s) of the above copyright    --
24-- holders shall not be used in advertising or otherwise to promote the      --
25-- sale, use or other dealings in this Software without prior written        --
26-- authorization.                                                            --
27-------------------------------------------------------------------------------
28-- $Id: README.emx,v 1.8 2006/04/22 22:19:37 tom Exp $
29-- Author: Thomas Dickey
30-------------------------------------------------------------------------------
31
32You can build ncurses on OS/2 in the EMX environment.  But you must build and
33acquire tools.  Not all of the tools distributed with EMX work properly, and
34some additional ones are required.
35
36First, the configure script distributed with ncurses will not run as-is in EMX.
37You can generate a new one if you have autoconf built for EMX.  You will need
38the EMX development tools, of course.  Get these programs to start:
39
40	GNU m4 program (version 1.4)
41	GNU autoconf (version 2.13).
42	GNU patch (version 2.5)
43
44Apply the autoconf patches from
45
46	http://invisible-island.net/autoconf
47	ftp://invisible-island.net/autoconf
48
49These are ordered by date:
50
51	autoconf-2.13-20030927.patch.gz
52	autoconf-2.13-20030927-emx.patch.gz
53
54I built my development environment for ncurses using EMX 0.9c at the end of
551997.  Much of the EMX patch for autoconf was done originally by J.J.G.Ripoll,
56using a similar environment (he prefers using the 'ash' shell).  Newer versions
57may fix these problems:
58
59	+ The pdksh program distributed at Hobbes and Leo (with a 1996 date) is
60	  defective.  It does not process "here documents" correctly (which
61	  renders it useless for running the autoconf script).  I built my own
62	  copy of pdksh 5.2.13, which does have the bug corrected (documented
63	  in the change log for pdksh).
64
65	+ I also built from sources (because the distributed binaries did not
66	  work) the cmp, diff programs.
67
68	  Other required utilities such as ar, cat, chmod, cp, gawk, grep, mv,
69	  ls, rm, mkdir, sed, sort and tr worked.
70
71Once you have autoconf patched and installed, run 'autoconf' from the top-level
72directory of ncurses to generate the EMX-specific configure script.
73