Subject: Re: libXpm compile errors
To: Colin Wood <cwood@ichips.intel.com>
From: David Brownlee <abs@anim.dreamworks.com>
List: port-mac68k
Date: 01/10/1998 06:41:14
	Have you tried using the NetBSD package system?

	It makes building supported packages very easy (libxpm is just one
	such package).

        Download /pub/NetBSD/NetBSD-current/tar_files/pkgsrc.tar.gz,
        extract into /usr/src, then cd into subdirectories & type make
         then make install",

	Full docs are available at:
	http://www.netbsd.org/Documentation/netbsd/Packages.txt

		David/absolute

	   _/  Do not go gentle into that good night  \_
	  /  Rage, rage against the dying of the light  \

On Sat, 10 Jan 1998, Colin Wood wrote:

> Amitai Schlair wrote:
> > 
> > I tried compiling libXpm (found it at www.plig.org/xwinman/, in the 
> > fvwm95 section) on NetBSD 1.3, but I keep running into 'missing file' 
> > errors. Here's the result of my attempt to compile using the second 
> > (non-Imake) method in the INSTALL file:
> > 
> > ----
> > 
> > % make -f Makefile.noX
> > making all in ./lib...
> > + mkdir ../X11
> > rm -f ../X11/xpm.h;  ln -s ../lib/xpm.h ../X11
> > cc -O -DZPIPE  -c data.c
> > In file included from xpmP.h:43,
> >                  from data.c:41:
> > xpm.h:72: X11/Xlib.h: No such file or directory
> > xpm.h:73: X11/Xutil.h: No such file or directory
> > *** Error code 1
> 
> Looks like your Makefile.noX is broken or something like that.  I'd assume
> that noX means no X, but apparently not for this one :-)  The README file
> says that the Makefile isn't ready for production without some editing
> first, anyway.
> 
> > I got similar errors about missing files when using Imake. Any ideas how 
> > to fix this?
> 
> Do you have X installed?  Where do you have it installed?  Did you do an 
> 
> xmkmf -a
> 
> ???  What version of the XPM package is this?  I seem to remember it
> compiling out of the box for me....
> 
> Later.
> 
> -- 
> Colin Wood                                 cwood@ichips.intel.com
> Component Design Engineer - MD6                 Intel Corporation
> -----------------------------------------------------------------
> I speak only on my own behalf, not for my employer.
>