error installing php-4.1.1 --with-gd

From: Date: Wed, 23 Jan 2002 16:35:29 +0000
Subject: error installing php-4.1.1 --with-gd
Groups: php.install 
Request: Send a blank email to php-install+get-5703@lists.php.net to get a copy of this message
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 --with- 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 (#5703) next »