Bug #61960 [Opn->Fbk]: GD compile error AND possible no php extension:

From: Date: Mon, 14 Dec 2020 12:15:30 +0000
Subject: Bug #61960 [Opn->Fbk]: GD compile error AND possible no php extension:
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-231065@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61960&edit=1 ID: 61960 Updated by: cmb@php.net Reported by: kapsonfire at gmx dot de Summary: GD compile error AND possible no php extension: -Status: Open +Status: Feedback Type: Bug Package: Compile Failure Operating System: Debian Squeeze PHP Version: 5.4.2 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Does this still happen to you with any of the actively supported PHP versions[1]? > I have the same problem. Previous Comments: ------------------------------------------------------------------------ [2012-06-26 09:46:09] p dot d dot mallinson at liv dot ac dot uk 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 ------------------------------------------------------------------------ [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

« previous php.bugs (#231065) next »