Solaris Build Issues

Gyles Harvey (
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

./configure <paths etc.> --disable-staticlibs --with-xpm --with-jpeg

I want --disable-staticlibs so aterm can use the shared libraries.

To make this build I need to:

edit autoconf/
   - 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/
   - 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/
   - remove $(LIBS_DEPEND) from $(PROG): as these are now -l parameters

This gives me:

:ldd afterstep =>         <path>/ =>       <path>/ =>         <path>/ =>   <path>/ =>         <path>/ =>     /usr/lib/ =>  /usr/openwin/lib/ =>   /usr/openwin/lib/ =>        /usr/lib/ =>   /usr/lib/ =>    /usr/openwin/lib/ =>   /usr/openwin/lib/ =>        /u/gyles/bin/lib/ =>     /usr/lib/ =>   /usr/ucblib/ =>        /usr/lib/ =>   /usr/lib/ =>    /usr/lib/ =>    /usr/lib/

Finally I note that 'make distclean' does not remove *.so, but 'make
clean' does. I suspect both should.


The AfterStep Window Manager for X User's Mailing List