Colegas,
A mais de mês estou tentando instalar o php com supote ao gd2.
Sem o gd eu instalo beleza mais quando eu ativo a opção no configure é onde meus problemas começam. PHP-4.3.10
veja a linha que estou digitando:
./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/X11R6
VEJA O 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... /usr/X11R6
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 con
ig.log for more information.
----
sinceramente eu nao quero a opção de xpm pro php.. só quero o gd com jpeg e png mais ele nao vai sem que eu coloque todas as opções acima.. quando eu coloco --disable-xpm ele mostra:
checking for the location of libXpm... no
If configure fails try --with-xpm-dir=<DIR>
configure: error: freetype2 not found!
--
e ai nao vai!!
Alguem teria alguma dica pra me dar????? ja descompactei um arquivo xpm-3.4k-linux que achei na net e copiei os arquivos para os devidos cantos e nada de da certo.
Alguma dica... cancei de apanhar