Re: Making gd Extensions
| From: | Dennis Moore | Date: | Tue, 04 Sep 2001 18:59:36 +0000 |
| Subject: | Re: Making gd Extensions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65925@lists.php.net to get a copy of this message | ||
The problem I had was with the compilation of the gd program. I installed
an RPM version of gd from Redhat and recompiled. It worked like a charm on
RedHat v7.0.
I am still working on the tarball version of gd. The documentation says to
play around the order of some of the settings in the makefile.
Unfortunately, I have to work with a older version of RedHat on this
machine. RedHat v6.2.
Have you had any luck yet?
/dkm
----- Original Message -----
From: "Chris Mulcahy" <cmulcahy@cmulcahy.com>
To: <php-general@lists.php.net>
Sent: Thursday, August 30, 2001 11:10 AM
Subject: RE: [PHP] Making gd Extensions
> So far, there have been no answers, so I'm guessing that either we're
> the only two receiving this or everyone who has received it has been
> unable to resolve the problem.
>
> My searches on Google have been unsuccessful so far. There are quite a
> few reports of the problem, but no responses.
>
> If I learn anything, I'll be sure to let you know.
>
> Thanks
> Chris
>
> > -----Original Message-----
> > From: Dennis Moore [mailto:dmoore@ravens-nest.com]
> > Sent: Wednesday, August 29, 2001 8:59 PM
> > To: Chris Mulcahy; php-general@lists.php.net
> > Subject: Re: [PHP] Making gd Extensions
> >
> >
> > I am having a similar problem using gd-2.0.1 where the
> > compilation complains
> > about "conflicting type gdIOCtx". I am getting a knot on my
> > forehead from
> > the wall in front of me. Any ideas?
> >
> > /dkm
> >
> >
> >
> > ----- Original Message -----
> > From: "Chris Mulcahy" <cmulcahy@cmulcahy.com>
> > To: <php-general@lists.php.net>
> > Sent: Wednesday, August 29, 2001 9:31 AM
> > Subject: [PHP] Making gd Extensions
> >
> > >
> > > The current item I'm wrestling with is the gd extensions.
> > I've rebuilt
> > > PHP and Apache so many times to enable one feature only to
> > learn that I
> > > forgot to recompile one that I'd relied on previously. It's a never
> > > ending battle to get all of the features required.
> > >
> > > The .so extensions option is a great feature that I'd like
> > to make use
> > > of.
> > >
> > > In trying to compile the gd .so extension (gd-1.8.4), I'm
> > receiving the
> > > following errors. Any ideas?
> > >
> > > Thanks
> > > Chris Mulcahy
> > > ---
> > >
> > > Making all in ext
> > > make[1]: Entering directory
> > > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext'
> > > Making all in gd
> > > make[2]: Entering directory
> > > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
> > > make[3]: Entering directory
> > > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
> > > gcc -I.
> > -I/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd -I/home/cm
> > > ulcahy/transfer/webserver/php-4.0.6/main
> > -I/home/cmulcahy/transfer/webse
> > > rver/php-4.0.6
> > -I/home/cmulcahy/transfer/webserver/php-4.0.6/Zend -I/hom
> > > e/cmulcahy/transfer/webserver/php-4.0.6/ext/mysql/libmysql
> > -I/home/cmulc
> > > ahy/transfer/webserver/php-4.0.6/ext/xml/expat/xmltok
> > -I/home/cmulcahy/t
> > > ransfer/webserver/php-4.0.6/ext/xml/expat/xmlparse
> > -I/home/cmulcahy/tran
> > > sfer/webserver/php-4.0.6/TSRM -DSUPPORT_UTF8
> > -DXML_BYTE_ORDER=12 -g -O2
> > > -c gd.c && touch gd.lo
> > > gd.c:95: conflicting types for `gdIOCtx'
> > > /usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
> > > gd.c: In function `php_if_imagecreatefromgif':
> > > gd.c:1209: `gdImageCreateFromGif' undeclared (first use in this
> > > function)
> > > gd.c:1209: (Each undeclared identifier is reported only once
> > > gd.c:1209: for each function it appears in.)
> > > gd.c: In function `php_if_imagegif':
> > > gd.c:1404: `gdImageGif' undeclared (first use in this function)
> > > make[3]: *** [gd.lo] Error 1
> > > make[3]: Leaving directory
> > > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory
> > > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory
> > > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext'
> > > make: *** [all-recursive] Error 1
> > >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net