Bug #15303 Updated: Error compiling

From: Date: Mon, 04 Mar 2002 09:31:04 +0000
Subject: Bug #15303 Updated: Error compiling
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1600@lists.php.net to get a copy of this message
ID: 15303 Updated by: michal.grezl@winet.cz Reported By: alex@saers.com Status: Open Bug Type: GD related Operating System: rocklinux 1.4 PHP Version: 4.1.1 New Comment: same thing with php version 4.1.2 and gd 1.8.4 Previous Comments: ------------------------------------------------------------------------ [2002-02-03 07:09:34] imajes@php.net that was the wrong message. ------------------------------------------------------------------------ [2002-02-03 07:08:53] imajes@php.net The version of PHP that this bug was reported in is too old. Please try to reproduce this bug in the latest version of PHP (available from http://www.php.net/downloads.php If you are still able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". ------------------------------------------------------------------------ [2002-01-30 16:31:10] alex@saers.com 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 this bug report at http://bugs.php.net/?id=15303&edit=1

« previous php.bugs (#1600) next »