PHP configure
| From: | Thomas Holton | Date: | Tue, 21 Nov 2000 19:17:02 +0000 |
| Subject: | PHP configure | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-26494@lists.php.net to get a copy of this message | ||
Hello, well, i did reinstall GD, and still it cannot finish with building
GD during PHP make. What i dont understand is that it seems to be looking
for routines that it itself should have.
---> What is especially interesting about these error messages is that
PHP is looking for GIF routines, which the newest GD does not have due to
copyright problems, or something, and GD only works with PNG now. Why is
PHP demanding GIF routines? I dont remember this problem the first time i
installed GD, but it must have been there since both GD and php sources
are the same.
Any ideas are greatly appreciated!
this is the configure line i used:
./configure --with-apache=../apache_1.3.12 --enable-track-vars
--with-imap=/usr/local/src/imap-4.7 --with-mysql=/usr/local/mysql
--with-gd=/usr/local/src/gd-1.8.3
and this is the result of make:
Making all in ext
make[1]: Entering directory `/usr/local/src/php-4.0.3pl1/ext'
Making all in gd
make[2]: Entering directory `/usr/local/src/php-4.0.3pl1/ext/gd'
make[3]: Entering directory `/usr/local/src/php-4.0.3pl1/ext/gd'
gcc -I. -I/usr/local/src/php-4.0.3pl1/ext/gd
-I/usr/local/src/php-4.0.3pl1 -I/usr/local/src/php-4.0.3pl1/main
-I/usr/local/src/apache_1.3.12/src/include
-I/usr/local/src/apache_1.3.12/src/os/unix
-I/usr/local/src/php-4.0.3pl1/Zend -I/usr/local/src/php-4.0.3pl1
-I/usr/include/freetype -I/usr/local/src/gd-1.8.3
-I/usr/local/src/imap-4.7/c-client -I/usr/local/mysql/include
-I/usr/local/src/php-4.0.3pl1/ext/xml/expat/xmltok
-I/usr/local/src/php-4.0.3pl1/ext/xml/expat/xmlparse
-I/usr/local/src/php-4.0.3pl1/TSRM -DXML_BYTE_ORDER=12 -g -O2 -c gd.c &&
touch gd.lo
gd.c: In function `php_if_imagecreatefromgif':
gd.c:552: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:552: (Each undeclared identifier is reported only once
gd.c:552: for each function it appears in.)
gd.c: In function `php_if_imagegif':
gd.c:709: `gdImageGif' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.0.3pl1/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.0.3pl1/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.3pl1/ext'
make: *** [all-recursive] Error 1
-------------