Re: cvs: php4 /ext/gd [...]

From: Date: Sat, 20 Apr 2002 02:15:05 +0000
Subject: Re: cvs: php4 /ext/gd [...]
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11254@lists.php.net to get a copy of this message
I won't have time to fix this for a while. On Fri, 19 Apr 2002, Markus Fischer wrote: > On Sat, Apr 13, 2002 at 02:03:10AM -0000, Rasmus Lerdorf wrote : > > rasmus Fri Apr 12 22:03:10 2002 EDT > > > > Modified files: > > /php4/ext/gd config.m4 > > Log: > > Initial commit of the built-in libgd based on GD-2.0.1 > > This initial checkin has no changes to any of the libgd code so it can > > be used as a basis for diffs. It also will not build currently because > > of this. The PHP gd checks need to be incorporated along with a bit of > > other config magic. It also shouldn't break the build and will only > > take effect if you use --with-gd=php right now. > > When can we expect this getting fixed ? :) > > ./configure --prefix=/home/mfischer/php --with-gd > > Compiles without problems and gives me on my test script: > Your build supports the following image types: PNG JPG WBMP XPM > > ./configure --prefix=/home/mfischer/php --with-gd > > ext/gd/libgd/gd_gd2.o: In function `_gd2ReadChunk': > /home/mfischer/isrc/cvs/php4/ext/gd/libgd/gd_gd2.c:234: undefined reference to > `uncompress' > ext/gd/libgd/gd_gd2.o: In function `_gdImageGd2': > /home/mfischer/isrc/cvs/php4/ext/gd/libgd/gd_gd2.c:856: undefined reference to `compress' > ext/gd/libgd/gd_ss.o: In function `gdImagePngToSink': > /home/mfischer/isrc/cvs/php4/ext/gd/libgd/gd_ss.c:23: undefined reference to > `gdImagePngCtx' > ext/gd/libgd/gd_ss.o: In function `gdImageCreateFromPngSource': > /home/mfischer/isrc/cvs/php4/ext/gd/libgd/gd_ss.c:33: undefined reference to > `gdImageCreateFromPngCtx' > ext/gd/libgd/gd_topal.o: In function `gdImageTrueColorToPalette': > /home/mfischer/isrc/cvs/php4/ext/gd/libgd/gd_topal.c:1577: undefined reference to > `gdImagePng' > collect2: ld returned 1 exit status > > So it misses zlib and png. Tried to add them: > > ./configure --prefix=/home/mfischer/php --with-gd=php --with-zlib --with-png-dir=/usr > > ext/gd/libgd/gd_ss.o: In function `gdImagePngToSink': > /home/mfischer/isrc/cvs/php4/ext/gd/libgd/gd_ss.c:23: undefined reference to > `gdImagePngCtx' > ext/gd/libgd/gd_ss.o: In function `gdImageCreateFromPngSource': > /home/mfischer/isrc/cvs/php4/ext/gd/libgd/gd_ss.c:33: undefined reference to > `gdImageCreateFromPngCtx' > ext/gd/libgd/gd_topal.o: In function `gdImageTrueColorToPalette': > /home/mfischer/isrc/cvs/php4/ext/gd/libgd/gd_topal.c:1577: undefined reference to > `gdImagePng' > collect2: ld returned 1 exit status > > not much luck . . . > > > - Markus >

« previous php.cvs (#11254) next »