Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
php problem (gentoo based, not a prob on my slack box)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
vxspiritxv
n00b
n00b


Joined: 07 Apr 2003
Posts: 60

PostPosted: Thu Jul 31, 2003 12:40 am    Post subject: php problem (gentoo based, not a prob on my slack box) Reply with quote

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 ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum