RE: [PHP] GD problems
| From: | Beauford | Date: | Tue, 20 Jun 2006 01:40:04 +0000 |
| Subject: | RE: [PHP] GD problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-238366@lists.php.net to get a copy of this message | ||
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@gmail.com]
Sent: June 19, 2006 9:10 PM
To: Beauford
Cc: php-general@lists.php.net
Subject: Re: [PHP] 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/