Re: FVWM: configure do not recognize xpm

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Mon, 5 Aug 2002 00:36:30 +0200

On Sun, Aug 04, 2002 at 09:49:39PM +0200, Sigmund Skjelnes wrote:
> Hello, all!
> I'd trying to get an fvwm 2.4.8 installed on an netbsd 1.5, but fvwm2 do
> not find the xpm. When I'd try to run the configure script, it comes up
> with "XPM support NO".

Is that the only output? No explanation of what went wrong? In
this case, compilation of the test program must have failed, but
there is no indication of this in the ouput below. Did you by any
chance overlook the error message

> An piece of config.log:
> <quote>
> configure:2560: checking for XpmReadFileToXpmImage in -lXpm
> configure:2579: gcc -o conftest -g -O2 conftest.c -lXpm
> -L/usr/local/xpm-3.4k/
> lib -lXpm -L/usr/X11R6/lib -lSM -lICE -lX11 1>&5
> configure:2623: checking for X11/xpm.h
> configure:2633: gcc -E -I/usr/local/xpm-3.4k/exports/include/X11
> -I/usr/X11R6/
> include conftest.c >/dev/null 2>conftest.out
> configure:2685: checking for Xpm 3.4g or better

> configure:2702: gcc -o conftest -g -O2
> -I/usr/local/xpm-3.4k/exports/include/X1
> 1 -I/usr/X11R6/include conftest.c -L/usr/local/xpm-3.4k/lib -lXpm
> -L/usr/X11
> R6/lib -lSM -lICE -lX11 1>&5
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Why is this line chopped into pieces?

<-- There should be an error message here!

> configure: failed program was:
> #line 2694 "configure"
> #include "confdefs.h"
> #include <X11/xpm.h>
> int main(int c, char **v) {
> return c == 1 ? 0 :
> XpmIncludeVersion != XpmLibraryVersion() ? 1 :
> XpmIncludeVersion < 30407 ? 2 : 0 ;}
> configure:2788: checking for rplay_create in -lrplay
>
> </quote>
> This looked like something were wrong in my xpm support. I checked
> version of the xpm, and it were xpm 3.4k. fvwm2 requires 3.4g, I'd
> assume this is OK. I'd like to check the xpm installation, I downloaded
> xpm from ftp.x.org, and installed it in a new directory, not to muck up
> the NetBSD package system. The configure script were given proper xpm
> options to find the xpm, but got the same negative result. Could xpm not
> be backwards compatible? Is there done anything in xpm 3.4k that make
> any program looking for xpm 3.4g fail?

3.4k is fine. Maybe you have multiple xpm versions on your system
that interfere with each other.

Bye

Dominik ^_^ ^_^

 --
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
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 Sun Aug 04 2002 - 17:35:39 BST

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