Subject: XmHTML and Solaris and pkgsrc
To: mellon@isc.org, <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 12/16/2004 16:35:24
Building pkgsrc/x11/XmHTML failed under pkgsrc for me do to some missing
libraries. It was an easy workaround:
LDFLAGS.SunOS+= -lsocket -lnsl
But the build / install failed later:
gcc -o example_1 -L/usr/dt/lib -Wl,-R/usr/dt/lib -lsocket -lnsl
-L/usr/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.4
-Wl,-R/usr/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.4
-L/usr/pkg/gcc3/lib -Wl,-R/usr/pkg/gcc3/lib -L/usr/pkg/lib
-Wl,-R/usr/pkg/lib -L/usr/openwin/lib -Wl,-R/usr/openwin/lib example_1.o
../lib/libXmHTML.la -L/usr/openwin/lib -Wl,-R/usr/dt/lib -L/usr/dt/lib
-lXm -lXp -lXpm -lXmu
-lXt -lXext -lX11 -lSM -lICE -ljpeg -lpng -lz -lm
gcc: ../lib/libXmHTML.la: No such file or directory
make[1]: *** [example_1] Error 1
...
===> Becoming root to install XmHTML.
/usr/pkg/bin/sudo libtool /usr/ucb/install -c -o root -g root -m 444
/usr/local/pkgwork/x11/XmHTML/work/XmHTML-1.1.7/lib/libXmHTML.la
/usr/pkg/lib
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
libtool: install:
`/usr/local/pkgwork/x11/XmHTML/work/XmHTML-1.1.7/lib/libXmHTML.la' is not
a valid libtool archive
Try `libtool --help --mode=install' for more information.
*** Error code 1
I do not have
/usr/local/pkgwork/x11/XmHTML/work/XmHTML-1.1.7/lib/libXmHTML.la
I will need to look at this later, but am posting here to see if anyone
has any ideas.
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/