home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.bug
- Path: sparky!uunet!cis.ohio-state.edu!ozone.ps.uci.edu!andreae
- From: andreae@ozone.ps.uci.edu (Andi Andreae)
- Subject: Emacs installation problems
- Message-ID: <9207231322.AA18037@ozone.ps.uci.edu>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Wed, 22 Jul 1992 23:22:19 GMT
- Approved: bug-gnu-emacs@prep.ai.mit.edu
- Lines: 133
-
- To all the helpful folks, who have tried to keep me moving along with my emacs
- installation, and to potential other helpers, here's a review of the problems
- and progress so far:
-
- I'm trying to install emacs on an Amdahl (System V.3.1 / UTS 2.1 (uts)).
- I obtained emacs as a tar file by anonymous FTP, unpacked it and put the
- resulting files into /u/moa/Emacs (/u/moa/ is my home directory).
- This is also where I want the compiled emacs to reside, since I am
- using this computer at a large center where I don't have the option to
- put it into /usr/local/gnu/emacs, where most people seem to put it.
-
- When I first wrote to gnu-emacs-bug, I had the following problem:
-
- >/u/moa/Emacs: make install.sysv
- >Make warning: Makefile: 90: Line begins with a blank, assumed a tab
- > cd etc; make all
- > cd src; make all
- >
- > make -f xmakefile all
- >
- > ld -N -o temacs pre-crt0.o /lib/crt0.o dispnew.o scroll.o
- > xdisp.o window.o term.o cm.o emacs.o keyboard.o macros.o
- > keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o
- > minibuf.o fileio.o dired.o filemode.o cmds.o casefiddle.o
- > indent .o search.o regex.o undo.o alloc.o data.o doc.o
- > editfns.o callint.o eval.o fns.o print.o lread.o abbrev.o
- > syntax.o unexec.o mocklisp.o bytecode.o process.o callproc.o
- > doprnt.o terminfo.o lastfile.o alloca.o malloc.o -lcurses
- > -lc
- >
- >undefined first referenced
- > symbol in file
- >getservbyname process.o
- >gethostbyname process.o
- >socket process.o
- >connect process.o
- >select process.o
- >ld fatal: Symbol referencing errors. No output written to temacs
-
-
- This was fixed by including the line:
-
- #define LIBS_SYSTEM -lsocket
-
- into my config.h file. The installation gets now though the compile and
- load phases, but the crashes like this:
-
- >make install
- >Make warning: Makefile: 90: Line begins with a blank, assumed a tab
- > cd etc; make all
- > cd src; make all
- > make -f xmakefile all
- > ./temacs -batch -l inc-vers
- >Cannot open load file: inc-vers
-
- I have verified that inc-vers.el actually exists in /u/moa/Emacs/lisp.
- The following is an extract from my Makefile, which shows the path
- assignments I am using (I also copied the somewhat obscure comment that
- came in the distribution file. Does that suggest to anyone that
- everything MUST be in /usr/local ??):
-
- ...........................................
- # Where to install things
- # Note that on system V you must change MANDIR to /use/local/man/man1.
- # This got changed in late 1991 to say /usr/local/lib/emacs,
- # but there was no explanation of why, so it seems better to keep this stable.
- LIBDIR= /u/moa/Emacs
- BINDIR= /u/moa/Emacs/bin
- MANDIR= /u/moa/Emacs/man/man1
-
- # Flags passed down to subdirectory makefiles.
- MFLAGS=
-
- # Command used for installation.
- # If `install' doesn't work on your system, try `./install.sh'.
- INSTALL=install
-
- # Subdirectories to make recursively. `lisp' is not included
- # because the compiled lisp files are part of the distribution{# and you
- cannot remake them without installing Emacs first.
- SUBDIR= etc src
-
- # Subdirectories to install
- COPYDIR= etc info lisp
-
- # Subdirectories to clean
- CLEANDIR= ${COPYDIR} lisp/term oldXMenu
-
- all: src/paths.h ${SUBDIR}
-
- src/paths.h: Makefile src/paths.h-dist
- /bin/sed 's;/usr/local/emacs;${LIBDIR};g' < src/paths.h-dist >
- src/paths.h
- ...........................................
-
- At Kevin's suggestion, I did the following:{
- 1. cd to the src subdirectory
-
- 2. execute 'temacs'
-
- 3. Type: (message "%s" load-path) M-x eval-current-buffer RET
-
- 4. It should print this in the echo area:
- ("../lisp" "/u/moa/Emacs/lisp")
-
- and it did just that, so the load-path variable seems ok. I also
- checked the permissions on /u, /u/moa, or /u/moa/Emacs, and verified
- that I owned all of them and have r, w and x permissions. There also
- doesn't seem to be an EMACSLOADPATH variable set anywhere, my
- environment looks like this:
-
- TERM=xtek
- KRBTKFILE=/tmp/tkt_ttyp003
- HOME=/u/moa
- SHELL=/usr/amdahl/bin/csh
- USER=moa
- LOGNAME=moa
- PTZ=MEZ-1MSZ
- COLUMNS=80
- LINES=24
- VISUAL=/bin/ned
- EDITOR=/in/vi
- M/ingres:/usr/man/p_man
- DIST=unknown
- DEPT=unknown
- MVSID=unknown
- VMID=unknown
-
- At this point, I'm totally stuck, and Kevin is stumped, too. Is there
- anyone who could help?
-
- Andi Andreae
-
-