答复: [PHP-DEV] i cant pass compiling P HP4 with GD,why??

From: Date: Sat, 18 Mar 2000 00:27:40 +0000
Subject: 答复: [PHP-DEV] i cant pass compiling P HP4 with GD,why??
Groups: php.dev 
Request: Send a blank email to php-dev+get-16970@lists.php.net to get a copy of this message
thank you, stig!! and i passed php4-compiling with gd just as you said,greatful! but now,new problem comes:i cant compile apache-1.3.9 with php4,error show below: /usr/local/lib/libgd.a(gd_png.o): In function `gdImagePngCtx': gd_png.o(.text+0x7d9): undefined reference to `png_create_write_struct' gd_png.o(.text+0x807): undefined reference to `png_create_info_struct' any advices is appreciated! -----原始邮件----- 发件人: Stig Bakken [mailto:ssb@fast.no] 发送时间: 2000年3月17日 22:32 收件人: Leo L Liu 抄送: php-dev@lists.php.net 主题: Re: [PHP-DEV] i cant pass compiling PHP4 with GD,why?? Specify the prefix for GD in the configure command: ./configure --with-gd=/usr/local - Stig > Leo L Liu wrote: > > dear all > > error code show below: > > gcc -DHAVE_CONFIG_H -I. -I/usr/local/php-4.0b4pl1/ext/gd -I../.. > -I../../Zend -I/usr/local/php-4.0b4pl1 > -I/usr/local/apache_1.3.9/src/include > -I/usr/local/apache_1.3.9/src/os/unix -I/usr/local/include/mysql > -D_REENTRANT -g -O2 -Wall -c gd.c && touch gd.lo > > In file included from gd.c:32: > php_gd.h:50: gd.h: No such file or directory > gd.c:46: gd.h: No such file or directory > gd.c:47: gdfontt.h: No such file or directory > gd.c:48: gdfonts.h: No such file or directory > gd.c:49: gdfontmb.h: No such file or directory > gd.c:50: gdfontl.h: No such file or directory > gd.c:51: gdfontg.h: No such file or directory > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > > thank u!! > > leo

« previous php.dev (#16970) next »