Edit report at https://bugs.php.net/bug.php?id=61960&edit=1
ID: 61960 Comment by: p dot d dot mallinson at liv dot ac dot uk Reported by: kapsonfire at gmx dot de Summary: GD compile error AND possible no php extension: Status: Open Type: Bug Package: Compile Failure Operating System: Debian Squeeze PHP Version: 5.4.2 Block user comment: N Private report: N New Comment: I've just got the "command failed for target 'ext/gd.gd.lo' lots of gd_ctx.c - error structure has no member named 'data' Solaris 10 on SPARC - PHP version 5.4.4 Previous Comments: ------------------------------------------------------------------------ [2012-05-06 09:16:10] kapsonfire at gmx dot de Description: ------------ While Compiling (make) gd failed to compile, leaving gd_lib, compiles fine, but php -v returns warning/error: Invalid library (maybe not a PHP library) 'pdo_mysql.so' in Unknown on line 0 make clean also tried... Test script: --------------- ./configure --with-gd=shared,/usr/local/gd_full --with-pdo=shared --enable-shared --with-curl=shared --with-curlwrappers --with-mysql=shared,mysqlnd --with-mysqli=shared,mysqlnd --with-mcrypt=shared --with-zlib=shared --enable-mbstring=shared --with-openssl=shared --with-imap=shared --with-kerberos --with-mysql-sock --with-pdo-mysql=shared --with-apxs2=/usr/bin/apxs2 --with-config-file-path=/etc/php5/apache2 --with-config-file-scan-dir=/etc/php5/apache2/conf.d --with-imap-ssl make make install Expected result: ---------------- No compile error :D Actual result: -------------- -> After Compile without gd PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'pdo_mysql.so' in Unknown on line 0 -> While Compile with gd /tmp/php/php-5.4.2/ext/gd/gd_ctx.c: In function â_php_image_stream_putcâ: /tmp/php/php-5.4.2/ext/gd/gd_ctx.c:51: error: âstruct gdIOCtxâ has no member named âdataâ /tmp/php/php-5.4.2/ext/gd/gd_ctx.c: In function â_php_image_stream_putbufâ: /tmp/php/php-5.4.2/ext/gd/gd_ctx.c:58: error: âstruct gdIOCtxâ has no member named âdataâ /tmp/php/php-5.4.2/ext/gd/gd_ctx.c: In function â_php_image_stream_ctxfreeâ: /tmp/php/php-5.4.2/ext/gd/gd_ctx.c:67: error: âstruct gdIOCtxâ has no member named âdataâ /tmp/php/php-5.4.2/ext/gd/gd_ctx.c:68: error: âstruct gdIOCtxâ has no member named âdataâ /tmp/php/php-5.4.2/ext/gd/gd_ctx.c:69: error: âstruct gdIOCtxâ has no member named âdataâ ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61960&edit=1