This is a discussion on PHP building with GD within the alt.comp.lang.php forums, part of the PHP Programming Forums category; I am trying to build PHP with GD (want to have coppermine gallery on my page, and had problems with ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am trying to build PHP with GD (want to have coppermine gallery on my
page, and had problems with ImageMagick), GD is installed/configured fine when I try to build PHP, it looks for a file (libgd.a) in the gd source dir (2.0.1) and doesn't find it. there is no file (libgd.a), but there is another file (libgd.la) ... configure reports the following: ================================================== ========================= checking for jpeg_read_header in -ljpeg... no configure:error: Problem with libjpeg.(a|so). Please check config.log for more information. ================================================== ========================= GD was configured with default settings. This is on FreeBSD 5.1-RELEASE Thank You. |
|
|||
|
you also need zlib and jpeglib installed
"none" <l337slavik@covad.net> wrote in message news:Xns9428E2F9E1Cslavik@64.62.191.94... > I am trying to build PHP with GD (want to have coppermine gallery on my > page, and had problems with ImageMagick), GD is installed/configured fine > when I try to build PHP, it looks for a file (libgd.a) in the gd source dir > (2.0.1) and doesn't find it. there is no file (libgd.a), but there is > another file (libgd.la) ... > > configure reports the following: > > ================================================== ========================= > checking for jpeg_read_header in -ljpeg... no > configure:error: Problem with libjpeg.(a|so). Please check config.log for > more information. > ================================================== ========================= > > GD was configured with default settings. This is on FreeBSD 5.1-RELEASE > > Thank You. |
|
|||
|
the directory where GD is (untarred) is /usr/gd-2.0.1
I used the how to at http://www.php.net/~rasmus/gd.html jpeglib? (jpeg 6b???) zlib is installed. when I configure GD, it finds EVERYTHING (jpeg, zlib, png, etc.) |