I routinely build XEmacs here at work on SunOS-4.1.4 and SunOS-5.5 in
order to make sure no major breakage occurs between releases. I do
not have sufficient time to spend major hours on this, but it provides
a simple sanity check on 21.1 and 21.2 development status.
Last week I decided it would be nice to share the
architecture-independent data directories between the 4.1 and 5.5
builds. I have not been able to get this to work under 21.2 from CVS.
In order to accomplish this, I'm specifying --datadir to configure;
after doing this, 'make beta' and 'make check' work fine, but 'make
install' fails. Here's how:
configure command:
/u/shelton/new/src/xemacs-21.2-2000-11-23/configure
--prefix=/u/shelton/new/SunOS-5.5/xemacs-21.2-2000-11-23 --with-gcc
--site-includes=/u/shelton/new/SunOS-5.5/include
--site-libraries=/u/shelton/new/SunOS-5.5/lib --infopath=/u/shelton/new/info
--with-mule=no --compiler=gcc '--cflags=-O2 -pipe -ffast-math -fno-exceptions'
--with-dialogs=no --with-widgets=no
--package-path=/u/shelton/new/site-packages::/u/shelton/new/xemacs-packages
--datadir=/u/shelton/new/share --debug=no --error-checking=none
Following is the output of 'make TAGS install'; note the following
anomalies:
(a) "Error: Library file backquote not found"
(b) File error: "Cannot open load file", "custom"
(c) Load file subr: not found
inst.out:
If you don't have a copy of etags around, then do 'make lib-src' first.
rm -f /u/shelton/new/src/xemacs-21.2-2000-11-23/TAGS
Using etags from /u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/lib-src/etags.
PATH=`/bin/pwd`/lib-src:$PATH ; export PATH; cd /u/shelton/new/src/xemacs-21.2-2000-11-23
&& \
find src lwlib lib-src -name SCCS -prune -o -name RCS -prune -o -name CVS -prune -o -name
'*.[ch]' -print | \
xargs etags -a -r '/[ ]*DEF\(VAR\|INE\)_[A-Z_]+[ ]*([
]*"\([^"]+\)"/\2/'; \
find lisp -name SCCS -prune -o -name RCS -prune -o -name CVS -prune -o -name
'*.el' ! -name 'auto-autoloads.el' -print | \
xargs etags -a -l none -r
"/^(def\\(var\\|un\\|alias\\|const\\|macro\\|subst\\|struct\\|face\\|group\\|custom\\|ine-\\(function\\|compiler-macro\\|[a-z-]+alias\\)\\)[
]+'?\\([^ ]+\\)/\\3/"
cd ./lib-src && make all
make[1]: Entering directory
`/u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/lib-src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/lib-src'
cd ./dynodump && make all
make[1]: Entering directory
`/u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/dynodump'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/dynodump'
cd ./lwlib && make all
make[1]: Entering directory
`/u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/lwlib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/lwlib'
cd ./src && make all
make[1]: Entering directory
`/u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/src'
./temacs -nd -batch -l
/u/shelton/new/src/xemacs-21.2-2000-11-23/src/../lisp/update-elc.el
Loading /u/shelton/new/src/xemacs-21.2-2000-11-23/src/../lisp/update-elc.el...
Loading very-early-lisp...
Loading find-paths.el...
Loading packages.el...
Loading setup-paths.el...
Loading dump-paths.el...
Loading /u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/lisp/dumped-lisp.el...
make[1]: Leaving directory
`/u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/src'
cd ./src && make dump-elcs
make[1]: Entering directory
`/u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/src'
./temacs -nd -batch -l
/u/shelton/new/src/xemacs-21.2-2000-11-23/src/../lisp/update-elc.el
Loading /u/shelton/new/src/xemacs-21.2-2000-11-23/src/../lisp/update-elc.el...
Loading very-early-lisp...
Loading find-paths.el...
Loading packages.el...
Loading setup-paths.el...
Loading dump-paths.el...
Loading /u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/lisp/dumped-lisp.el...
make[1]: Leaving directory
`/u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/src'
/u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/src/xemacs -batch -vanilla \
-l update-elc-2.el -f batch-update-elc-2 lisp
Removing old or spurious .elcs in directory tree `lisp'...
Removing old or spurious .elcs in directory tree `lisp'...done
Recompiling updated .els in directory tree `lisp'...
Compiling /u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/lisp/finder-inf.el...
Wrote /u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/lisp/finder-inf.elc
Recompiling updated .els in directory tree `lisp'...done
cd /u/shelton/new/src/xemacs-21.2-2000-11-23/man && make info
make[1]: Entering directory `/u/shelton/new/src/xemacs-21.2-2000-11-23/man'
make[1]: Nothing to be done for `info'.
make[1]: Leaving directory `/u/shelton/new/src/xemacs-21.2-2000-11-23/man'
/u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/src/xemacs -batch -l
check-features.el
Warning: This XEmacs is built with tooltalk support but
does not have a tooltalk package installed. Without the
tooltalk lisp package, Tooltalk support is broken.
./lib-src/make-path /u/shelton/new/share/xemacs-21.2-b37/etc
/u/shelton/new/share/xemacs-21.2-b37/lisp
/u/shelton/new/share/xemacs-21.2-b37/sparc-sun-solaris2.5.1
/u/shelton/new/share/xemacs-21.2-b37/info
/u/shelton/new/share/xemacs-21.2-b37/sparc-sun-solaris2.5.1 \
/u/shelton/new/SunOS-5.5/xemacs-21.2-2000-11-23/man/man1
/u/shelton/new/SunOS-5.5/xemacs-21.2-2000-11-23/bin /u/shelton/new/share
/u/shelton/new/SunOS-5.5/xemacs-21.2-2000-11-23/lib
/u/shelton/new/share/xemacs-21.2-b37/lisp \
/u/shelton/new/share/xemacs/site-lisp
/u/shelton/new/share/xemacs-21.2-b37/sparc-sun-solaris2.5.1/modules
/u/shelton/new/share/xemacs/site-modules
for subdir in lib-src src; do \
(cd ./${subdir} && make install
prefix=/u/shelton/new/SunOS-5.5/xemacs-21.2-2000-11-23 \
exec_prefix=/u/shelton/new/SunOS-5.5/xemacs-21.2-2000-11-23
bindir=/u/shelton/new/SunOS-5.5/xemacs-21.2-2000-11-23/bin
libdir=/u/shelton/new/SunOS-5.5/xemacs-21.2-2000-11-23/lib \
archlibdir=/u/shelton/new/share/xemacs-21.2-b37/sparc-sun-solaris2.5.1) ; done
make[1]: Entering directory
`/u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/lib-src'
Installing utilities run internally by XEmacs.
./make-path /u/shelton/new/share/xemacs-21.2-b37/sparc-sun-solaris2.5.1
if test "`(cd /u/shelton/new/share/xemacs-21.2-b37/sparc-sun-solaris2.5.1 &&
/bin/pwd)`" != "`/bin/pwd`"; then \
for f in make-path wakeup profile make-docfile digest-doc sorted-doc movemail cvtmail
fakemail yow hexl gnuserv mmencode; do \
(cd .. && /u/shelton/new/SunOS-5.5/bin/install -c lib-src/$f
/u/shelton/new/share/xemacs-21.2-b37/sparc-sun-solaris2.5.1/$f) ; \
done ; \
fi
if test "`(cd /u/shelton/new/share/xemacs-21.2-b37/sparc-sun-solaris2.5.1 &&
/bin/pwd)`" \
!= "`(cd /u/shelton/new/src/xemacs-21.2-2000-11-23/lib-src &&
/bin/pwd)`"; then \
for f in rcs2log vcdiff gzip-el.sh add-big-package.sh; do \
(cd .. && /u/shelton/new/SunOS-5.5/bin/install -c
/u/shelton/new/src/xemacs-21.2-2000-11-23/lib-src/$f
/u/shelton/new/share/xemacs-21.2-b37/sparc-sun-solaris2.5.1/$f); \
done ; \
fi
Installing utilities for users to run.
for file in etags ctags b2m gnuclient ootags ellcc ; do \
(cd .. && /u/shelton/new/SunOS-5.5/bin/install -c lib-src/${file}
/u/shelton/new/SunOS-5.5/xemacs-21.2-2000-11-23/bin/${file}) ; \
done
for file in rcs-checkin gnudoit gnuattach ; do \
(cd .. && /u/shelton/new/SunOS-5.5/bin/install -c
/u/shelton/new/src/xemacs-21.2-2000-11-23/lib-src/${file}
/u/shelton/new/SunOS-5.5/xemacs-21.2-2000-11-23/bin/${file}) ; \
done
make[1]: Leaving directory
`/u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/lib-src'
make[1]: Entering directory
`/u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/src'
./temacs -nd -batch -l
/u/shelton/new/src/xemacs-21.2-2000-11-23/src/../lisp/update-elc.el
Loading /u/shelton/new/src/xemacs-21.2-2000-11-23/src/../lisp/update-elc.el...
Loading very-early-lisp...
Loading find-paths.el...
Loading packages.el...
Loading setup-paths.el...
Loading dump-paths.el...
Loading /u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/lisp/dumped-lisp.el...
"Error: Library file backquote not found"
rm -f ../lib-src/DOC; \
./temacs -nd -batch -l
/u/shelton/new/src/xemacs-21.2-2000-11-23/src/../lisp/make-docfile.el -- \
-o ../lib-src/DOC -d /u/shelton/new/src/xemacs-21.2-2000-11-23/src -i
../lib-src/../site-packages \
abbrev.c alloc.c blocktype.c buffer.c bytecode.c callint.c callproc.c casefiddle.c
casetab.c chartab.c cmdloop.c cmds.c console.c console-stream.c data.c device.c dired.c
doc.c doprnt.c dynarr.c editfns.c elhash.c emacs.c eval.c events.c filelock.c unexsol2.c
balloon_help.c balloon-x.c tooltalk.c dgif_lib.c gif_io.c menubar.c scrollbar.c toolbar.c
menubar-x.c scrollbar-x.c toolbar-x.c gui-x.c realpath.c getloadavg.c inline.c
console-tty.c device-tty.c event-tty.c frame-tty.c objects-tty.c redisplay-tty.c cm.c
terminfo.c event-unixoid.c database.c sysdll.c emodules.c process-unix.c event-stream.c
extents.c faces.c fileio.c filemode.c floatfns.c fns.c font-lock.c frame.c general.c
glyphs.c glyphs-eimage.c glyphs-widget.c gui.c gutter.c hash.c imgproc.c indent.c
insdel.c intl.c keymap.c line-number.c lread.c lstream.c macros.c marker.c md5.c
minibuf.c objects.c opaque.c print.c process.c profile.c rangetab.c redisplay.c
redisplay-output.c regex.c search.c select.c signal.c s!
!
ound.c specifier.c strftime.c symbols.c syntax.c sysdep.c undo.c console-x.c device-x.c
event-Xt.c frame-x.c glyphs-x.c objects-x.c redisplay-x.c select-x.c xgccache.c widget.c
window.c ralloc.c
Loading /u/shelton/new/src/xemacs-21.2-2000-11-23/src/../lisp/make-docfile.el...
Loading very-early-lisp...
Loading find-paths.el...
Loading packages.el...
Loading setup-paths.el...
Loading dump-paths.el...
File error: "Cannot open load file", "custom"
./temacs -nd -batch -l /u/shelton/new/src/xemacs-21.2-2000-11-23/src/../lisp/loadup.el
dump
Loading /u/shelton/new/src/xemacs-21.2-2000-11-23/src/../lisp/loadup.el...
Using load-path (/u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/lisp)
Using module-load-path (/u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/modules)
Loading very-early-lisp...
Loading /u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/lisp/dumped-lisp.el...
Loading /u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/lisp/backquote.elc...
Loading
/u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/lisp/bytecomp-runtime.elc...
Loading /u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/lisp/find-paths.elc...
Loading /u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/lisp/packages.elc...
Loading /u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/lisp/setup-paths.elc...
Loading /u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/lisp/dump-paths.elc...
Load file subr: not found
Fatal error during load, aborting
make[1]: *** [xemacs] Error 1
make[1]: Leaving directory
`/u/shelton/new/build/SunOS-5.5/xemacs-21.2-2000-11-23/src'
make: *** [install-arch-dep] Error 2
I'm about to fire off a 21.1 build specifying --datadir, to see if
that works any better.
- vin
--
In a minute there is time
For decisions and revisions which a minute will reverse. T.S. Eliot
[URL:
http://www.cs.amherst.edu/~ccm/prufrock.html]