Re: FVWM: trouble building fvwm-2.2.4 with xpm

From: Drew Lebauer <asl_at_evolving.com>
Date: Mon, 31 Jan 2000 15:13:38 -0700

Ah. Thanks, That does it. Well, actually I haven't built yet, but the summary reported at the end of running configure does seem to find the xpm now. Thanks.

"Paul D. Smith" wrote:

> %% 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.

--
  ) *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
 (  | Drew Lebauer | Phone: (303) 802-1416 | Fax: (303) 802-1420
  ) | Evolving Systems, Inc.  |  mailto:Drew.Lebauer_at_evolving.com
c[] *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
    Nothing is impossible; it is merely improbable.
--
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 - 16:15:37 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:50 BST