Installationproblem (GD)
| From: | a guy | Date: | Thu, 08 May 2003 09:21:27 +0000 |
| Subject: | Installationproblem (GD) | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10842@lists.php.net to get a copy of this message | ||
Hi list.
Im trying to compile PHP 4.3.1 under Slackware 8.1 with
GD 1.8.4.
My ./configure for php looks like this:
./configure --with-apxs=/www/bin/apxs --with-zlib --with-mysql
--with-gd=/usr/local
the configure runs fine, but make fails with these messages:
/root/packages/php-4.3.1/ext/gd/gd.c: In function `zm_startup_gd':
/root/packages/php-4.3.1/ext/gd/gd.c:343: `gdArc' undeclared (first use in
this function)
/root/packages/php-4.3.1/ext/gd/gd.c:343: (Each undeclared identifier is
reported only once
/root/packages/php-4.3.1/ext/gd/gd.c:343: for each function it appears
in.)
/root/packages/php-4.3.1/ext/gd/gd.c:344: `gdPie' undeclared (first use in
this function)
/root/packages/php-4.3.1/ext/gd/gd.c:345: `gdChord' undeclared (first use
in this function)
/root/packages/php-4.3.1/ext/gd/gd.c:346: `gdNoFill' undeclared (first use
in this function)
/root/packages/php-4.3.1/ext/gd/gd.c:347: `gdEdged' undeclared (first use
in this function)
/root/packages/php-4.3.1/ext/gd/gd.c: In function
`zif_imagecreatetruecolor':
/root/packages/php-4.3.1/ext/gd/gd.c:708: warning: assignment makes
pointer from integer without a cast
/root/packages/php-4.3.1/ext/gd/gd.c: In function `_php_image_output':
/root/packages/php-4.3.1/ext/gd/gd.c:1531: structure has no member named
`trueColor'
/root/packages/php-4.3.1/ext/gd/gd.c:1570: structure has no member named
`trueColor'
/root/packages/php-4.3.1/ext/gd/gd.c: In function `zif_imagecolorat':
/root/packages/php-4.3.1/ext/gd/gd.c:1752: structure has no member named
`tpixels'
make: *** [ext/gd/gd.lo] Error 1
I also use version 6b of libjpeg.
Anyone know howto correct this?
Martin