Bug #60108 [NEW]: GD cannot be compiled with system libgd

From: Date: Fri, 21 Oct 2011 12:13:35 +0000
Subject: Bug #60108 [NEW]: GD cannot be compiled with system libgd
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-164492@lists.php.net to get a copy of this message
From:             ondrej
Operating system: Linux
PHP version:      5.4.0beta2
Package:          GD related
Bug Type:         Bug
Bug description:GD cannot be compiled with system libgd

Description:
------------
When compiled with system-wide (not embedded) libgd library the compilation
fails with:

In file included from /tmp/buildd/php5-5.4.0~beta2/ext/gd/gd.c:103:0:
/tmp/buildd/php5-5.4.0~beta2/ext/gd/gd_ctx.c: In function
'_php_image_stream_putc':
/tmp/buildd/php5-5.4.0~beta2/ext/gd/gd_ctx.c:51:41: error: 'struct gdIOCtx'
has no member named 'data'
/tmp/buildd/php5-5.4.0~beta2/ext/gd/gd_ctx.c: In function
'_php_image_stream_putbuf':
/tmp/buildd/php5-5.4.0~beta2/ext/gd/gd_ctx.c:58:41: error: 'struct gdIOCtx'
has no member named 'data'
/tmp/buildd/php5-5.4.0~beta2/ext/gd/gd_ctx.c: In function
'_php_image_stream_ctxfree':
/tmp/buildd/php5-5.4.0~beta2/ext/gd/gd_ctx.c:67:8: error: 'struct gdIOCtx'
has no member named 'data'
/tmp/buildd/php5-5.4.0~beta2/ext/gd/gd_ctx.c:68:3: error: 'struct gdIOCtx'
has no member named 'data'
/tmp/buildd/php5-5.4.0~beta2/ext/gd/gd_ctx.c:69:6: error: 'struct gdIOCtx'
has no member named 'data'
In file included from /tmp/buildd/php5-5.4.0~beta2/ext/gd/gd.c:103:0:
/tmp/buildd/php5-5.4.0~beta2/ext/gd/gd_ctx.c: In function
'_php_image_output_ctx':
/tmp/buildd/php5-5.4.0~beta2/ext/gd/gd_ctx.c:153:6: error: 'gdIOCtx' has no
member named 'data'


You need to wrap the _stream_ stuff inside the #ifdef HAVE_GD_BUNDLED



-- 
Edit bug report at https://bugs.php.net/bug.php?id=60108&edit=1
-- 
Try a snapshot (PHP 5.4):            https://bugs.php.net/fix.php?id=60108&r=trysnapshot54
Try a snapshot (PHP 5.3):            https://bugs.php.net/fix.php?id=60108&r=trysnapshot53
Try a snapshot (trunk):              https://bugs.php.net/fix.php?id=60108&r=trysnapshottrunk
Fixed in SVN:                        https://bugs.php.net/fix.php?id=60108&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60108&r=needdocs
Fixed in release:                    https://bugs.php.net/fix.php?id=60108&r=alreadyfixed
Need backtrace:                      https://bugs.php.net/fix.php?id=60108&r=needtrace
Need Reproduce Script:               https://bugs.php.net/fix.php?id=60108&r=needscript
Try newer version:                   https://bugs.php.net/fix.php?id=60108&r=oldversion
Not developer issue:                 https://bugs.php.net/fix.php?id=60108&r=support
Expected behavior:                   https://bugs.php.net/fix.php?id=60108&r=notwrong
Not enough info:                     https://bugs.php.net/fix.php?id=60108&r=notenoughinfo
Submitted twice:                     https://bugs.php.net/fix.php?id=60108&r=submittedtwice
register_globals:                    https://bugs.php.net/fix.php?id=60108&r=globals
PHP 4 support discontinued:          https://bugs.php.net/fix.php?id=60108&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=60108&r=dst
IIS Stability:                       https://bugs.php.net/fix.php?id=60108&r=isapi
Install GNU Sed:                     https://bugs.php.net/fix.php?id=60108&r=gnused
Floating point limitations:          https://bugs.php.net/fix.php?id=60108&r=float
No Zend Extensions:                  https://bugs.php.net/fix.php?id=60108&r=nozend
MySQL Configuration Error:           https://bugs.php.net/fix.php?id=60108&r=mysqlcfg



Thread (8 messages)

« previous php.bugs (#164492) next »