type: locate gd.h
You will see that you have more than one.  Get rid of all the wrong ones
and the other associated gd header files so you only have one version
installed and start over.

-Rasmus

On Fri, 1 Feb 2002, James Cox wrote:

> Ok,
>
> so maybe i'm the idiot, but can you help me make some sense here?
>
> this is my configure:
>
> ./configure --with-mysql=/services/mysql --with-apxs=/services/www/apache/sb
> in/apxs --prefix=/services/php --with-pear=/services/php/pear --with-openssl
>  --with-curl --with-gd --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-
> png-dir=/usr  --with-zlib=/usr
>
> when configuring...
>
> checking whether to include GD support... yes
> checking whether to enable truetype string function in gd... no
> checking for the location of libjpeg... yes
> checking for jpeg_read_header in -ljpeg... (cached) yes
> checking for the location of libpng... yes
> checking for png_info_init in -lpng... (cached) yes
> checking for the location of libXpm... no
> If configure fails try --with-xpm-dir=<DIR>
> checking for freetype(2)... yes
> checking whether to include include FreeType 1.x support... no
> checking whether to include T1lib support... no
> checking for gdImageString16 in -lgd... (cached) yes
> checking for gdImagePaletteCopy in -lgd... (cached) yes
> checking for gdImageCreateFromPng in -lgd... (cached) yes
> checking for gdImageCreateFromGif in -lgd... (cached) yes
> checking for gdImageGif in -lgd... (cached) no
> checking for gdImageWBMP in -lgd... (cached) yes
> checking for gdImageCreateFromJpeg in -lgd... (cached) yes
> checking for gdImageCreateFromXpm in -lgd... (cached) yes
> checking for gdImageCreateFromGd2 in -lgd... (cached) yes
> checking for gdImageCreateTrueColor in -lgd... (cached) no
> checking for gdImageSetTile in -lgd... (cached) yes
> checking for gdImageSetBrush in -lgd... (cached) yes
> checking for gdImageStringTTF in -lgd... (cached) yes
> checking for gdImageStringFT in -lgd... (cached) yes
> checking for gdImageStringFTEx in -lgd... (cached) no
> checking for gdImageColorClosestHWB in -lgd... (cached) yes
> checking for gdImageColorResolve in -lgd... (cached) yes
> checking for gdImageGifCtx in -lgd... (cached) no
>
> and when making gd.c ...
>
> gd.c: In function `zif_imagecreatefromstring':
> gd.c:1061: `gdImageCreateFromGifCtx' undeclared (first use in this function)
> gd.c:1061: (Each undeclared identifier is reported only once
> gd.c:1061: for each function it appears in.)
> gd.c: In function `zif_imagecreatefromgif':
> gd.c:1203: `gdImageCreateFromGif' undeclared (first use in this function)
> gd.c:1203: `gdImageCreateFromGifCtx' undeclared (first use in this function)
> gd.c: In function `_php_image_convert':
> gd.c:3491: `gdImageCreateFromGif' used prior to declaration
> gd.c:3491: warning: assignment makes pointer from integer without a cast
> *** Error code 1
>
> Ok, as i said before. Maybe i'm dumb. but i don't get this.
>
> james
>


-- 
PHP Development 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