#16683 [Fbk->NoF]: gdIOCtx
| From: | php-bugs at lists dot php dot net | Date: | Wed, 28 Aug 2002 05:00:09 +0000 |
| Subject: | #16683 [Fbk->NoF]: gdIOCtx | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17988@lists.php.net to get a copy of this message | ||
ID: 16683
Updated by: php-bugs@lists.php.net
Reported By: achowe@snert.com
-Status: Feedback
+Status: No Feedback
Bug Type: GD related
Operating System: Mac OS X
PHP Version: 4.1.2
New Comment:
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".
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2002-04-19 02:53:43] achowe@snert.com
Sorry I was in a rush.
I have install GD 1.8.4 from source archive into /usr/local/. There is
no other GD installed. As for PHP, it was configured as follows:
./configure \
--enable-bcmath \
--enable-ftp \
--enable-track-vars \
--with-apxs \
--with-gd \
--with-mm \
--with-openssl \
--with-snmp \
--with-zlib \
--without-tsrm-pthreads
------------------------------------------------------------------------
[2002-04-18 16:39:28] sniper@php.net
They're not supposed to be same..
How did you configure PHP ? How did you configure / compile the GD
library? Do you have different versions of GD library
installed?
------------------------------------------------------------------------
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