home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / alt / lucidem / help / 680 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  2.7 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!utkcs2!duncan.cs.utk.edu!hethmon
  2. From: hethmon@duncan.cs.utk.edu (PAUL HETHMON)
  3. Newsgroups: alt.lucid-emacs.help
  4. Subject: Trouble building lucid emacs
  5. Date: 11 Nov 92 22:01:18 GMT
  6. Organization: University of Tennessee, Knoxville - Department of Computer Science
  7. Lines: 54
  8. Distribution: world
  9. Message-ID: <lg30leINN1p9@utkcs2.cs.utk.edu>
  10. Reply-To: hethmon@duncan.cs.utk.edu (PAUL HETHMON)
  11. NNTP-Posting-Host: duncan.cs.utk.edu
  12. Keywords: help
  13.  
  14. I'm having some problems building lucid emacs on a sparc station.
  15. I've gone through the INSTALL and PROBLEMS file but can't seem to
  16. find anything to help.
  17.  
  18. Let me outline my situation first.  First I was going to use
  19. the binary from labrea.stanford.edu to run on one of our
  20. sparcs, but when I tried, I found we're only running version 18.5.
  21. So I decided to build it for the sparcs since from the readme files
  22. that seemed the simplest.  Since I'm not a system administrator here
  23. I have to build and install it in my NFS file area. First question,
  24. what should I change the various set commands and/or the LIBDIR in
  25. the build-install script/Makefile respectively (I know I only use
  26. one or the other, but I've tried both to make it work).  Do I set
  27. EMACS to something like ~hethmon/bin/lucid/lemacs-19.3? This is 
  28. where I have all the source at.  And where should LIBDIR point to
  29. in this kind of setup?  Related to this is also BINDIR, MANDIR, and
  30. BIN.
  31.  
  32. Second, when I do try to build lucid emacs using either the 
  33. makefile or script I get the following errors:
  34.  
  35. gcc -O     -Demacs  -I./lwlib  -c  dispnew.c
  36. In file included from dispnew.c:72:
  37. lisp.h:1213: conflicting types for `malloc'
  38. /usr/include/stdlib.h:29: previous declaration of `malloc'
  39. lisp.h:1213: conflicting types for `realloc'
  40. /usr/include/stdlib.h:33: previous declaration of `realloc'
  41. lisp.h:1214: conflicting types for `free'
  42. /usr/include/stdlib.h:27: previous declaration of `free'
  43. dispnew.c:1745: conflicting types for `abort'
  44. /usr/include/stdlib.h:18: previous declaration of `abort'
  45. *** Error code 1
  46. make: Fatal error: Command failed for target `dispnew.o'
  47. Current working directory /a/vose/platinum/homes/hethmon/bin/lucid/lemacs-19.3/s
  48. rc
  49. *** Error code 1
  50. make: Fatal error: Command failed for target `doall'
  51. exit 1
  52.  
  53. Is this related to the various paths, or something else?  One final
  54. note is that the default cc compiler on our system here is
  55. the cc provided by Sun.  I have tried to change all references to
  56. cc to gcc when I have found them, but I could have missed some.
  57.  
  58. Any help anybody could give me would be much appreciated.
  59.  
  60. -- 
  61. /* -------------------------------------------------------- */
  62.  
  63.    Paul Hethmon
  64.    hethmon@cs.utk.edu
  65.    615/974-6433
  66.  
  67. /* -------------------------------------------------------- */
  68.