|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-05-22 22:22 UTC] mscalven at uccor dot edu dot ar
Hello,
when I try to install PHP 4.0.5 with GD support it crash with this error:
.........
php_ini.c: In function `php_init_config':
php_ini.c:188: warning: passing arg 3 of `zend_llist_init' from
incompatible pointer type
...........
make[1]: Entering directory `/usr/src/php-4.0.5/ext'
Making all in gd
make[2]: Entering directory `/usr/src/php-4.0.5/ext/gd'
make[3]: Entering directory `/usr/src/php-4.0.5/ext/gd'
gcc -I. -I/usr/src/php-4.0.5/ext/gd -I/usr/src/php-4.0.5/main
-I/usr/src/php-4.0.5 -I/usr/src/apache_1.3.19/src/include
-I/usr/src/apache_1.3.19/src/os/unix -I/usr/src/php-4.0.5/Zend
-I/usr/src/gd-2.0.1 -I/usr/src/php-4.0.5/ext/mysql/libmysql
-I/usr/src/php-4.0.5/ext/xml/expat/xmltok
-I/usr/src/php-4.0.5/ext/xml/expat/xmlparse -I/usr/src/php-4.0.5/TSRM
-DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2
-c gd.c && touch gd.lo
gd.c:91: conflicting types for `gdIOCtx'
/usr/src/gd-2.0.1/gd_io.h:18: previous declaration of `gdIOCtx'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/src/php-4.0.5/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php-4.0.5/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.0.5/ext'
make: *** [all-recursive] Error 1
---------------------------------------
My configure line is:
root@mafalda:/usr/src/php-4.0.5/# ./configure --with-apache=/usr/src/apache_1.3.19 --with-gd=/usr/src/gd-2.0.1
--with-jpeg-dir=/usr/src/jpeg-6b --with-mysql --enable-track-vars
------
My LINUX configuration is:
Kernel version: 2.4.2
gcc version: egcs-2.91.66
make version: GNU Make version 3.79
gd version: 2.0.1
---
Any solution, please.....
Thanks
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 14:00:01 2025 UTC |
Same error with php 4.0.6RC1 ThanksI discover a fix... work? ----- Step 1: execute: ./configure --with-gd=/usr --with-jpeg-dir=/usr/lib --enable-track-vars --with-apache=../apache.1.3.xx --with-mysql Step 2: edit config.cache & find the next line: ac_cv_lib_gd_gdImagePaletteCopy=${ac_cv_lib_gd_gdImagePaletteCopy=no} REPLACE for: ac_cv_lib_gd_gdImagePaletteCopy=${ac_cv_lib_gd_gdImagePaletteCopy=yes} exit & SAVE Step 3: Execute AGAIN: ./configure --with-gd=/usr --with-jpeg-dir=/usr/lib --enable-track-vars --with-apache=../apache.1.3.xx --with-mysql Step 4: make Step 5: make install Step 6: enjoy!!!!! PD: Is it a valid fix??? I don't know... Please send commnets!!!!!!!