[X-Unix] PHP 4.3.6 Compile

Eugene Lee list-themacintoshguy at fsck.net
Mon Apr 19 21:42:17 PDT 2004


On Mon, Apr 19, 2004 at 10:06:46PM -0500, Craig Hoffman wrote:
: 
: I am trying to recompile PHP 4.3.6 with GD support.  I have installed 
: libjpeg, libpng, and libtiff with Fink.  Fink place all this stuff in 
: the /sw directory.  Every time I run
: ./configure I get this:
: 
: configure: error: libjpeg.(a|so) not found.
: 
: Here is my configure:
: 
: ./configure --with-zlib-dir=/usr/local/ --with-jpeg-dir=/sw  
: --with-png-dir=/sw --with-tiff-dir=/sw --with-gd 
: --with-mysql=/usr/local/mysql --with-xml --with-pdflib=/sw --enable-ftp 
: --enable-ldap --with-freetype-dir=/sw --with-curl=/sw -enable-calendar 
: --with-expat-dir=/sw --enable-mime-magic --disable-debug --enable-pic 
: --enable-sysvsem --enable-sysvshm  --enable-exif --with-gettext 
: --with-ncurses -with-dom --with-apxs=/usr/sbin/apxs
: 
: What' s interesting is this:
: checking for GD support... yes
: checking for the location of libjpeg... /sw
: checking for the location of libpng... /sw
: checking for the location of libXpm... no
: 
: Anyone have idea why this is happening or what I am doing wrong?

What does this command report?

	$ ls -l /sw/lib/libjpeg*


-- 
Eugene Lee
http://www.coxar.pwp.blueyonder.co.uk/



More information about the X-Unix mailing list