Subject: package system: building emacs fails on mips
To: None <current-users@NetBSD.ORG>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: current-users
Date: 11/14/1997 05:29:31
I'm trying to build emacs 20.2 for a pmax, so I can use the standard
NetBSD pkg share hierarchy for emacs architecture-independent files.

emacs 20.2 from FSF source builds cleanly out of the box
on NetbSD/pmax 1.3_ALPHA,, so this is clearly a pkgsrc problem.

The pkgsrc version builds a temacs, but fails to find the elisp files.
the 2.02 source doesn't support unexec on *BSD on mips cpus..

It looks to me rather as if somebody's ``customisation'' broke emacs
20.2 for pmaxes.   Looks like the temacs isn't properly looking inside
the pkgsrc hierarchy to load its elisp.

Has anone succeeded with a from-clean build?  Did loading elisp and
unexec'ing work on some other platform?

Or are we supposed to do a `make install' to populate
/usr/pkg/share/emacs before loading up elisp?

../lib-src/make-docfile -d /usr/pkgsrc/editors/emacs/work/emacs-20.2/src sunfns.o dosfns.o msdos.o intervals.o textprop.o   xterm.o xfns.o xmenu.o xselect.o xrdb.o dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o         charset.o coding.o category.o ccl.o     cm.o term.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o  emacs.o keyboard.o macros.o keymap.o sysdep.o   buffer.o filelock.o insdel.o marker.o intervals.o textprop.o    minibuf.o fileio.o dired.o filemode.o  cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o   alloc.o data.o doc.o editfns.o callint.o        eval.o floatfns.o fns.o print.o lread.o        abbrev.o syntax.o unexec.o  mocklisp.o bytecode.o        process.o callproc.o   region-cache.o   doprnt.o strftime.o > ../etc/DOC
../lib-src/make-docfile -a ../etc/DOC -d /usr/pkgsrc/editors/emacs/work/emacs-20.2/src ../lisp/facemenu.elc   ../lisp/float-sup.elc ../lisp/frame.elc   ../lisp/menu-bar.elc ../lisp/mouse.elc   ../lisp/select.elc ../lisp/scroll-bar.elc   ../lisp/vmsproc.elc ../lisp/vms-patch.elc   ../lisp/ls-lisp.elc ../lisp/dos-fns.elc   ../lisp/w32-fns.elc ../lisp/dos-w32.elc ../lisp/abbrev.elc   ../lisp/buff-menu.elc   ../lisp/byte-run.elc    ../lisp/cus-start.el    ../lisp/custom.elc     ../lisp/emacs-lisp/lisp-mode.elc         ../lisp/emacs-lisp/lisp.elc     ../lisp/faces.elc       ../lisp/files.elc       ../lisp/format.elc      ../lisp/help.elc        ../lisp/indent.elc      ../lisp/isearch.elc     ../lisp/loadup.el      ../lisp/loaddefs.el      ../lisp/bindings.el     ../lisp/map-ynp.elc     ../lisp/international/mule.elc  ../lisp/international/mule-conf.el      ../lisp/international/mule-cmds.elc     ../lisp/international/characters.elc    ../lisp/case-table.elc  ../lisp/language/chine!
se.elc    ../lisp/language/cyrillic.elc   ../lisp/language/devanagari.elc         ../lisp/language/english.elc    ../lisp/language/ethiopic.elc   ../lisp/language/european.elc   ../lisp/language/greek.elc     ../lisp/language/hebrew.elc      ../lisp/language/indian.elc     ../lisp/language/japanese.elc   ../lisp/language/korean.elc     ../lisp/language/lao.elc       ../lisp/language/thai.elc        ../lisp/language/tibetan.elc    ../lisp/language/vietnamese.elc         ../lisp/language/misc-lang.elc  ../lisp/paths.el       ../lisp/register.elc     ../lisp/replace.elc     ../lisp/simple.elc      ../lisp/startup.elc     ../lisp/subr.elc        ../lisp/textmodes/fill.elc      ../lisp/textmodes/page.elc      ../lisp/textmodes/paragraphs.elc        ../lisp/textmodes/text-mode.elc         ../lisp/vc-hooks.elc    ../lisp/ediff-hook.elc  ../lisp/widget.elc      ../lisp/window.elc      ../lisp/version.el
rm -f emacs
ln temacs emacs
./emacs -q -batch -f list-load-path-shadows
Warning: arch-dependent data dir (/usr/pkg/libexec/emacs/20.2/mips--netbsd/) does not exist.
Warning: Lisp directory `/usr/pkg/share/emacs/20.2/site-lisp' does not exist.
Warning: Lisp directory `/usr/pkg/share/emacs/site-lisp' does not exist.
Warning: Lisp directory `/usr/pkg/share/emacs/20.2/leim' does not exist.
Warning: Lisp directory `/usr/pkg/share/emacs/20.2/lisp' does not exist.
Cannot open load file: loadup.el
*** Error code 255 (ignored)

[ non-undumped emacs fails to find elisp and so fails  to startup,
  and thus fails to crunch  doc strings and info, usw...  ]