Problem compiling libgd as selfcontained PHP-Extension
| From: | Markus Reuter | Date: | Fri, 16 May 2003 12:56:50 +0000 |
| Subject: | Problem compiling libgd as selfcontained PHP-Extension | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10917@lists.php.net to get a copy of this message | ||
Hello,
I'm trying to compile the php-gd-extension as selfcontained module to use it via dl() on the server of an provider who doesn't have gd-support compiled in. I copied the contents of ext/gd to another directory, executed phpize and ./configure produces following output:
:~/php_ext_selfcontained/gd # ./configure
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.
Before I'd compiled and installed libgd2.0.12 and I even tried different Versions of T1lib without any effect. I've tried it on SuSE 7.2, SuSE 8.1 and Debian 3.0r0. Would be great if anyone here could give me a hint.
Regards
Markus