Olá pessoal,

Estou tendo problemas na compilação do PHP5.  Preciso compilar com suporte a
GD (biblioteca para imagens) porém está me dando um erro.

Já compilei as seguintes bibliotecas:
libjpeg
gd
freetype
libpng

Estou compilando da seguinte forma:
./configure --enable-pear --enable-calendar --enable-ftp
--enable-sqlite-utf8 --enable-libxml --enable-discard-path
--enable-safe-mode --enable-bcmath --enable-ctype  --enable-dbase
--enable-gd-native-ttf --enable-trans-sid --enable-shmop --enable-sockets
--enable-sysvsem --enable-sysvshm --enable-yp --enable-memory-limit
--enable-shared --enable-debug --enable-track-vars
--with-pgsql=/usr/sql-bench/ --with-apxs2=/usr/bin/apxs --with-openssl
--sysconfdir=/etc --with-config-file-path=/etc/apache2 --with-bz2 --with-pic
--with-db3 --with-iconv --with-mysql=/usr/mysql-test/
--with-mysqli=/usr/bin/mysql_config --with-zlib --with-tsrm-pthreads
--with-regex=php --with-gettext=shared,/usr --with-gd=/usr/lib --with-jpeg
--with-freetype-dir=/usr/lib --with-gmp --with-snmp --enable-ucd-snmp-hack

ERRO:
checking for GD support... yes
checking for the location of libjpeg... no
checking for the location of libpng... no
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... /usr/lib
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
If configure fails try --with-jpeg-dir=<DIR>
If configure fails try --with-png-dir=<DIR> and --with-zlib-dir=<DIR>
If configure fails try --with-xpm-dir=<DIR>
checking for FT_New_Face in -lfreetype... yes
configure: error: Unable to find gd.h anywhere under /usr/lib

--~--~---------~--~----~------------~-------~--~----~
GUS-BR - Grupo de Usuários de Slackware Brasil
http://www.slackwarebrasil.org/
http://groups.google.com/group/slack-users-br
-~----------~----~----~----~------~----~------~--~---

Responder a