Hi,
I checked the archives before posting my question and couldn't find any
solutions. I've just checked again - searching for "4.0.6" and "gd" and also
trawling through all messages for June and halfway back through May, well
before 4.0.6 was released. Sorry, I am still unable to find any solutions to
my problem, much less a dozen...
Can you please either give me some searching tips or repost one of the
earlier solutions,
Cheers,
Kelvin.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Jani Taskinen
Sent: 26 June 2001 04:10
To: Kelvin Luck
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] php 4.0.6 and GD
Try checking the mailing list archives. This has been answered
at least a dozen time now.
--Jani
On Mon, 25 Jun 2001, Kelvin Luck wrote:
>Hi,
>I am just trying to install php 4.0.6 on redhat 7.1 so that I can use the
>new GD library functions. I first downloaded and installed the newest GD
>libraries (2.0.1 beta) and installed them. I presume that this worked OK
>because I didn't get any errors. I also made sure I removed the rpm of an
>earlier version of the gd libraries from the computer to avoid conflicts.
>I installed GD ("make install") and it seemed to go OK, no errors reported
>and seemed to copy the file to the right place...
>Then I configured php:
>
>./configure \
>--with-apxs=/usr/local/apache/bin/apxs \
>--enable-track-vars \
>--with-config-path-file=/etc \
>--with-mysql=/usr/local/mysql \
>--with-gd \
>--with-jpeg-dir=/usr/lib \
>--with-xpm-dir=/usr/X11R6
>
>I found that I needed the last two arguments so that configure didn't throw
>an error, which it doesn't. But when I try and make php I get this error:
>
>.
>.
>.
>gd.c:95: conflicting types for 'gdIOCtx'
>/usr/include/gd_io.h:previous declaration of 'gdIOCtx'
>make[3]: *** [gd.lo] Error 1
>.
>.
>.
>
>That error causes make to stop and prevents me from installing php... Has
>anyone got any ideas on how to avoid this? If I compile and leave
>out --with-gd then it makes fine... But I'm upgrading because I want to use
>the new image functions!
>Any help or suggestions would be much appreciated,
>tia,
>Kelvin.
>
>
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]