[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Make failing on PHP4 build



On Sun, 13 Aug 2000, Jeff Martin wrote:

> Installing PHP4 on RaQ3.  PHP3 already installed.  This is my configure
command:
> 
> [admin:43 /var/tmp/php-4.0.1pl2] ./configure --with-mysql --with-apxs
> 
> Then I do make.  Goes along nicely for a while, and then tells me this:
> 
> Making all in gd
> make[2]: Entering directory `/var/tmp/php-4.0.1pl2/ext/gd'
> make[3]: Entering directory `/var/tmp/php-4.0.1pl2/ext/gd'
> /bin/sh /var/tmp/php-4.0.1pl2/libtool --silent --mode=compile gcc
-DHAVE_CONFIG_H
> -I. -I/var/tmp/php-4.0.1pl2/ext/gd -I/var/tmp/php-4.0.1pl2
-I/var/tmp/php-4.0.1pl2
> /main -I/usr/include/apache -I/var/tmp/php-4.0.1pl2/Zend
-I/var/tmp/php-4.0.1pl2 -
> I/var/tmp/php-4.0.1pl2/ext/mysql/libmysql
-I/var/tmp/php-4.0.1pl2/ext/xml/expat/xm
> ltok -I/var/tmp/php-4.0.1pl2/ext/xml/expat/xmlparse  -DEAPI=1
-DXML_BYTE_ORDER=12 
> -g -O2  -c gd.c
> gd.c: In function `php_if_imagecreatefromgif':
> gd.c:472: `gdImageCreateFromGif' undeclared (first use in this function)
> gd.c:472: (Each undeclared identifier is reported only once
> gd.c:472: for each function it appears in.)
> gd.c: In function `php_if_imagegif':
> gd.c:629: `gdImageGif' undeclared (first use in this function)
  
Jeff, I believe it's b/c you need to specify the path to the gd library   
during the ./configure step of PHP.  That flag will look like:
  
--with-gd=/path_to/gd
  
Also, check that the gd library is installed on your RaQ3.  If not, I 
believe gd-1.8.3 is the latest and I have installed that on my RaQ2s and I
believe some RaQ3s, but I don't have access to any RaQ3s to check at the
moment.
  
--             
Steven Werby {steven-lists@xxxxxxxxxxxx}