home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / alt / lucidem / help / 394 < prev    next >
Encoding:
Text File  |  1992-09-10  |  2.3 KB  |  59 lines

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