Solaris Build Issues
Gyles Harvey (gyles@nortelnetworks.com)
Tue, 09 Oct 2001 10:40:24 +0100
I was hopeful when I saw that solaris fixes were in 1.8.10, but my
"problems" remain. I'll list what I have to do to get a build, and
perhaps you can see if these are OK to include without breaking other
platforms...
./configure <paths etc.> --disable-staticlibs --with-xpm --with-jpeg
--with-png
I want --disable-staticlibs so aterm et.al can use the shared libraries.
To make this build I need to:
edit autoconf/Makefile.common.lib.in:
- use ld -G, not gcc
OR remove "-Wl,-soname,$(DYNPROG).$(LIBVERMAJOR)"
(It seems to pass 2 output filenames to ld)
- use ln -f -s not ln -sf
(solaris ln doesn't accept this)
then edit autoconf/Makefile.defines.in:
- LIB_AFTERSTEP = -L../../lib -lafterstep
- LIB_ASIMAGE = -L../../asimagelib -lasimage
- LIB_WIDGETS = -L../Script/Widgets -lWidgets
- LIB_ASCONFIG = -L../Config -lasConfig
and finally edit autoconf/Makefile.common.in:
- remove $(LIBS_DEPEND) from $(PROG): as these are now -l parameters
This gives me:
:ldd afterstep
libasimage.so => <path>/libasimage.so
libafterstep.so => <path>/libafterstep.so
libjpeg.so.62 => <path>/libjpeg.so.62
libpng.so.2 => <path>/libpng.so.2
libz.so.1.1.3 => <path>/libz.so.1.1.3
libm.so.1 => /usr/lib/libm.so.1
libXext.so.0 => /usr/openwin/lib/libXext.so.0
libX11.so.4 => /usr/openwin/lib/libX11.so.4
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libSM.so.6 => /usr/openwin/lib/libSM.so.6
libICE.so.6 => /usr/openwin/lib/libICE.so.6
libXpm.so.4.10 => /u/gyles/bin/lib/libXpm.so.4.10
libc.so.1 => /usr/lib/libc.so.1
libucb.so.1 => /usr/ucblib/libucb.so.1
libresolv.so.2 => /usr/lib/libresolv.so.2
libelf.so.1 => /usr/lib/libelf.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
Finally I note that 'make distclean' does not remove *.so, but 'make
clean' does. I suspect both should.
Thanks,
Gyles.
_______________________________________________
The AfterStep Window Manager for X User's Mailing List
http://mail.afterstep.org/mailman/listinfo/as-users