Trying to reinstall PHP with GD, requires a few extra modules which I have installed.
This is the error I receive when I use:-
./configure --prefix=/webdocs/php --with-mysql=/usr/local/mysql --with-apxs=/webdocs/httpd/bin/apxs --with-gd=/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris --with-zlib-dir=/usr/local/include --with-jpeg-dir=/usr/local/src/jpeg-6b
checking whether to include GD support... yes
checking whether to enable truetype string function in gd... no
checking for the location of libjpeg... yes
checking for jpeg_read_header in -ljpeg... yes
checking for the location of libpng... no
If configure fails try --with-png-dir=<DIR> and --with-zlib-dir=<DIR>
checking for the location of libXpm... no
If configure fails try --with-xpm-dir=<DIR>
checking for freetype(2)... no
If configure fails try --with-freetype-dir=<DIR>
checking whether to include include FreeType 1.x support... no
checking whether to include T1lib support... no
configure: error: Unable to find libgd.(a|so) anywhere under /usr/local/src/jpeg-6b
Also using the extra libpng option: -
./configure --prefix=/webdocs/php --with-mysql=/usr/local/mysql --with-apxs=/webdocs/httpd/bin/apxs --with-gd=/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris --with-png-dir=/usr/local/lib --with-zlib-dir=/usr/local/include --with-jpeg-dir=/usr/local/src/jpeg-6b
Same error different location
checking whether to include GD support... yes
checking whether to enable truetype string function in gd... no
checking for the location of libjpeg... yes
checking for jpeg_read_header in -ljpeg... yes
checking for the location of libpng... yes
checking for png_info_init in -lpng... yes
checking for the location of libXpm... no
If configure fails try --with-xpm-dir=<DIR>
checking for freetype(2)... no
If configure fails try --with-freetype-dir=<DIR>
checking whether to include include FreeType 1.x support... no
checking whether to include T1lib support... no
configure: error: Unable to find libgd.(a|so) anywhere under /usr/local/lib
The thing is that I have the libgd.a file contained in both error directories. Can anyone shed any light on this. Thanks.