Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error when emerge mod_php
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
chy168
n00b
n00b


Joined: 12 Mar 2005
Posts: 70

PostPosted: Sat Jan 28, 2006 2:39 am    Post subject: error when emerge mod_php Reply with quote

I try to emerge mod_php, but I get some trouble:

Code:
/var/tmp/portage/mod_php-4.4.0-r9/work/php-4.4.0/ext/gd/libgd/gdft.c:1066: error: `ft_kerning_default' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.4.0-r9/work/php-4.4.0/ext/gd/libgd/gdft.c:1066: error: `delta' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.4.0-r9/work/php-4.4.0/ext/gd/libgd/gdft.c:1084: error: `glyph_bbox' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.4.0-r9/work/php-4.4.0/ext/gd/libgd/gdft.c:1115: error: dereferencing pointer to incomplete type
/var/tmp/portage/mod_php-4.4.0-r9/work/php-4.4.0/ext/gd/libgd/gdft.c:1115: error: `ft_glyph_format_bitmap' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.4.0-r9/work/php-4.4.0/ext/gd/libgd/gdft.c:1115: error: `ft_render_mode_normal' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.4.0-r9/work/php-4.4.0/ext/gd/libgd/gdft.c:1126: error: dereferencing pointer to incomplete type
/var/tmp/portage/mod_php-4.4.0-r9/work/php-4.4.0/ext/gd/libgd/gdft.c:1126: error: dereferencing pointer to incomplete type
/var/tmp/portage/mod_php-4.4.0-r9/work/php-4.4.0/ext/gd/libgd/gdft.c:1126: error: dereferencing pointer to incomplete type
/var/tmp/portage/mod_php-4.4.0-r9/work/php-4.4.0/ext/gd/libgd/gdft.c:1133: error: dereferencing pointer to incomplete type
/var/tmp/portage/mod_php-4.4.0-r9/work/php-4.4.0/ext/gd/libgd/gdft.c:1134: error: dereferencing pointer to incomplete type
make: *** [ext/gd/libgd/gdft.lo] Error 1

!!! ERROR: dev-php/mod_php-4.4.0-r9 failed.
!!! Function php-sapi_src_compile, Line 533, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.




any idea?
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Sat Jan 28, 2006 2:49 am    Post subject: Reply with quote

First: More info is needed: More of the error log and a output of "emerge info"

Second: Looks like a error with either gd or gd-external. Try remerging media-libs/gd and run a "revdep-rebuild" to solve missing dependencies.

cheers

SteveB
Back to top
View user's profile Send private message
rl03
Retired Dev
Retired Dev


Joined: 27 Apr 2004
Posts: 27

PostPosted: Sat Jan 28, 2006 4:26 am    Post subject: Reply with quote

no, don't use mod_php. use dev-lang/php instead. there's a migration guide on the php overlay
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Sat Jan 28, 2006 12:55 pm    Post subject: Reply with quote

rl03 wrote:
no, don't use mod_php. use dev-lang/php instead. there's a migration guide on the php overlay
What? Where is that migration guide? Is mod_php depreciated?

cheers

SteveB
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Sat Jan 28, 2006 1:06 pm    Post subject: Reply with quote

steveb wrote:
rl03 wrote:
no, don't use mod_php. use dev-lang/php instead. there's a migration guide on the php overlay
What? Where is that migration guide? Is mod_php depreciated?

cheers

SteveB


Yes, dev-php/php, dev-php/pgp-cgi and dev-php/mod_php have been merged into the new dev-lang/php package, the upgrade guide can be found here: http://www.gentoo.org/proj/en/php/php-upgrading.xml
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Tue Feb 21, 2006 10:25 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, please see this topic.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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