Re: error installing php-4.1.1 --with-gd

From: Date: Wed, 23 Jan 2002 17:25:20 +0000
Subject: Re: error installing php-4.1.1 --with-gd
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-5706@lists.php.net to get a copy of this message
i've had the same problem since 4.0x...eventually i just gave up trying to compile with gd support.If anyone has a better step by step instruction page than the ones i've tried please let us know ;) "Thomas Kirnbauer" <thomas@electric-arts.at> wrote in message news:20020123163531.90669.qmail@pb1.pair.com... > Hi there! > > I tried to install php-4.1.1 on my linux system with apache server. > "Configure" worked without error (configure-options see below), but during > "make install" there was the error described below. > The previous installation of php-4.0.4pl1 (configured with the same > configure-options) worked fine. > None of the other components (gd, zlib, jpeg, libpng) were changed since > installation of php-4.0.4pl1! > > Can anybody help me? Do you have any hints? > > Thank you very much!! > > > Error-msg: > Making install in gd > make[2]: Entering directory `/usr/local/src/php-4.1.1/ext/gd' > make[3]: Entering directory `/usr/local/src/php-4.1.1/ext/gd' > /bin/sh /usr/local/src/php-4.1.1/libtool --silent --mode=compile > gcc -I. -I/usr/local/src/php-4.1.1/ext/gd -I/usr/local/src/php-4.1.1/main - > I/usr/local/src/php-4.1.1 -I/usr/include/apache -I/usr/local/src/php-4.1.1/Z > end -I/usr/include/freetype -I/usr/include/imap -I/usr/interbase/include -I/ > usr/local/src/php-4.1.1/ext/mysql/libmysql -I/usr/local/src/php-4.1.1/ext/xm > l/expat -DLINUX=2 -DMOD_SSL=206104 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -D > HAS_BOOL -DEAPI -DBIG_SECURITY_HOLE -DCOBALT_RAQ_LED -I/usr/local/src/php-4. > 1.1/TSRM -g -O2 -prefer-pic -c gd.c > In file included from gd.c:36: > php_gd.h:69: warning: static declaration for `gdImageColorResolve' follows > non-static > gd.c:92: conflicting types for `gdIOCtx' > /usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx' > gd.c: In function `zif_imagecreatefromgif': > gd.c:1203: `gdImageCreateFromGif' undeclared (first use in this function) > gd.c:1203: (Each undeclared identifier is reported only once > gd.c:1203: for each function it appears in.) > gd.c: In function `zif_imagegif': > gd.c:1432: `gdImageGif' undeclared (first use in this function) > make[3]: *** [gd.lo] Error 1 > make[3]: Leaving directory `/usr/local/src/php-4.1.1/ext/gd' > make[2]: *** [install-recursive] Error 1 > make[2]: Leaving directory `/usr/local/src/php-4.1.1/ext/gd' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/usr/local/src/php-4.1.1/ext' > make: *** [install-recursive] Error 1 > > > Configure-options: > ./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd --enable-ftp > --with-gettext --enable-safe-mode --with-config-file-path=/etc/httpd --wit h- > exec-dir=/usr/bin --with-zlib --enable-magic-quotes --with-regex=system --wi > th-ttf=/usr/lib/libttf.so --enable-track-vars --enable-xml --enable-wddx --d > isable-debug --with-interbase=shared --with-pgsql=shared --with-ldap --with- > imap > > > Versions: > Cobalt Linux release 6.0 (Shinkansen) > Kernel 2.2.14C11 on an i586 > Apache/1.3.12 > php-4.1.1 > gd-1.8.4 > jpeg-6b > libpng-1.0.12 > zlib-1.1.3 > >

« previous php.install (#5706) next »