vxspiritxv n00b
Joined: 07 Apr 2003 Posts: 60
|
Posted: Thu Jul 31, 2003 12:40 am Post subject: php problem (gentoo based, not a prob on my slack box) |
|
|
the problem:
Call to undefined function: imagecreatetruecolor()
I have no idea what is causing it, GD seems to be installed.
-edit-
I found im running libgd-1.8.4-r2
im going to try force installing:
libgd-2.0.15-r1.ebuild
the above page will be down until I edit again (who knows maybe im dumb and found my problem)
-edit-
no good! wouldnt compile with the new gd =(
/bin/sh /var/tmp/portage/mod_php-4.3.2-r4/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/include -Iext/gd/ -I/var/tmp/portage/mod_php-4.3.2-r4/work/php-4.3.2/ext/gd/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2-r4/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2-r4/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2-r4/work/php-4.3.2 -I/usr/include/apache2 -I/var/tmp/portage/mod_php-4.3.2-r4/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2-r4/work/php-4.3.2/ext/xml/expat -I/var/tmp/portage/mod_php-4.3.2-r4/work/php-4.3.2/TSRM -mcpu=athlon-xp -O3 -pipe -prefer-pic -c /var/tmp/portage/mod_php-4.3.2-r4/work/php-4.3.2/ext/gd/gdttf.c -o ext/gd/gdttf.lo
/var/tmp/portage/mod_php-4.3.2-r4/work/php-4.3.2/ext/gd/gd.c: In function `_php_image_convert':
/var/tmp/portage/mod_php-4.3.2-r4/work/php-4.3.2/ext/gd/gd.c:3714: `gdImageCreateFromGif' used prior to declaration
/var/tmp/portage/mod_php-4.3.2-r4/work/php-4.3.2/ext/gd/gd.c:3714: warning: assignment makes pointer from integer without a cast
make: *** [ext/gd/gd.lo] Error 1
make: *** Waiting for unfinished jobs....
!!! ERROR: dev-php/mod_php-4.3.2-r4 failed.
!!! Function php_src_compile, Line 387, Exitcode 2
!!! compile problem
--edit
bound to happen fue hours later fixed my own problem
New gd was needed... got php to compile with gd2.0.15 on a guess.... removed gd-external from use flag. Hope no one else runs into this |
|