RE: Kernel patch


Subject: RE: Kernel patch
mhen1@home.com
Date: Wed Oct 24 2001 - 12:20:52 AKDT


Greetings...trying to configure xemacs-21.1.9 on my box (slackware
8.0/2.4.5 kernel)

Everything goes fine until:

checking for dlopen in -ldl... yes
checking how to build a shared library... lflags: -shared cflags: -fPIC
checking for dlerror... yes
 
*** PANIC *** The C compiler can no longer build working executables.
*** PANIC *** Please examine the tail of config.log for runtime errors.
*** PANIC *** The most likely reason for this problem is that configure
*** PANIC *** links with shared libraries, but those libraries cannot be
*** PANIC *** found at run time.
*** PANIC ***
*** PANIC *** On a Linux system, edit /etc/ld.so.conf and re-run ldconfig.
*** PANIC *** On other systems, try telling configure where to find the
*** PANIC *** shared libraries using the --site-runtime-libraries option
*** PANIC ***
*** PANIC *** Another way to shoot yourself in the foot is to specify
*** PANIC *** --with-FEATURE when FEATURE is not actually installed
*** PANIC *** on your system. Don't do that.

note: ld.so.conf in /etc contains:

/usr/local/lib
/usr/lib
/usr/X11R6/lib
/usr/i386-slackware-linux/lib
/opt/gnome/lib
/opt/kde/lib
/usr/openwin/lib
/lib
/usr/X11/lib

and a tail of the config.log gives the following:

bash-2.05# tail ./config.log
configure:11500: gcc -o conftest -g -O3 -Wall -Wno-switch -I/usr/X11/include -L/usr/X11/lib conftest.c -ldl
-lXm -ltiff -ljpeg -lz -lXmu -lXt -lXext -lX11 -lSM -lICE -lgpm -lncurses -lm -lshell32 -lgdi32 -luser32 -lcomctl32 -lgcc -lc -lgcc /usr/lib/crtn.o 1>&5
configure:11730: checking how to build a shared library
configure:11821: checking for dlerror
configure:11847: gcc -o conftest -g -O3 -Wall -Wno-switch -I/usr/X11/include -L/usr/X11/lib conftest.c -lXm -ltiff -ljpeg -lz -lXmu -lXt -lXext -lX11 -lSM -lICE -ldl -lgpm -lncurses -lm -lshell32 -lgdi32 -luser32 -lcomctl32 -lgcc -lc -lgcc /usr/lib/crtn.o 1>&5
configure:11887: gcc -o conftest -g -O3 -Wall -Wno-switch -I/usr/X11/include -L/usr/X11/lib conftest.c -lXm -ltiff -ljpeg -lz -lXmu -lXt -lXext -lX11 -lSM -lICE -ldl -lgpm -lncurses -lm -lshell32 -lgdi32 -luser32 -lcomctl32 -lgcc -lc -lgcc /usr/lib/crtn.o 1>&5
./configure: line 11910: 4667 Segmentation fault ./conftest
configure: failed program was:
#line 11883 "configure"
#include "confdefs.h"
int main(int c,char *v[]){return 0;}

HELP...I am over my head.....any specific and concrete directions
appreciated...Yes I know I can install the xemacs.tgz binary but I would
like to build this for my box....

Thanks ...

-- 
Father Ben ... Alaskan exile in South Dakota...



This archive was generated by hypermail 2a23 : Wed Oct 24 2001 - 12:21:07 AKDT