%% Drew Lebauer <asl_at_evolving.com> writes:
dl> Ok, below is the extract from my config.log file:
>> configure:4384: checking for XpmReadFileToXpmImage in -lXpm
>> configure:4403: cc -o conftest -g -R/u/asl/opt/usr/openwin/lib conftest.c -lXpm -L/u/asl/opt/usr/openwin/lib -lXpm -L/usr/openwin/lib -R/usr/openwin/lib -lSM -lICE -lX11 -lsocket -lnsl 1>&5
>> ld: fatal: library -lXpm: not found
Weird; your link line has two -lXpm's. The first one is before the
-L/u/asl/opt/usr/openwin/lib, so, it's not looking there for libXpm and
so it's not finding it, and it quits right there.
I vaguely recall this is a bug in the 2.2.x configure, where it puts
things in the wrong order during the test. I'm pretty sure this is
fixed in the 2.3.x development sources.
Change your configure invocation to put both the -R and the -L in
LDFLAGS:
$ LDFLAGS="-L/u/asl/opt/usr/openwin/lib -R/u/asl/opt/usr/openwin/lib" ./configure --with-xpm-library=/u/asl/opt/usr/openwin/lib --with-xpm-includes=/u/asl/opt/usr/openwin/include/X11 --prefix=/u/asl --enable-extras
and see if that helps.
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith_at_baynetworks.com> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions---Nortel Networks takes no responsibility for them.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Jan 31 2000 - 15:58:16 GMT