Problems compiling php_gd.so as selfcontained Module
| From: | Markus Reuter | Date: | Tue, 13 May 2003 17:18:22 +0000 |
| Subject: | Problems compiling php_gd.so as selfcontained Module | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10915@lists.php.net to get a copy of this message | ||
Hello,
I've compiled libgd-2.0.12, patched php-4.2.3 with the libgd-patch and tried to compile libgd as selfcontained module to include it with dl() on a server which doesn't support the gd-extension. So I copied the content of ext/gd somewhere else and phpized it. When I now try to configure the extension it hangs at T1_LoadFont (if I do a configure in the php Directory theres no Probelm at this Point). I've tried it on 3 different Systems (SuSE 7.2, SuSE 8.1 and Debian 3.0r0) and same Problem everytime. Does somebody know how to solve this problem.
Thanks in advance
Markus
here's the output of configure:
~/php_ext_selfcontained/gd # ./configure --enable-static
loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM
checking for PHP extension directory... /usr/lib:/usr/local/lib/extensions/no-debug-non-zts-20020429
checking for GD support... yes, shared
checking whether to enable truetype string function in GD... yes, shared
checking for the location of libjpeg... yes, shared
checking for jpeg_read_header in -ljpeg... yes
checking for the location of libpng... yes, shared
checking for png_write_image in -lpng... yes
checking for the location of libXpm... yes, shared
checking for XpmFreeXpmImage in -lXpm... yes
checking for freetype(2)... yes, shared
checking for FreeType 1.x support... yes, shared
no - FreeType 2.x is to be used instead
checking for T1lib support... yes, shared
checking for T1_LoadFont in -lt1... no
configure: error: Problem with libt1.(a|so). Please check config.log for more information.