Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mod_php Install Error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jbro
n00b
n00b


Joined: 05 Nov 2003
Posts: 20

PostPosted: Wed Nov 05, 2003 7:25 am    Post subject: mod_php Install Error Reply with quote

When I install mod_php, i get the following error, With the preceding code:
Code:
/var/tmp/portage/mod_php-4.3.3-r3/work/php-4.3.3/ext/gd/gd.c:1487: `gdImageCreateFromGifCtx' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.3.3-r3/work/php-4.3.3/ext/gd/gd.c: In function `zif_imagegif':
/var/tmp/portage/mod_php-4.3.3-r3/work/php-4.3.3/ext/gd/gd.c:1708: `gdImageGifCtx' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.3.3-r3/work/php-4.3.3/ext/gd/gd.c: In function `_php_image_convert':
/var/tmp/portage/mod_php-4.3.3-r3/work/php-4.3.3/ext/gd/gd.c:3715: `gdImageCreateFromGif' used prior to declaration
/var/tmp/portage/mod_php-4.3.3-r3/work/php-4.3.3/ext/gd/gd.c:3715: 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.3-r3 failed.
!!! Function php_src_compile, Line 403, Exitcode 2
!!! compile problem


I have upgraded from a previous version, and have uninstalled it re-installed it an so on. I have got libgd-2.0.15-r1 installed and that went all fine. What could it be, I have gd and gd-external useflags set.

Thanks
Back to top
View user's profile Send private message
jbro
n00b
n00b


Joined: 05 Nov 2003
Posts: 20

PostPosted: Mon Nov 10, 2003 11:43 pm    Post subject: Reply with quote

I have fixed the problem - I have the gd-external USE flag set which stuffed it up
Back to top
View user's profile Send private message
mozingod
n00b
n00b


Joined: 15 Jun 2003
Posts: 64
Location: Ohio

PostPosted: Wed Nov 19, 2003 1:26 pm    Post subject: Reply with quote

I'm getting the same error. I don't have anything in my USE but apache. My error is slightly different:

Code:
checking for dlfcn.h... yes
checking for fopencookie... yes
configure: error: can not run test program while cross compiling

!!! ERROR: dev-php/mod_php-4.3.3-r3 failed.
!!! Function econf, Line 338, Exitcode 1
!!! econf failed


Anyone have any ideas? I have nothing set for cross compiling so I don't know why it's complaining about it (it's a very minimal install since it's meant to be a production server).

I've waited in hopes of a new version coming out and it just fixing itself, but since apache won't start and I'd like to get this server into production ASAP, I can't wait any longer. Thanks...
Back to top
View user's profile Send private message
mozingod
n00b
n00b


Joined: 15 Jun 2003
Posts: 64
Location: Ohio

PostPosted: Fri Nov 21, 2003 8:22 pm    Post subject: Reply with quote

Anyone have any ideas?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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