fiz como vc indicou no gd... ficou a mesma configuração..
Support for PNG library: yes
Support for JPEG library: yes
Support for Freetype 2.x library: no
Support for Fontconfig library: no
Support for Xpm library: no
Support for pthreads: yes
---
Ai vou no php-4.3.10 e dou o seguinte configure..
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-gd=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-zlib-dir=/usr --without-freetype --without-xpm
--
Ai me passa o seguinte erro..
checking for GD support... yes
checking for the location of libjpeg... /usr
checking for the location of libpng... /usr
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... no
checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for png_write_image in -lpng... (cached) yes
If configure fails try --with-xpm-dir=<DIR>
If configure fails try --with-freetype-dir=<DIR>
configure: error: Unable to find gd.h anywhere under /usr
.---
e quando dou...
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-gd=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-zlib-dir=/usr --with-freetype-dir=/usr --with-xpm-dir=/usr
ele me mostra..
checking for GD support... yes
checking for the location of libjpeg... /usr
checking for the location of libpng... /usr
checking for the location of libXpm... /usr
checking for FreeType 1.x support... no
checking for FreeType 2... /usr
checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for png_write_image in -lpng... (cached) yes
checking for XpmFreeXpmImage in -lXpm... no
configure: error: Problem with libXpm.(a|so) or libX11.(a|so). Please check config.log for more information.
--
ja instalei o pacotes libXpm-4.3.99.903-5.i386.rpm, copiei tudo que tinha em xpm-3.4k-linux.tgz para os devidos cantos e por ultimo tentei compilar o pacote xpm-3.4g mais da um erro..
[root@server xpm-3.4g]# imake
Imakefile.c:34: Imake.tmpl: Arquivo ou diretório não encontrado
imake: Exit code 1.
Stop.
[root@server xpm-3.4g]#
O que eu faço meu povo?!?!?!