gnupic@linuxhacker.org

gnupic@linuxhacker.org


Subject: Re: popt
From: Martin McCormick
Date: Sat, 25 Oct 2003 21:09:11 -0500

	There turned out to be a -dev directory named popd which
deposited a popt.h header in the right place when I installed it.

	One other thing I discovered is that it is best to delete the
gpsim-0.20.14 directory and untar it again to start fresh.  I did a
make clean and re-ran configure, but I kept getting the popt.h error
until I started over.

	I ran in to a similar problem with a header called gtk.h which
was fixed by downloading yet another -dev directory in the gtk
libraries.

	Just about the time I thought I had it figured out, I got this:

c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1
 .2 -I/usr/lib/glib/include -g -O2 
 -c gpsim_modules.cc  -fPIC -DPIC -o .libs/gpsim_modules.lo
In file included from gpsim_modules.cc:51:
paraface.h:30: gtk/gtk.h: No such file or directory
make[2]: *** [gpsim_modules.lo] Error 1
make[2]: Leaving directory `/usr/local/src/gpsim-0.20.14/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/gpsim-0.20.14'
make: *** [all-recursive-am] Error 2

	And that was that.  I installed and then de-installed every
library I could find that had gtk-dev in its name, but I never saw
paraface.h show up anywhere.  Has anybody got an idea where this might
be?  I am sure it is somewhere in all those libraries, but this needle
is the exact color of hay.:-)

Martin McCormick

gnupic@linuxhacker.org