ID:               20125
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Bogus
 Bug Type:         GD related
 Operating System: Redhat 7.2
 PHP Version:      4.2.3
 New Comment:

1. GD 2.0.4 is not supported by any released version of PHP
2. You're configure line misses --with-xpm-dir (pay more attention to
what configure outputs, will ya?)
3. Grab a snapshot, compile php with --with-gd (ie. no path)
and the extra options needed.  That will work as it uses the PHP
bundled GD library and as it compiles it to contain all the extra stuff
you want it to contain. No more hassle with GD library this way.

Last but not least: This "bug" has already been reported. Please don't
submit yet another report about it but add your comments to the
existing one.






Previous Comments:
------------------------------------------------------------------------

[2002-10-27 16:48:03] [EMAIL PROTECTED]

Please provide your full config.log online (or mail it as
attachement).

Derick

------------------------------------------------------------------------

[2002-10-27 15:33:41] [EMAIL PROTECTED]

well, i'm getting all kind's of error:

/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 24556 "configure"


/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 24609 "configure"



/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 24662 "configure"



/tmp/ccHr63vt.o: In function `main':
/usr/local/src/php-4.2.3/configure:24722: undefined reference to
`gdImageCreateFromGif'
/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 24715 "configure"


/tmp/ccrawnoi.o: In function `main':
/usr/local/src/php-4.2.3/configure:24775: undefined reference to
`gdImageGif'
/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 24768 "configure"


/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 24821 "configure"


/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 24874 "configure"



/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 24927 "configure"


/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 24980 "configure"


/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 25033 "configure"



/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 25086 "configure"


/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 25139 "configure"


/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 25192 "configure"


/tmp/ccLorihZ.o: In function `main':
/usr/local/src/php-4.2.3/configure:25464: undefined reference to
`gdImageGifCtx'
/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status


/usr/bin/ld: cannot find -lintl
collect2: ld returned 1 exit status
configure: failed program was:
#line 25631 "configure"
configure: failed program was:
#line 25457 "configure"

i don't know what's wrong...

------------------------------------------------------------------------

[2002-10-27 15:23:19] [EMAIL PROTECTED]

what does config.log say?

Derick


------------------------------------------------------------------------

[2002-10-27 15:22:03] [EMAIL PROTECTED]

i've installed GD-4.0.2 with jpeg,libpng,zlib and freetype2.

but when i tried to install GD under PHP, i'm getting the folowing:

checking for GD support... yes
checking whether to enable truetype string function in GD... yes
checking for the location of libjpeg... yes
checking for jpeg_read_header in -ljpeg... yes
checking for the location of libpng... yes
checking for png_write_image in -lpng... yes
checking for the location of libXpm... no
If configure fails try --with-xpm-dir=<DIR>
checking for freetype(2)... yes
checking for FreeType 1.x support... no
checking for T1lib support... yes
checking for T1_LoadFont in -lt1... yes
checking for gdImageString16 in -lgd... no
checking for gdImagePaletteCopy in -lgd... no
checking for gdImageCreateFromPng in -lgd... no
checking for gdImageCreateFromGif in -lgd... no
checking for gdImageGif in -lgd... no
checking for gdImageWBMP in -lgd... no
checking for gdImageCreateFromJpeg in -lgd... no
checking for gdImageCreateFromXpm in -lgd... no
checking for gdImageCreateFromGd2 in -lgd... no
checking for gdImageCreateTrueColor in -lgd... no
checking for gdImageSetTile in -lgd... no
checking for gdImageSetBrush in -lgd... no
checking for gdImageStringTTF in -lgd... no
checking for gdImageStringFT in -lgd... no
checking for gdImageStringFTEx in -lgd... no
checking for gdImageColorClosestHWB in -lgd... no
checking for gdImageColorResolve in -lgd... no
checking for gdImageGifCtx in -lgd... no

so as you can see, it's even dedecting the GD2 function, but it's not
working.

i've spoken with the creator of GD, and he's positieve that it's an
error in PHP.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20125&edit=1

Reply via email to