Beauford wrote: > Thanks for the reply, but what are these for then - libpng and libjpeg? No > where does it say I need anything else. I have searched and searched for > information on installing this and never have I seen anything about -devel > packages. Even in the link I gave it says nothing about this. I've just > spent the last hour searching for these packages and can't even come close > to finding anything - all I get is the ones I've already installed, which > I'm thinking are one and the same - and they say Windows is bad. It only > took me 5 minutes in Windows to get this working. As you can see I'm way > pass frustrated. > > Thanks again > > -----Original Message----- > From: Chris [mailto:dmagick@xxxxxxxxx] > Sent: June 19, 2006 9:10 PM > To: Beauford > Cc: php-general@xxxxxxxxxxxxx > Subject: Re: GD problems > > Beauford wrote: >> Hi again, >> >> I started again to see if I could get it to work. I first removed >> everything (libpng, libjpeg, zlib, and PHP). Then as before I followed >> the info in the link below. Now I get the following when I run make >> for PHP. Note also that I can not compile gd on it's own, I had to find a > Slackware package for it. >> Could this be the problem? Again, I have no idea what else to do as I >> have followed all the info I could find on how to get this to work. I >> have also included some info on gd below. >> >> Thanks >> >> /home/shared/php-5.0.0/ext/gd/libgd/gd_jpeg.c -o >> ext/gd/libgd/gd_jpeg.o && echo > ext/gd/libgd/gd_jpeg.lo >> /home/shared/php-5.0.0/ext/gd/libgd/gd_jpeg.c:38:21: jpeglib.h: No >> such file or directory >> /home/shared/php-5.0.0/ext/gd/libgd/gd_jpeg.c:39:20: jerror.h: No such >> file or directory > > > You need the libjpeg-devel, libpng-devel and so on packages to compile > support for these into php. I don't know slackware, so they might be > called -dev or something, but you need the "dev" packages which contain > the header files. > > -- > Postgresql & php tutorials > http://www.designmagick.com/ Slackware installs these header files in /usr/include by default - you may need to add to your configure the following: --with-jpeg-dir=/usr --with-png-dir=/usr /var/log/packages contains files for each package you have installed - those files contain details of what was instaled where. GD should compile just fine on Slack - it does for me so you may be missing something iwhen you do configure for gd?? Cheers -- David Robley Funny, only sensible people agree with me. Today is Sweetmorn, the 25th day of Confusion in the YOLD 3172. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php