home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / gnu / emacs / bug / 1128 < prev    next >
Encoding:
Text File  |  1992-07-23  |  4.7 KB  |  146 lines

  1. Newsgroups: gnu.emacs.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!ozone.ps.uci.edu!andreae
  3. From: andreae@ozone.ps.uci.edu (Andi Andreae)
  4. Subject: Emacs installation problems
  5. Message-ID: <9207231322.AA18037@ozone.ps.uci.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Wed, 22 Jul 1992 23:22:19 GMT
  10. Approved: bug-gnu-emacs@prep.ai.mit.edu
  11. Lines: 133
  12.  
  13. To all the helpful folks, who have tried to keep me moving along with my emacs
  14. installation, and to potential other helpers, here's a review of the problems
  15. and progress so far:
  16.  
  17. I'm trying to install emacs on an Amdahl (System V.3.1 / UTS 2.1 (uts)).
  18. I obtained emacs as a tar file by anonymous FTP, unpacked it and put the
  19. resulting files into /u/moa/Emacs (/u/moa/ is my home directory).
  20. This is also where I want the compiled emacs to reside, since I am
  21. using this computer at a large center where I don't have the option to
  22. put it into /usr/local/gnu/emacs, where most people seem to put it.
  23.  
  24. When I first wrote to gnu-emacs-bug, I had the following problem:
  25.  
  26. >/u/moa/Emacs: make install.sysv
  27. >Make warning: Makefile: 90: Line begins with a blank, assumed a tab
  28. >        cd etc; make  all
  29. >        cd src; make  all
  30. >
  31. >        make    -f xmakefile  all
  32. >
  33. >        ld  -N -o temacs pre-crt0.o /lib/crt0.o dispnew.o scroll.o
  34. >        xdisp.o window.o  term.o cm.o   emacs.o keyboard.o macros.o
  35. >        keymap.o sysdep.o  buffer.o filelock.o insdel.o marker.o
  36. >        minibuf.o fileio.o dired.o filemode.o  cmds.o casefiddle.o
  37. >        indent .o search.o regex.o undo.o  alloc.o data.o doc.o
  38. >        editfns.o callint.o  eval.o fns.o print.o lread.o  abbrev.o
  39. >        syntax.o unexec.o mocklisp.o bytecode.o  process.o callproc.o
  40. >        doprnt.o terminfo.o lastfile.o alloca.o malloc.o   -lcurses
  41. >        -lc
  42. >
  43. >undefined                       first referenced
  44. > symbol                             in file
  45. >getservbyname                       process.o
  46. >gethostbyname                       process.o
  47. >socket                              process.o
  48. >connect                             process.o
  49. >select                              process.o
  50. >ld fatal: Symbol referencing errors. No output written to temacs
  51.  
  52.  
  53. This was fixed by including the line:
  54.  
  55. #define LIBS_SYSTEM -lsocket 
  56.  
  57. into my config.h file. The installation gets now though the compile and
  58. load phases, but the crashes like this:
  59.  
  60. >make install
  61. >Make warning: Makefile: 90: Line begins with a blank, assumed a tab
  62. >        cd etc; make  all
  63. >        cd src; make  all
  64. >        make    -f xmakefile  all
  65. >        ./temacs -batch -l inc-vers
  66. >Cannot open load file: inc-vers
  67.  
  68. I have verified that inc-vers.el actually exists in /u/moa/Emacs/lisp.
  69. The following is an extract from my Makefile, which shows the path
  70. assignments I am using (I also copied the somewhat obscure comment that
  71. came in the distribution file. Does that suggest to anyone that
  72. everything MUST be in /usr/local ??):
  73.  
  74. ...........................................
  75. # Where to install things
  76. # Note that on system V you must change MANDIR to /use/local/man/man1.
  77. # This got changed in late 1991 to say /usr/local/lib/emacs,
  78. # but there was no explanation of why, so it seems better to keep this stable.
  79. LIBDIR= /u/moa/Emacs
  80. BINDIR= /u/moa/Emacs/bin
  81. MANDIR= /u/moa/Emacs/man/man1
  82.  
  83. # Flags passed down to subdirectory makefiles.
  84. MFLAGS=
  85.  
  86. # Command used for installation.
  87. # If `install' doesn't work on your system, try `./install.sh'.
  88. INSTALL=install
  89.  
  90. # Subdirectories to make recursively.  `lisp' is not included
  91. # because the compiled lisp files are part of the distribution{# and you
  92. cannot remake them without installing Emacs first.
  93. SUBDIR= etc src
  94.  
  95. # Subdirectories to install
  96. COPYDIR= etc info lisp
  97.  
  98. # Subdirectories to clean
  99. CLEANDIR= ${COPYDIR} lisp/term oldXMenu
  100.  
  101. all:    src/paths.h ${SUBDIR}
  102.  
  103. src/paths.h: Makefile src/paths.h-dist
  104.     /bin/sed 's;/usr/local/emacs;${LIBDIR};g' < src/paths.h-dist >
  105. src/paths.h
  106. ...........................................
  107.  
  108. At Kevin's suggestion, I did the following:{
  109. 1. cd to the src subdirectory
  110.  
  111. 2. execute 'temacs'
  112.  
  113. 3. Type: (message "%s" load-path) M-x eval-current-buffer RET
  114.  
  115. 4. It should print this in the echo area:
  116.    ("../lisp" "/u/moa/Emacs/lisp")
  117.  
  118. and it did just that, so the load-path variable seems ok. I also
  119. checked the permissions on /u, /u/moa, or /u/moa/Emacs, and verified
  120. that I owned all of them and have r, w and x permissions. There also
  121. doesn't seem to be an EMACSLOADPATH variable set anywhere, my
  122. environment looks like this:
  123.  
  124. TERM=xtek
  125. KRBTKFILE=/tmp/tkt_ttyp003
  126. HOME=/u/moa
  127. SHELL=/usr/amdahl/bin/csh
  128. USER=moa
  129. LOGNAME=moa
  130. PTZ=MEZ-1MSZ
  131. COLUMNS=80
  132. LINES=24
  133. VISUAL=/bin/ned
  134. EDITOR=/in/vi
  135. M/ingres:/usr/man/p_man
  136. DIST=unknown
  137. DEPT=unknown
  138. MVSID=unknown
  139. VMID=unknown
  140.  
  141. At this point, I'm totally stuck, and Kevin is stumped, too. Is there
  142. anyone who could help?
  143.  
  144. Andi Andreae
  145.  
  146.