From: [EMAIL PROTECTED]
Operating system: rocklinux 1.4
PHP version: 4.1.1
PHP Bug Type: GD related
Bug description: Error compiling
Hello
Dont know if this is a gd or php issus. I downloaded gd to have it to
work
with gd cause i wanted to generate alpha blending images on the fly.
therefore i choosed the 2.0.1 beta build. When i compile gd everything
is
allright but when i try to compile php i get this error message
<snip>
gcc -I. -I/usr/src/php-4.1.1/ext/gd -I/usr/src/php-4.1.1/main
-I/usr/src/php
-4.1.1 -I/usr/src/php-4.1.1/Zend -I/usr/src/php-4.1.1/ext/mysql/libmysql
-I/
usr/src/php-4.1.1/ext/xml/expat -I/usr/src/php-4.1.1/TSRM -g -O2 -c
gd.c
&& touch gd.lo
In file included from /usr/include/gd.h:25,
from php_gd.h:33,
from gd.c:36:
/usr/include/gd_io.h:21: undefined or invalid # directive
In file included from gd.c:36:
php_gd.h:69: warning: static declaration for `gdImageColorResolve'
follows
non-static
gd.c:92: conflicting types for `gdIOCtx'
/usr/include/gd_io.h:18: previous declaration of `gdIOCtx'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/src/php-4.1.1/ext/gd'
</snip>
The only option i have supplied is ./configure --with-gd
Im using rocklinux 1.4 and have tried to download and install zlib libpng
libjpeg
freetype several times. Whats wrong? Should i send a bugreport to php or
is
this a gd issue?
Thanx for a good software
/Alexander
--
Edit bug report at: http://bugs.php.net/?id=15303&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]