how to build latest gd and php4?

From: Date: Sat, 03 Jun 2000 21:53:26 +0000
Subject: how to build latest gd and php4?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-962@lists.php.net to get a copy of this message
When I installed gd 1.8.3 from src into its default location, the apache php lib build fails. i have to go back and build php4 with "--without-gd". I want the latest gd for its ability to build gif images on the fly. Interestingly enough, the PHP build works fine in either case. Anybody venture a guess? t.i.a. here's the actual errors I get when I 'make' Apache after successfully making PHP4: /usr/local/lib/libgd.a(gd.o): In function `gdImageColorResolve': gd.o(.text+0x6a0): multiple definition of `gdImageColorResolve' modules/php4/libphp4.a(gd.o):/home/steve/php-4.0.0/ext/gd/gd.c:275: first defined here /usr/bin/ld: Warning: size of symbol `gdImageColorResolve' changed from 278 to 226 in gd.o modules/php4/libphp4.a(gd.o): In function `php_if_imagecreatefromgif': /home/steve/php-4.0.0/ext/gd/gd.c:568: undefined reference to `gdImageCreateFromGif' modules/php4/libphp4.a(gd.o): In function `php_if_imagegif': /home/steve/php-4.0.0/ext/gd/gd.c:620: undefined reference to `gdImageGif' /home/steve/php-4.0.0/ext/gd/gd.c:638: undefined reference to `gdImageGif' modules/php4/libphp4.a(gd.o): In function `php_if_imagecreatefromjpeg': /home/steve/php-4.0.0/ext/gd/gd.c:693: undefined reference to `gdImageCreateFromJpeg' modules/php4/libphp4.a(gd.o): In function `php_if_imagejpeg': /home/steve/php-4.0.0/ext/gd/gd.c:748: undefined reference to `gdImageJpeg' /home/steve/php-4.0.0/ext/gd/gd.c:763: undefined reference to `gdImageJpeg' collect2: ld returned 1 exit status -- Steve Maller http://www.maller.com I look upon life as a gift from God. I did nothing to earn it. Now that the time is coming to give it back, I have no right to complain. -- Joyce Cary

« previous php.general (#962) next »