#16683 [Opn->Csd]: gdIOCtx

From: Date: Wed, 28 Aug 2002 16:29:54 +0000
Subject: #16683 [Opn->Csd]: gdIOCtx
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18052@lists.php.net to get a copy of this message
ID: 16683 Updated by: sniper@php.net Reported By: achowe@snert.com -Status: Open +Status: Closed Bug Type: GD related Operating System: Mac OS X PHP Version: 4.1.2 New Comment: Closing this then. Previous Comments: ------------------------------------------------------------------------ [2002-08-28 04:04:21] achowe@snert.com I have since moved on to using GD 2.0.1 beta and PHP 4.2.0 on Mac OS X. GD 2.0.1 does not appear to suffer from the problem, can be built .so, and once you find the magic invocation for building PHP 4.2.0 for Mac OS X (plus some minor patches for other PHP modules), all works happily. I'm happy to let this one go now that I have a working solution. ------------------------------------------------------------------------ [2002-08-28 01:00:08] php-bugs@lists.php.net No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-06-28 02:53:27] sniper@php.net With PHP 4.3.0-dev you can compile with the bundled GD library using --with-gd=php option. Try this snapshot: http://snaps.php.net/php4-latest.tar.gz Please try this and also try your original configure line. And if you get some compile errors, please let us know WHAT the errors are. (with both) ------------------------------------------------------------------------ [2002-05-17 04:36:27] peter@swis.co.uk I've just finished installing gd-1.8.4 and php 4.2.0 on Redhat linux. After ecountering <<most>> of the install problems between PHP and GD (including the typedef for gdIOCtx), I realised that the problem appears to be that the configuration header file generated by the php 'configure' script is not actually included in to the C source... So here's what I did: - On my system, configure -> main/php_config.h. - I created a soft link to this file called main/config.h. - I then edited the file 'config_vars.mk' and under CPP_FLAGS i added -DHAVE_CONFIG_H=1. This extra flag tells the compiler to include the 'config.h' in the C files which have the lines #ifdef HAVE_CONFIG_H;#include "config.h";#endif of which there are quite a number, including gd.c! - After all that it compiled *perfectly*. I look forward to hearing whether this is a problem with the configure script, or whether there is a configuration setting which can be changed to rectify this error. ------------------------------------------------------------------------ [2002-04-23 10:44:31] achowe@snert.com This problem also appears in 4.2.0 just released. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16683 -- Edit this bug report at http://bugs.php.net/?id=16683&edit=1

« previous php.bugs (#18052) next »