Subject: XmHTML and Solaris and pkgsrc
To:, <>
From: Jeremy C. Reed <>
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 -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/ -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/ 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
*** 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/' is not
a valid libtool archive
Try `libtool --help --mode=install' for more information.
*** Error code 1

I do not have

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