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]

Reply via email to