yesterday i checked-out the latest beta, ran configure (this is the
Installation file)
(note: --dynamic=yes --with-modules)
------------------------------------------------------------------------
uname -a: Linux boffi95.stru.polimi.it 2.2.5-15 #1
Mon Apr 19 22:21:09 EDT 1999 i586 unknown
./configure '--extra-verbose' '--dynamic=yes' '--with-modules' \
'--without-wmcommand' '--external-widget' '--with-site-lisp' \
'--error-checking=none' '--debug' '--memory-usage-stats' \
'--use-union-type' '--rel-alloc' '--with-dlmalloc' \
'--with-clash-detection' \
XEmacs 21.2-b19 "Shinjuku" configured for `i586-pc-linux'.
Where should the build process find the source code? /home/jim/src/xemacs
What installation prefix should install use? /usr/local
What operating system and machine description files should XEmacs use?
`s/linux.h' and `m/intel386.h'
What compiler should XEmacs be built with? gcc -g -O3 -Wall -Wno-switch
Should XEmacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/X11R6/include
Where do we find X Windows libraries? /usr/X11R6/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for TIFF image handling.
Compiling in support for X-Face message headers.
Compiling in native sound support.
Compiling in support for Berkeley DB.
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena native widgets.
Using Athena dialog boxes.
Compiling in DSO module support.
Clash detection will use "${statedir}/${inststaticdir}/lock" for locking
files.
movemail will use "dot-locking" for locking mail spool files.
Using the union type for Lisp_Objects.
Compiling in extra code for debugging.
------------------------------------------------------------------------
and finally ran make.
The build process failed while linking temacs, this is the offending
command that make gave to the system, with the corresponding output:
------------------------------------------------------------------------
gcc -nostdlib -L/usr/X11R6/lib -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 debug.o filelock.o unexelf.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 getloadavg.o inline.o linuxplay.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 balloon_help.o balloon-x.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
ralloc.o EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o
EmacsManager.o ExternalShell.o extw-Xt-nonshared.o extw-Xlib-nonshared.o
../lwlib/liblw.a -lXaw -ltiff -lpng -ljpeg -lz -lcompface -lXpm -lXmu -lXt
-lXext -lX11 -lSM -lICE -ldb -lgpm -lncurses -lm -lgcc -lc -lgcc
/usr/lib/crtn.o `gcc -print-libgcc-file-name`
sysdll.o: In function `dll_open':
/home/jim/src/xemacs/src/sysdll.c:59: undefined reference to `dlopen'
sysdll.o: In function `dll_close':
/home/jim/src/xemacs/src/sysdll.c:65: undefined reference to `dlclose'
sysdll.o: In function `dll_function':
/home/jim/src/xemacs/src/sysdll.c:77: undefined reference to `dlsym'
sysdll.o: In function `dll_variable':
/home/jim/src/xemacs/src/sysdll.c:89: undefined reference to `dlsym'
collect2: ld returned 1 exit status
make: *** [temacs] Error 1
------------------------------------------------------------------------
my 1st course of action was adding -ldl to the list of libraries
$(ld_libs_all) in src/Makefile, but this did not work (why? i did not
investigate)
to get through, i pasted the offending command at the bash prompt,
inserted somewhere " -ldl" and built temacs. then, i restarted make
from the top level
i got a glitch when (re?)building the "finder database", a missing
file of sort,
------------------------------------------------------------------------
Building finder database ...
xemacs exiting.Opening input file: No such file or directory,
/home/jim/src/xemacs/lisp/.#finder-inf.el
make: *** [lisp/finder-inf.el] Error 255
------------------------------------------------------------------------
incidentally, from top i did: grep '#finder' `find .`
but the string #finder was nowhere in the sources...
hoping it was not a serious problem, i did a make -k.
i had no other problems, and i have a working xemacs (i have finally
seen the gutter! mhh... maybe it looks better on windows!)