plynchnlm(a)netscape.net writes:
OS: Solaris 2.8
Xemacs: 21.4.12
When I run configure with just:
./configure --prefix=/home/plynch/3rdparty
it works fine (except that it doesn't find the png and xpm libraries).
However, when I try to add in paths for those libraries via:
./configure --prefix=/home/plynch/3rdparty --site-includes=/proj/3rdparty/include
--site-libraries=/proj/3rdparty/lib --site-runtime-libraries=/proj/3rdparty/lib
Then I get a PANIC message. The last bit of the config.log looks like
this:
configure:15083: checking for _dlerror
configure:15109: gcc -o conftest -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes
-Wsign-compare -Wshadow -Wpointer-arith -I/proj/3rdparty/include -I/usr/dt/include
-I/usr/openwin/include -L/proj/3rdparty/lib -L/usr/ccs/lib -L/usr/dt/lib
-L/usr/openwin/lib -Xlinker -R/proj/3rdparty/lib conftest.c -lXm -ljpeg -lz -ltt
-lXmu -lXt -lXext -lX11 -lSM -lICE -lgdbm -lcurses /usr/demo/SOUND/lib/libaudio.a -lldap
-lm -lsocket -lnsl -lelf -lgen -ldl 1>&5
configure:15152: gcc -o conftest -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes
-Wsign-compare -Wshadow -Wpointer-arith -I/proj/3rdparty/include -I/usr/dt/include
-I/usr/openwin/include -L/proj/3rdparty/lib -L/usr/ccs/lib -L/usr/dt/lib
-L/usr/openwin/lib -Xlinker -R/proj/3rdparty/lib conftest.c -lXm -ljpeg -lz -ltt
-lXmu -lXt -lXext -lX11 -lSM -lICE -lgdbm -lcurses /usr/demo/SOUND/lib/libaudio.a -lldap
-lm -lsocket -lnsl -lelf -lgen -ldl 1>&5
ld.so.1: ./conftest: fatal: libtt.so.2: open failed: No such file or directory
Killed
The odd thing is that the library it is complaining about, libtt.so.2, is available under
two of the -L paths:
> file /usr/openwin/lib/libtt.so.2
/usr/openwin/lib/libtt.so.2: ELF 32-bit MSB dynamic lib SPARC Version 1, dynamically
linked, not stripped
> file /usr/dt/lib/libtt.so.2
/usr/dt/lib/libtt.so.2: ELF 32-bit MSB dynamic lib SPARC Version 1, dynamically linked,
not stripped
(The second one is a softlink to the first.)
So I don't understand why it can't find it.
Have people successfully built this version on Solaris 2.8 with png and
xpm support?
Yes. Here are the contents of my Installation file:
uname -a: SunOS denver 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-5_10 Solaris
../../../src/xemacs-21.4-2003-02-03/configure
'--prefix=/u/shelton2/software/SunOS-5.8/xemacs-21.4-2003-02-03'
'--site-includes=/u/shelton2/software/SunOS-5.8/include'
'--site-libraries=/u/shelton2/software/SunOS-5.8/lib'
'--infopath=/u/shelton2/software/info' '--with-mule=no'
'--compiler=/opt/SUNWspro/bin/cc' '--cflags=-xO4 -dalign'
'--with-dialogs=no' '--with-widgets=no'
'--package-path=/u/shelton2/software/site-packages::/u/shelton2/software/xemacs-packages'
'--pdump=no' '--debug=no' '--error-checking=none'
XEmacs 21.4.12 "Portable Code" configured for `sparc-sun-solaris2.8'.
Compilation / Installation:
Source code location: /u/shelton2/software/src/xemacs-21.4-2003-02-03
Installation prefix:
/u/shelton2/software/SunOS-5.8/xemacs-21.4-2003-02-03
Additional header files: /u/shelton2/software/SunOS-5.8/include
Additional libraries: /u/shelton2/software/SunOS-5.8/lib
Runtime library search path:
/u/shelton2/software/SunOS-5.8/lib:/usr/dt/lib:/usr/openwin/lib
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: /opt/SUNWspro/bin/cc -xO4 -dalign
Relocating allocator for buffers: yes
GNU version of malloc: yes
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/dt/include /usr/openwin/include
- X Windows libraries location: /usr/dt/lib /usr/openwin/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
TTY:
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for DBM.
Compiling in support for LDAP.
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for ToolTalk.
Compiling in support for dynamic shared object modules.
And here are the relevant parts of my config.log file:
configure:15083: checking for dlerror
configure:15109: /opt/SUNWspro/bin/cc -o conftest -xO4 -dalign
-I/u/shelton2/software/SunOS-5.8/include -I/usr/dt/include -I/usr/openwin/include
-L/u/shelton2/software/SunOS-5.8/lib -xildoff -L/usr/ccs/lib -L/usr/dt/lib
-L/usr/openwin/lib -R/u/shelton2/software/SunOS-5.8/lib:/usr/dt/lib:/usr/openwin/lib
conftest.c -ltiff -lpng -ljpeg -lz -lXpm -ltt -lXmu -lXt -lXext -lX11 -lSM -lICE
-lcurses /usr/demo/SOUND/lib/libaudio.a -lldap -lm -lsocket -lnsl -lelf -lgen -ldl
1>&5
configure:15083: checking for _dlerror
configure:15109: /opt/SUNWspro/bin/cc -o conftest -xO4 -dalign
-I/u/shelton2/software/SunOS-5.8/include -I/usr/dt/include -I/usr/openwin/include
-L/u/shelton2/software/SunOS-5.8/lib -xildoff -L/usr/ccs/lib -L/usr/dt/lib
-L/usr/openwin/lib -R/u/shelton2/software/SunOS-5.8/lib:/usr/dt/lib:/usr/openwin/lib
conftest.c -ltiff -lpng -ljpeg -lz -lXpm -ltt -lXmu -lXt -lXext -lX11 -lSM -lICE
-lcurses /usr/demo/SOUND/lib/libaudio.a -lldap -lm -lsocket -lnsl -lelf -lgen -ldl
1>&5
configure:15152: /opt/SUNWspro/bin/cc -o conftest -xO4 -dalign
-I/u/shelton2/software/SunOS-5.8/include -I/usr/dt/include -I/usr/openwin/include
-L/u/shelton2/software/SunOS-5.8/lib -xildoff -L/usr/ccs/lib -L/usr/dt/lib
-L/usr/openwin/lib -R/u/shelton2/software/SunOS-5.8/lib:/usr/dt/lib:/usr/openwin/lib
conftest.c -ltiff -lpng -ljpeg -lz -lXpm -ltt -lXmu -lXt -lXext -lX11 -lSM -lICE
-lcurses /usr/demo/SOUND/lib/libaudio.a -lldap -lm -lsocket -lnsl -lelf -lgen -ldl
1>&5
Notice that my link line includes this:
-R/u/shelton2/software/SunOS-5.8/lib:/usr/dt/lib:/usr/openwin/lib
and that my installation reports:
/u/shelton2/software/SunOS-5.8/lib:/usr/dt/lib:/usr/openwin/lib
as the runtime library search path. Maybe you should remove
--site-runtime-libraries from your configure invocation. I think
configure will figure that out on its own.
HTH,
Vin