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