#19394 [NEW]: compile fails with gd-2.0.1

From: Date: Fri, 13 Sep 2002 16:57:34 +0000
Subject: #19394 [NEW]: compile fails with gd-2.0.1
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19315@lists.php.net to get a copy of this message
From: bernhard@csa-gmbh.com Operating system: linux - kernel 2.4 PHP version: 4.2.3 PHP Bug Type: Compile Failure Bug description: compile fails with gd-2.0.1 make fails (only if '--with-gd' is present): ...snip.... make[3]: Leaving directory `/d2/apache2/php-4.2.3/ext/gd' make[2]: Leaving directory `/d2/apache2/php-4.2.3/ext/gd' Making all in mysql make[2]: Entering directory `/d2/apache2/php-4.2.3/ext/mysql' Making all in libmysql make[3]: Entering directory `/d2/apache2/php-4.2.3/ext/mysql/libmysql' make[4]: Entering directory `/d2/apache2/php-4.2.3/ext/mysql/libmysql' /bin/sh /d2/apache2/php-4.2.3/libtool --silent --mode=compile gcc -I. -I/d2/apache2/php-4.2.3/ext/ mysql/libmysql -I/d2/apache2/php-4.2.3/main -I/d2/apache2/php-4.2.3 -I/d2/apache2/include -I/d2/apa che2/php-4.2.3/Zend -I/usr/local/include -I/d2/apache2/php-4.2.3/ext/mysql/libmysql -I/d2/apache2/p hp-4.2.3/ext/xml/expat -D_REENTRANT -I/d2/apache2/php-4.2.3/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic -c libmysql.c In file included from libmysql.c:5: global.h:256: warning: redefinition of `uint' /usr/include/sys/types.h:146: warning: `uint' previously declared here global.h:257: warning: redefinition of `ushort' /usr/include/sys/types.h:145: warning: `ushort' previously declared here global.h:258: warning: redefinition of `ulong' /usr/include/sys/types.h:144: warning: `ulong' previously declared here In file included from libmysql.c:12: m_string.h:180: parse error before `__extension__' m_string.h:180: parse error before `&&' make[4]: *** [libmysql.lo] Error 1 make[4]: Leaving directory `/d2/apache2/php-4.2.3/ext/mysql/libmysql' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/d2/apache2/php-4.2.3/ext/mysql/libmysql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/d2/apache2/php-4.2.3/ext/mysql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/d2/apache2/php-4.2.3/ext' make: *** [all-recursive] Error 1 configure-command: ./configure --with-prefix=/d2/apache2 \ --with-apxs2=/d2/apache2/bin/apxs \ --with-config-file-path=/d2/apache2/conf \ --with-mysql \ --with-zlib \ --with-ftp \ --with-config-file-path=/etc \ --with-jpeg \ --with-png \ --with-gd \ --enable-versioning \ --enable-track-vars=yes \ --enable-url-includes \ --enable-trans-sid \ --enable-sysvshm=yes \ --enable-sysvsem=yes installed versions: Linux: Kernel 2.4.0-4GB Mysql: 3.23.33-4 zlib: 1.1.4 libpng: 1.2.4 gd: 2.0.1 apache: 2.0.40 any help welcome bernhard -- Edit bug report at http://bugs.php.net/?id=19394&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19394&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19394&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19394&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19394&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19394&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19394&r=support Expected behavior: http://bugs.php.net/fix.php?id=19394&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19394&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19394&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19394&r=globals

« previous php.bugs (#19315) next »