Re: FVWM: Newbie question

From: Paul D. Smith <pausmith_at_nortelnetworks.com>
Date: 01 Jun 2000 15:13:49 -0400

%% "Dave (Grizz) Glaser" <dsglaser_at_mtu.edu> writes:

>> Hmm, does a binary package come with header files?
>> There should be a file named
>> /usr/dept/xpm/X11/xpm.h around.

  dg> it is in /usr/dept/xpm/include/X11/xpm.h

Then you need to set --with-xpm-includes=/usr/dept/xpm/include, not just
/usr/dept/xpm.

>> You need to tell us what error message you got.

  dg> Here is the error message(s) from config.cache

I assume you mean config.log here.

  dg> configure:4384: checking for XpmReadFileToXpmImage in -lXpm
  dg> configure:4403: gcc -o conftest -g -O2 -R/usr/dept/xpm conftest.c -lXpm -lXpm
  dg> -lSM -lICE -lX11 -lsocket -lnsl 1>&5
  dg> ld: fatal: file /usr/dept/R6/lib/libXpm.a: unknown type, unable to process using elf(3E) libraries

It's failing because it's finding /usr/dept/R6/lib/libXpm.a instead of
/usr/dep/xpm/libXpm.a; presumably the one in /usr/dept/R6/lib isn't
correct for the architecture you're using.

I suggest changing the LDFLAGS setting to include both the -L and -R
options.

In summary, try this:

  $ LDFLAGS='-L/usr/dept/xpm -R/usr/dept/xpm' ./configure --with-xpm-includes=/usr/dept/xpm/include --with-xpm-library=/usr/dept/xpm

If that doesn't work, send the errors. Also verify that libXpm.a is
indeed in /usr/dept/xpm, and not in /usr/dept/xpm/lib or somesuch.

-- 
-------------------------------------------------------------------------------
 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 Thu Jun 01 2000 - 14:14:17 BST

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