Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compiling php5 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
Cotton
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2004
Posts: 85
Location: Murray, UT

PostPosted: Thu Feb 24, 2005 1:06 am    Post subject: compiling php5 error Reply with quote

Code:
>>> emerge (6 of 11) dev-php/php-5.0.3 to /
>>> Downloading http://gentoo.oregonstate.edu/distfiles/php-5.0.3.tar.bz2
--17:31:39--  http://gentoo.oregonstate.edu/distfiles/php-5.0.3.tar.bz2
           => `/usr/portage/distfiles/php-5.0.3.tar.bz2'
Resolving gentoo.oregonstate.edu... 140.211.166.134
Connecting to gentoo.oregonstate.edu[140.211.166.134]:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://gentoo.osuosl.org/distfiles/php-5.0.3.tar.bz2 [following]
--17:31:39--  http://gentoo.osuosl.org/distfiles/php-5.0.3.tar.bz2
           => `/usr/portage/distfiles/php-5.0.3.tar.bz2'
Resolving gentoo.osuosl.org... 140.211.166.134
Connecting to gentoo.osuosl.org[140.211.166.134]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4,607,759 [application/x-tar]

100%[====================================>] 4,607,759    114.11K/s    ETA 00:00

17:32:26 (97.52 KB/s) - `/usr/portage/distfiles/php-5.0.3.tar.bz2' saved [4607759/4607759]

>>> md5 src_uri ;-) php-5.0.3.tar.bz2

 * USE flag 'jpeg' needs one of these additional flag(s) set:
 *    gd gd-external cpdflib
 *
 * You can do this by enabling one of these flags in /etc/portage/package.use
 *

!!! ERROR: dev-php/php-5.0.3 failed.
!!! Function confutils_use_depend_any, Line 157, Exitcode 0
!!! Need missing USE flag
!!! If you need support, post the topmost build error, NOT this status message.

so how do I add one of "gd gd-external cpdflib" to package.use, my current layout of that file is:
Code:
sys-apps/dbus -qt
net-p2p/gtk-gnutella-gtk2


also, which one should i put in package.use for php5?

TIA,
Cotton
_________________
Ajax DNS tools at ajaxdns.com | get your DNS on
Back to top
View user's profile Send private message
hw-tph
l33t
l33t


Joined: 08 Jan 2004
Posts: 768
Location: Uppsala, Sweden

PostPosted: Thu Feb 24, 2005 5:48 am    Post subject: Reply with quote

As a disclaimer I must say that I haven't done this myself, but this:
Code:
dev-php/php gd

...in package.use should do the trick.


Håkan
Back to top
View user's profile Send private message
Luud
Apprentice
Apprentice


Joined: 05 Jun 2003
Posts: 246
Location: Netherlands

PostPosted: Thu Feb 24, 2005 4:19 pm    Post subject: Reply with quote

Check the buglist, I remember seeing a bug report on gd-external and php5.

Might be that you just hit this bug.
_________________
"Great minds don't think alike. If they did, the patent office would only have about fifty inventions." - Wally
Back to top
View user's profile Send private message
Cotton
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2004
Posts: 85
Location: Murray, UT

PostPosted: Thu Feb 24, 2005 4:30 pm    Post subject: Reply with quote

hw-tph wrote:
As a disclaimer I must say that I haven't done this myself, but this:
Code:
dev-php/php gd

...in package.use should do the trick.


Håkan


that worked great, thanks a bunch. i also had to add "dba" , but after that it went through smoovely.

thanks again,
Cotton
_________________
Ajax DNS tools at ajaxdns.com | get your DNS on
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