Mild emergency. GD 1.7.3 / php4b3 / PNG support failing
| From: | Dave Belfer-Shevett | Date: | Tue, 11 Jan 2000 18:37:21 +0000 |
| Subject: | Mild emergency. GD 1.7.3 / php4b3 / PNG support failing | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-9038@lists.php.net to get a copy of this message | ||
Hey folks - this is a mild emergency. I must get PHP4b3 built with GD/PNG
support for a project that has a Friday morning deadline, and I have a ton
of work to do.
I've pulled Apache 1.3.9, PHP4b3, and Gd1.7.3
GD 1.7.3 built fine
I built php4b3 with:
./configure --prefix=/usr/local/apache --with-gd=../gd1.7.3/
make
make install
Went over to Apache, did the activate-module for php4, and then did the
build for apache. It runs fine, and then fails... I'll paste in the fail
message in a sec.
It sure looks like PHP4 was built assuming 'gif' references. Is there a
magic twiddle I have to do for PHP4 to refence PNG rather than GIF?
Thanks - mail to shevett@homeport.org please for answers...
<=== src/modules
gcc -c -I./os/unix -I./include -funsigned-char
-I/home/shevett/src/php-4.0b3 -I/home/shevett/src/php-4.0b3/libzend
-I/home/shevett/src/php-4.0b3/libzend -I/home/shevett/src/php-4.0b3
-DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite
./apaci modules.c
gcc -c -I./os/unix -I./include -funsigned-char
-I/home/shevett/src/php-4.0b3 -I/home/shevett/src/php-4.0b3/libzend
-I/home/shevett/src/php-4.0b3/libzend -I/home/shevett/src/php-4.0b3
-DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite ./apaci buildmark.c
gcc -funsigned-char -I/home/shevett/src/php-4.0b3
-I/home/shevett/src/php-4.0b3/libzend
-I/home/shevett/src/php-4.0b3/libzend -I/home/shevett/src/php-4.0b3
-DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite ./apaci -o httpd
buildmark.o modules.o modules/standard/libstandard.a
modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a
regex/libregex.a lib/expat-lite/libexpat.a -R/home/shevett/src/gd-1.7.3
-R/usr/local/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4
-lmodphp4 -lm -lcrypt -L/home/shevett/src/gd-1.7.3 -lgd -L/usr/local/lib
-lttf -lpam -lcrypt
/home/shevett/src/gd-1.7.3/libgd.a(gd.o): In function
`gdImageColorResolve':
gd.o(.text+0x288): multiple definition of `gdImageColorResolve'
modules/php4/libphp4.a(gd.o)(.text+0x64):/am/venus/host/home/shevett/src/php-4.0b3/ext/gd/gd.c:
first defined here
/usr/libexec/elf/ld: Warning: size of symbol `gdImageColorResolve' changed
from 202 to 195 in gd.o
modules/php4/libphp4.a(gd.o): In function `php3_imagecreatefromgif':
/am/venus/host/home/shevett/src/php-4.0b3/ext/gd/gd.c(.text+0x45e):
undefined reference to `gdImageCreateFromGif'
modules/php4/libphp4.a(gd.o): In function `php3_imagegif':
/am/venus/host/home/shevett/src/php-4.0b3/ext/gd/gd.c:568: undefined
reference to `gdImageGif'
/am/venus/host/home/shevett/src/php-4.0b3/ext/gd/gd.c:588: undefined
reference to `gdImageGif'
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
-------------------. Web-based problem management: www.stonekeep.com
Dave Belfer-Shevett >----------------------------------------------------.
shevett@pobox.com / 30. Military Intelligence. (from 'Top 50 Oxymorons') \
______________________________________________________/