Trouble with PHP4.0
| From: | HAMEL Nicolas | Date: | Thu, 11 Jan 2001 16:54:18 +0000 |
| Subject: | Trouble with PHP4.0 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-1554@lists.php.net to get a copy of this message | ||
Hi there,
i am currently trying to install Apache 1.3.14 with PHP 4.0.2 , but i'm getting a weird
pb when i'm compiling apache,
the configure that i have done for php is :
./configure --with-mysql --with-gd=../gd-1.8.3 --enable-ftp --enable-track-vars
--with-apache=../apache_1.3.14
then i've done : make, make install
Apache part :
the configure :
./configure --prefix=/opt/www --activate-module=src/modules/php4/libphp4.a
everything is ok but when i do :
make , i have these errors :
hp4 -lpam -lpng -lz -lgd -lm -lcrypt -lcrypt
modules/php4/libphp4.a(file.o): In function `php_if_tempnam':
/root/INSTALL/php-4.0.2/ext/standard/file.c(.text+0xe5d): warning: tempnam() possibly used unsafely;
consider using mkstemp()
/root/INSTALL/gd-1.8.3/libgd.a(gd_png.o): In function `gdPngErrorHandler':
gd_png.o(.text+0x34): undefined reference to `png_get_error_ptr'
/root/INSTALL/gd-1.8.3/libgd.a(gd_png.o): In function `gdPngReadData':
gd_png.o(.text+0x90): undefined reference to `png_get_io_ptr'
/root/INSTALL/gd-1.8.3/libgd.a(gd_png.o): In function `gdPngWriteData':
gd_png.o(.text+0xbc): undefined reference to `png_get_io_ptr'
/root/INSTALL/gd-1.8.3/libgd.a(gd_png.o): In function `gdImageCreateFromPngCtx':
gd_png.o(.text+0x149): undefined reference to `png_check_sig'
gd_png.o(.text+0x16e): undefined reference to `png_create_read_struct'
gd_png.o(.text+0x19f): undefined reference to `png_create_info_struct'
gd_png.o(.text+0x1f9): undefined reference to `png_set_sig_bytes'
gd_png.o(.text+0x20d): undefined reference to `png_set_read_fn'
gd_png.o(.text+0x21e): undefined reference to `png_read_info'
gd_png.o(.text+0x244): undefined reference to `png_get_IHDR'
gd_png.o(.text+0x258): undefined reference to `png_set_strip_16'
gd_png.o(.text+0x26d): undefined reference to `png_set_packing'
gd_png.o(.text+0x293): undefined reference to `png_set_strip_alpha'
gd_png.o(.text+0x2bf): undefined reference to `png_get_PLTE'
gd_png.o(.text+0x2cf): undefined reference to `png_get_valid'
gd_png.o(.text+0x303): undefined reference to `png_get_tRNS'
gd_png.o(.text+0x417): undefined reference to `png_get_valid'
gd_png.o(.text+0x438): undefined reference to `png_get_tRNS'
gd_png.o(.text+0x4a2): undefined reference to `png_get_valid'
gd_png.o(.text+0x4bf): undefined reference to `png_get_tRNS'
gd_png.o(.text+0x5a4): undefined reference to `png_set_dither'
gd_png.o(.text+0x5b5): undefined reference to `png_read_update_info'
gd_png.o(.text+0x5c3): undefined reference to `png_get_rowbytes'
gd_png.o(.text+0x603): undefined reference to `png_destroy_read_struct'
gd_png.o(.text+0x649): undefined reference to `png_destroy_read_struct'
gd_png.o(.text+0x683): undefined reference to `png_read_image'
gd_png.o(.text+0x690): undefined reference to `png_read_end'
gd_png.o(.text+0x6ce): undefined reference to `png_destroy_read_struct'
gd_png.o(.text+0x7b1): undefined reference to `png_destroy_read_struct'
/root/INSTALL/gd-1.8.3/libgd.a(gd_png.o): In function `gdImagePngCtx':
gd_png.o(.text+0x915): undefined reference to `png_create_write_struct'
gd_png.o(.text+0x94a): undefined reference to `png_create_info_struct'
gd_png.o(.text+0x9ac): undefined reference to `png_destroy_write_struct'
gd_png.o(.text+0x9cd): undefined reference to `png_set_write_fn'
gd_png.o(.text+0xad9): undefined reference to `png_set_IHDR'
gd_png.o(.text+0xb56): undefined reference to `png_set_tRNS'
gd_png.o(.text+0xcd7): undefined reference to `png_set_PLTE'
gd_png.o(.text+0xceb): undefined reference to `png_write_info'
gd_png.o(.text+0xcfc): undefined reference to `png_set_packing'
gd_png.o(.text+0xdf4): undefined reference to `png_write_image'
gd_png.o(.text+0xe08): undefined reference to `png_write_end'
gd_png.o(.text+0xe53): undefined reference to `png_write_image'
gd_png.o(.text+0xe67): undefined reference to `png_write_end'
gd_png.o(.text+0xe80): undefined reference to `png_destroy_write_struct'
*** Error code 1
Stop in /root/INSTALL/apache_1.3.14/src.
*** Error code 1
Stop in /root/INSTALL/apache_1.3.14.
*** Error code 1
--------
Anyone can help ?
Thanks