Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I do not know how to issue commands to select PHP_TARGETS="
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
aizr1212
n00b
n00b


Joined: 11 Oct 2011
Posts: 2

PostPosted: Tue Oct 11, 2011 2:47 pm    Post subject: I do not know how to issue commands to select PHP_TARGETS=& Reply with quote

I have a technical problem in Gentoo. I have installed Gentoo environment php5.2.17, appeared to continue the installation "dev-php5/pecl-imagick" .
I doubt the problem is as follows

[ebuild UD~] dev-php5/pecl-imagick-3.0.0-r1 [3.0.1-r1] USE="-examples" PHP_TARGETS="php5-3 (-php5-2)" 92 kB

I do not know how to issue commands to select PHP_TARGETS="php5-3 (-php5-2)" . ( I want to choose the php5-2 )
Please help me thanks.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Tue Oct 11, 2011 3:36 pm    Post subject: Reply with quote

First off, you don't need to make the font so big on your posts :?

To answer your question, add this to your /etc/make.conf:
Code:
PHP_TARGETS="php5-2"

You will need to make sure you have dev-lang/php:5.2 emerged, though. It is currently masked, so you might run into some problems there.


Edit: Actually what I wrote above will no longer work, due to the masking of php-5.2 for removal. Take a look here for instructions, but the better solution would be to upgrade to php-5.3, if at all possible:
https://forums.gentoo.org/viewtopic-t-893370-highlight-phptargetsphp52.html
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