home *** CD-ROM | disk | FTP | other *** search
- x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Thu, 10 Sep 1992 09:50:46 EDT
- From: danny@amil.co.il (Danny Bar-Dov)
- Message-ID: <9209101349.AA21434@amil.co.il>
- Subject: compiling lucid 19.2 on HP 7x0
- Date: Thu, 10 Sep 1992 13:50:47 GMT
- Newsgroups: alt.lucid-emacs.help
- Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
- Sender: help-lucid-emacs-request@lucid.com
- Lines: 48
-
- I just finished compiling lemacs-19.2 on an HP 7x0 platform (hpux 8.07)
- and I think some of you might be interested in some of the
- problems.
-
- 1. Lucid specifies an ansi C compiler. Not having gcc - I tried to use
- HP's cc with the ansi mode flag (-Aa). After complaints about errors in header
- files (HP's) I tried the HP CC (C++) compiler - same problems. The c89
- (another flavor of HP ansi compiler) yielded same results.
- To make a long story short I've found out that you must define
- _INCLUDE_POSIX_SOURCE _INCLUDE_HPUX_SOURCE _INCLUDE_XOPEN_SOURCE
- to make it work.
-
- 2. HP do not provide Xmu & Xaw include files. Also they do not
- give these libraries in both archive & shared library formats -
- one is provided only as a shared lib. the other as an archive.
- - solution - I compiled against X11R5 native distribution.
-
- 3. (This was partly mentioned in lucid-19.3 announcement) There are
- some mathematic functions missing under the HP platform
- some are called differently (i.e. remainder() is called fabs())
- others (i.e. atanh) are totally missing. I simply closed all these
- references with #ifndef HPUX
-
- 4. The last problem (woth mentioning) has to do with the
- init_term function. Lucid emacs has an INVISIBLE_TERMINAL_KLUDGE
- which puts in the environment (or in the MAINTAINED_ENVIRONMENT)
- a definition of an "invisible" TERM & TERMCAP - and then calls
- init_term recursively. init_term calls tgetent which is supposed to
- read TERMCAP if defined and /etc/termcap otherwise. Only on the HP
- tgetent is said to "emulate" termcap by using terminfo. It does not
- read the TERMCAP variable - instead it goes directly to
- /usr/lib/terminfo/i/invisible and fails the startup.
- After not succeeding to fix the code I did the obvious (?)
- I created the missing terminfo entry.
-
- --
- Danny.
-
- -------------------------------
- Dan Bar Dov
-
- Applied Materials (Israel)
-
- Email: danny@amil.co.il
- Phone: office 972-3-499573
- home 972-3-5469625
- TimeZone: GMT+2
- -------------------------------
-