View previous topic :: View next topic |
Author |
Message |
jbro n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Nov 2003 Posts: 20
|
Posted: Wed Nov 05, 2003 7:25 am Post subject: mod_php Install Error |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
jbro n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Nov 2003 Posts: 20
|
Posted: Mon Nov 10, 2003 11:43 pm Post subject: |
|
|
I have fixed the problem - I have the gd-external USE flag set which stuffed it up |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mozingod n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Jun 2003 Posts: 64 Location: Ohio
|
Posted: Wed Nov 19, 2003 1:26 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
mozingod n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Jun 2003 Posts: 64 Location: Ohio
|
Posted: Fri Nov 21, 2003 8:22 pm Post subject: |
|
|
Anyone have any ideas? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|