php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55141 make fails
Submitted: 2011-07-05 18:26 UTC Modified: 2011-08-19 16:57 UTC
From: ddrirc at gmail dot com Assigned: pajoye (profile)
Status: Not a bug Package: Compile Failure
PHP Version: 5.4SVN-2011-07-05 (snap) OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ddrirc at gmail dot com
New email:
PHP Version: OS:

 

 [2011-07-05 18:26 UTC] ddrirc at gmail dot com
Description:
------------
Trying to test php5.4-201107052030, configure worked with no errors, then try to make and then it fails


Test script:
---------------
/bin/sh /root/php5.4-201107052030/libtool --silent --preserve-dup-deps --mode=compile cc -I/usr/include -Iext/gd/ -I/root/php5.4-201107052030/ext/gd/ -DPHP_ATOM_INC -I/root/php5.4-201107052030/include -I/root/php5.4-201107052030/main -I/root/php5.4-201107052030 -I/root/php5.4-201107052030/ext/date/lib -I/root/php5.4-201107052030/ext/ereg/regex -I/usr/include/libxml2 -I/usr/kerberos/include -I/usr/include/freetype2 -I/usr/include/imap -I/root/php5.4-201107052030/ext/mbstring/oniguruma -I/root/php5.4-201107052030/ext/mbstring/libmbfl -I/root/php5.4-201107052030/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell -I/root/php5.4-201107052030/TSRM -I/root/php5.4-201107052030/Zend    -I/usr/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS  -c /root/php5.4-201107052030/ext/gd/gd.c -o ext/gd/gd.lo
In file included from /root/php5.4-201107052030/ext/gd/gd.c:103:
/root/php5.4-201107052030/ext/gd/gd_ctx.c: In function â_php_image_stream_putcâ:
/root/php5.4-201107052030/ext/gd/gd_ctx.c:51: error: âstruct gdIOCtxâ has no member named âdataâ
/root/php5.4-201107052030/ext/gd/gd_ctx.c: In function â_php_image_stream_putbufâ:
/root/php5.4-201107052030/ext/gd/gd_ctx.c:58: error: âstruct gdIOCtxâ has no member named âdataâ
/root/php5.4-201107052030/ext/gd/gd_ctx.c: In function â_php_image_stream_ctxfreeâ:
/root/php5.4-201107052030/ext/gd/gd_ctx.c:67: error: âstruct gdIOCtxâ has no member named âdataâ
/root/php5.4-201107052030/ext/gd/gd_ctx.c:68: error: âstruct gdIOCtxâ has no member named âdataâ
/root/php5.4-201107052030/ext/gd/gd_ctx.c:69: error: âstruct gdIOCtxâ has no member named âdataâ
/root/php5.4-201107052030/ext/gd/gd_ctx.c: In function â_php_image_output_ctxâ:
/root/php5.4-201107052030/ext/gd/gd_ctx.c:153: error: âgdIOCtxâ has no member named âdataâ
make: *** [ext/gd/gd.lo] Error 1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-05 18:30 UTC] ddrirc at gmail dot com
GD 2.0.33 is installed on this machine
 [2011-07-06 05:01 UTC] johannes@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: pajoye
 [2011-07-06 05:01 UTC] johannes@php.net
It is suggested to use the bundled GD library.

Pierre, please look into this.
 [2011-07-06 05:30 UTC] pajoye@php.net
-Status: Assigned +Status: Feedback
 [2011-07-06 05:30 UTC] pajoye@php.net
Does it work with 5.3? We did not change anything here in gd between both 
versions.
 [2011-07-06 06:54 UTC] ddrirc at gmail dot com
-Status: Feedback +Status: Assigned
 [2011-07-06 06:54 UTC] ddrirc at gmail dot com
@pajoye - yes it works fine in the latest release and snapshot of 5.3.7
 [2011-07-06 07:13 UTC] ddrirc at gmail dot com
followup: I've recompiled --with-gd=shared and it works fine. here are the two differences i've noticed:

with shared:
GD Version 	bundled (2.0.34 compatible)
XBM Support 	enabled 

with user lib:
GD Version 	2.0.33
no xbm support
 [2011-07-06 07:26 UTC] pajoye@php.net
it is not about shared but about using bundled lib vs system's one.
 [2011-08-19 16:57 UTC] pajoye@php.net
-Status: Assigned +Status: Bogus
 [2011-08-19 16:57 UTC] pajoye@php.net
Actually it is because the gd system libraries have its development files 
installed as well. That can't work well.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 19:01:28 2025 UTC