Jan Vroonhof <jan.vroonhof(a)ntlworld.com> writes:
| Golden rule of configure: Never specify any options that should be
| default [Because specifying them on the command line forces them on,
| hiding any problem.
Right, well, I tried again with...
./configure --prefix=/usr/local/xemacs-21.4 --with-gif=yes
--with-sound=none,native --with-mule --without-canna --without-wnn
--without-wnn6 --datadir=/usr/local/xemacs-21.4/share
--statedir=/var/lib --infodir=/usr/local/xemacs-21.4/info
--mandir=/usr/local/xemacs-21.4/man --with_menubars=lucid
--with_scrollbars=lucid --with_dialogs=athena
--site-includes="/usr/include/db2"
...but the result was the same.
| The documentation is wrong.
| XEmacs in fact puts those libraries in archlibdir relative to
| datadir (the idea being that since the architecture prefix is there,
| it can safely be shared).
|
| There where a lot of changes to this area during the 21.2 cycle, maybe
| this one should be revisited. Is having those files there causing you
| any problems?
No, I just wanted to follow the Debian conventions.
FWIW, I just tried compiling on a Debian GNU/Linux x86 sid system
too (configuration with the same command I used on potato, shown
above) and the compilation ended with:
gcc -c -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes
-Wshadow -Wsign-compare -Demacs -I. -DHAVE_CONFIG_H
-I/usr/include/db2 -I/usr/X11R6/include
-DDEFINE_TOP_LEVEL_EMACS_SHELL
.../xemacs-21.4-compiled-sid/src/EmacsShell-sub.c
mv EmacsShell-sub.o TopLevelEmacsShell.o
mv EmacsShell-sub.o TopLevelEmacsShell.o
gcc -c -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes
-Wshadow -Wsign-compare -Demacs -I. -DHAVE_CONFIG_H
-I/usr/include/db2 -I/usr/X11R6/include
-DDEFINE_TRANSIENT_EMACS_SHELL
.../xemacs-21.4-compiled-sid/src/EmacsShell-sub.c
mv: cannot stat `EmacsShell-sub.o': No such file or directory
make[1]: *** [TopLevelEmacsShell.o] Error 1
make[1]: Leaving directory `.../xemacs-21.4-compiled-sid/src'
make: *** [src] Error 2
make: *** Waiting for unfinished jobs....
mv EmacsShell-sub.o TransientEmacsShell.o
gcc -c -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes
-Wshadow -Wsign-compare -Demacs -I. -DHAVE_CONFIG_H
-I/usr/include/db2 -I/usr/X11R6/include EmacsManager.c
gcc -nostdlib -L/usr/X11R6/lib -Wl,-export-dynamic -o temacs
pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o abbrev.o alloc.o
blocktype.o buffer.o bytecode.o callint.o callproc.o casefiddle.o
casetab.o chartab.o cmdloop.o cmds.o console.o console-stream.o
data.o device.o dired.o doc.o doprnt.o dynarr.o editfns.o elhash.o
emacs.o eval.o events.o filelock.o unexelf.o balloon_help.o
balloon-x.o eldap.o postgresql.o dgif_lib.o gif_io.o menubar.o
scrollbar.o dialog.o toolbar.o menubar-x.o scrollbar-x.o dialog-x.o
toolbar-x.o gui-x.o mule.o mule-ccl.o mule-charset.o file-coding.o
input-method-xlib.o realpath.o inline.o linuxplay.o miscplay.o
console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o
redisplay-tty.o cm.o terminfo.o gpmevent.o event-unixoid.o
database.o sysdll.o emodules.o process-unix.o event-stream.o
extents.o faces.o fileio.o filemode.o floatfns.o fns.o font-lock.o
frame.o general.o glyphs.o glyphs-eimage.o glyphs-widget.o gui.o
gutter.o hash.o imgproc.o indent.o insdel.o intl.o keymap.o
line-number.o lread.o lstream.o macros.o marker.o md5.o minibuf.o
objects.o opaque.o print.o process.o profile.o rangetab.o
redisplay.o redisplay-output.o regex.o search.o select.o signal.o
sound.o specifier.o strftime.o symbols.o syntax.o sysdep.o undo.o
console-x.o device-x.o event-Xt.o frame-x.o glyphs-x.o objects-x.o
redisplay-x.o select-x.o xgccache.o widget.o window.o lastfile.o
vm-limit.o EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o
TransientEmacsShell.o EmacsManager.o ../lwlib/liblw.a -lXm -lXaw
-ltiff -lpng -ljpeg -lz -lXpm -lXmu -lXt -lXext -lX11 -lSM -lICE
-lgpm -lncurses -lpq -lldap -lm -lutil -lgcc -lc -lgcc
/usr/lib/crtn.o `gcc -print-libgcc-file-name`
./temacs -nd -batch -l
.../xemacs-21.4-compiled-sid/src/../lisp/update-elc.el
Loading .../xemacs-21.4-compiled-sid/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 .../xemacs-21.4-compiled-sid/lisp/dumped-lisp.el...
"Error: Library file backquote not found"
make[1]: Leaving directory `.../xemacs-21.4-compiled-sid/src'
Looks like Makefiles haven't been written to support parallel
compilation. Just for the heck of it, I removed --with-mule from
configuration and didn't use parallel compilation and I got exactly
the same errors as for the first time with potato.
--
Hannu
Please don't send copies of list mail