Bug #17474: Problems compiling PHP with GD2.0.1
| From: | paolo at i-dome dot com | Date: | Tue, 28 May 2002 08:43:53 +0000 |
| Subject: | Bug #17474: Problems compiling PHP with GD2.0.1 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-8728@lists.php.net to get a copy of this message | ||
From: paolo@i-dome.com
Operating system: Linux
PHP version: 4.2.1
PHP Bug Type: Compile Failure
Bug description: Problems compiling PHP with GD2.0.1
I have followed the indication of Rasmus on the page ~rasmus/gd.html but,
compiling php, have this problem:
gcc -I. -I/install/php-4.2.1/ext/gd -I/install/php-4.2.1/main
-I/install/php-4.2.1 -I/install/apache_1.3.14/src/include
-I/install/apache_1.3.14/src/os/unix -I/install/php-4.2.1/Zend
-I/usr/local/include -I/usr/local/include/freetype2/freetype
-I/install/libmcal -I/install/php-4.2.1/ext/mysql/libmysql
-I/install/php-4.2.1/ext/xml/expat -I/install/php-4.2.1/TSRM -g -O2 -c
gd.c && touch gd.lo
gd.c: In function `zm_startup_gd':
gd.c:303: `gdArc' undeclared (first use in this function)
gd.c:303: (Each undeclared identifier is reported only once
gd.c:303: for each function it appears in.)
gd.c:304: `gdPie' undeclared (first use in this function)
gd.c:305: `gdChord' undeclared (first use in this function)
gd.c:306: `gdNoFill' undeclared (first use in this function)
gd.c:307: `gdEdged' undeclared (first use in this function)
gd.c: In function `zif_imagecreatetruecolor':
gd.c:588: warning: assignment makes pointer from integer without a cast
gd.c: In function `zif_imagecolorat':
gd.c:1626: structure has no member named `tpixels'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/install/php-4.2.1/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/install/php-4.2.1/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/install/php-4.2.1/ext'
make: *** [all-recursive] Error 1
My configuration script:
./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd=../gd-2.0.1
--enable-safe-mode --with-config-file-path=/etc/httpd
--with-exec-dir=/usr/bin --enable-magic-quotes --with-regex=system
--with-ttf=/usr/lib/libttf.so --enable-track-vars --enable-xml
--disable-debug --with-ldap --with-imap --enable-ftp --with-mysql
--with-mcal=../libmcal --with-pdflib --with-curl --with-zlib
--with-jpeg-dir=../jpeg-6b --with-tiff-dir --with-freetype-dir
--enable-gd-native-ttf --enable-gd-imgstrttf --with-png-dir
--
Edit bug report at http://bugs.php.net/?id=17474&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17474&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17474&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17474&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17474&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17474&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17474&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17474&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17474&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17474&r=globals