Re: FVWM: trouble building fvwm-2.2.4 with xpm

From: Paul D. Smith <pausmith_at_nortelnetworks.com>
Date: 31 Jan 2000 13:11:38 -0500

%% Drew Lebauer <asl_at_evolving.com> writes:

  dl> I just pulled down and successfully built (making both static and
  dl> shared libraries) xpm 3.4k. It is installed in
  dl> /u/asl/opt/usr/openwin (/bin include include/X11 include/X11/X11
  dl> and /lib). When I run configure it can't find the xpm stuff. It
  dl> says:

>> Have XPM support? no: Xpm library or header not found!

Which one wasn't found? Look back up through the output.

  dl> I'm on an ultra-sparc running SunOS 5.6 (== solaris 2.6). This is
  dl> a box where I cannot become root or install anywhere except under
  dl> my home directory (/u/asl).

There's no need to emulate the whole /usr/openwin path under your
directory (if you don't want to). You could just as easily use
/u/asl/xpm/lib, /u/asl/xpm/bin, etc.

  dl> I've tried the following command line:
  dl> ./configure --with-xpm-library=/u/asl/opt/usr/openwin/lib \
  dl> --with-xpm-includes=/u/asl/opt/usr/openwin/include/X11 --prefix=/u/asl
  dl> --enable-extras

I'll bet it's the header that wasn't found. By tradition, X headers are
#included in the code as <X11/xpm.h>. That means that whatever
directory you gave to --with-xpm-includes, the compiler will add
"/X11/xpm.h" to it to find the header. You gave
/u/asl/opt/usr/openwin/include/X11, so the compiler will be looking for
/u/asl/opt/usr/openwin/include/X11/X11/xpm.h (note two X11's). That
probably doesn't exist.

Change the configure line to use just
--with-xpm-includes=/u/asl/opt/usr/openwin/include and see if that works
any better.

-- 
-------------------------------------------------------------------------------
 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 - 12:16:16 GMT

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