URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 19544
[ Назад ]

Исходное сообщение
"php-4.2.2, configure error"

Отправлено lucky , 09-Авг-02 17:59 
RH 6.2 пробую сьавить сабж из сырцов.(надо libgd с процедурой ImageCreateFromPhg)
./configure --with-gd --with-apsx --with-mysql --with-zlib-dir=/usr/lib --with-png-dir=/usr/lib
выдает -
------------------------------
checking for GD support... yes //поддержка вроди есть
checking whether to enable truetype string function in GD... no
checking for the location of libjpeg... no
If configure fails try --with-jpeg-dir=<DIR>
checking for the location of libpng... yes
checking for png_write_image 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 for FreeType 1.x support... no
checking for T1lib support... no
configure: error: Unable to find libgd.(a|so) anywhere under /usr/local /usr //в /usr/lib  - ЭТО есть
__________________________________

когда задаю --with-gd=/usr/lib
та же история

apache-1.3.22-5.6 ставил РПМ
Что делать????



Содержание

Сообщения в этом обсуждении
"RE: php-4.2.2, configure error"
Отправлено lavr , 09-Авг-02 18:24 
>RH 6.2 пробую сьавить сабж из сырцов.(надо libgd с процедурой ImageCreateFromPhg)
>./configure --with-gd --with-apsx --with-mysql --with-zlib-dir=/usr/lib --with-png-dir=/usr/lib
>выдает -
>------------------------------
>checking for GD support... yes //поддержка вроди есть
>checking whether to enable truetype string function in GD... no
>checking for the location of libjpeg... no
>If configure fails try --with-jpeg-dir=<DIR>
>checking for the location of libpng... yes
>checking for png_write_image 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 for FreeType 1.x support... no
>checking for T1lib support... no
>configure: error: Unable to find libgd.(a|so) anywhere under /usr/local /usr //в /usr/lib
> - ЭТО есть
>__________________________________
>
>когда задаю --with-gd=/usr/lib
>та же история
>
>apache-1.3.22-5.6 ставил РПМ
>Что делать????

смотреть config.log - на какую версию GD идет проверка и на поддержку
каких функций в GD идет проверка


"RE: php-4.2.2, configure error"
Отправлено lucky , 09-Авг-02 18:58 
>>RH 6.2 пробую сьавить сабж из сырцов.(надо libgd с процедурой ImageCreateFromPhg)

>смотреть config.log - на какую версию GD идет проверка и на поддержку
>
>каких функций в GD идет проверка


Вот вырезка с config.log

configure:23482: checking for the location of libpng
configure:23547: checking for png_write_image in -lpng
configure:23566: gcc -o conftest -g -O2
      -L/usr/lib -lz -L/usr/lib
      conftest.c -lpng  -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt 1>&5
???????????????
а информацию о функция не нашел


"RE: php-4.2.2, configure error"
Отправлено lavr , 09-Авг-02 22:14 
>>>RH 6.2 пробую сьавить сабж из сырцов.(надо libgd с процедурой ImageCreateFromPhg)
>
>>смотреть config.log - на какую версию GD идет проверка и на поддержку
>>
>>каких функций в GD идет проверка
>
>
>Вот вырезка с config.log
>
>configure:23482: checking for the location of libpng
>configure:23547: checking for png_write_image in -lpng
>configure:23566: gcc -o conftest -g -O2
>      -L/usr/lib -lz -L/usr/lib
>      conftest.c -lpng  -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt 1>&5
>???????????????
>а информацию о функция не нашел

печально