Trouble configuring 1.4.10

James LewisMoss jimdres@mindspring.com
16 Mar 2001 00:00:09 -0500


>>>>> On Thu, 15 Mar 2001 14:42:46 -0500, Paul Lussier <pll@mclinux.com> said:

 Paul> Hi all.

 Paul> Fighting with 1.4.10 here, and completely befuddled:


 Paul> 	./configure --prefix=/usr/local/misc/apps/gnucash .  .  .  .
 Paul> 	configure: error: Cannot find required Xpm library

 Paul> 	$ locate Xpm
 Paul> 	/usr/lib/perl5/5.005/i386-linux/Tk/pTk/tixImgXpm.h
 Paul> 	/usr/lib/perl5/5.005/i386-linux/Tk/pTk/tixImgXpm.m
 Paul> 	/usr/lib/perl5/5.005/i386-linux/Tk/pTk/tixImgXpm.t
 Paul> 	/usr/lib/perl5/5.005/i386-linux/Tk/pTk/tixImgXpm_f.h
 Paul> 	/usr/lib/python1.5/site-packages/PIL/XpmImagePlugin.py
 Paul> 	/usr/lib/python1.5/site-packages/PIL/XpmImagePlugin.pyc
 Paul> 	/usr/lib/python1.5/site-packages/PIL/XpmImagePlugin.pyo
 Paul> 	/usr/X11R6/lib/libXpm.so.4 /usr/X11R6/lib/libXpm.so.4.11

 Paul> 	$ dpkg -S /usr/X11R6/lib/libXpm.so.4 xpm4g:
 Paul> 	/usr/X11R6/lib/libXpm.so.4 $ dpkg -L xpm4g .  .
 Paul> 	/usr/X11R6/lib/libXpm.so.4.11 /usr/X11R6/lib/libXpm.so.4 .  .
 Paul> 	$ ldconfig -v | grep Xpm
 Paul>         libXpm.so.4 -> libXpm.so.4.11

 Paul> So, everything seems to tell me that Xpm is installed, and that
 Paul> ldconfig can find it, so why can't configure?

 Paul> Any ideas?  Thanks.

Install the xpm4g-dev package.  You need a /usr/X11R6/lib/libXpm.so
file to link to.

Just for future reference.  When a program links it needs either a
lib*.so or a lib*.a file to link to.  The lib*.so.number files are
just runtime (not compile time) libraries.

Jim

-- 
@James LewisMoss <dres@debian.org>      |  Blessed Be!
@    http://jimdres.home.mindspring.com |  Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach