Re: Problems compiling in GD Support
| From: | Rasmus Lerdorf | Date: | Tue, 12 Sep 2000 13:49:49 +0000 |
| Subject: | Re: Problems compiling in GD Support | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-16406@lists.php.net to get a copy of this message | ||
rm config.cache
./configure --with-gd=/usr/local
> Dan Spray wrote:
> >
> > Hello all,
> >
> > I have been running PHP 4.0 for quite some time now and have had no problems
> > with it at all. However a new project that I am working on requires GD
> > support to be compiled in. When I go to do so I get:
> >
> > gd.c: In function `php_if_imagecreatefromgif':
> > gd.c:472: `gdImageCreateFromGif' undeclared (first use in this function)
> > gd.c:472: (Each undeclared identifier is reported only once
> > gd.c:472: for each function it appears in.)
> > gd.c: In function `php_if_imagegif':
> > gd.c:629: `gdImageGif' undeclared (first use in this function)
> > make[3]: *** [gd.lo] Error 1
> > make[3]: Leaving directory `/home/dan/php4/php-4.0.1pl2/ext/gd'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/home/dan/php4/php-4.0.1pl2/ext/gd'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/dan/php4/php-4.0.1pl2/ext'
> > make: *** [all-recursive] Error 1
> >
> > Does anyone have any ideas on such a thing.
>
> Exactly the problem I've run into, and I still haven't found any solution.
>
> Anyone with a working GD installation, please tell us how you managed
> it...
>
> Regards,
>
> Vin
>
>