Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerging php_mod with pear
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
Ph0eniX
Guru
Guru


Joined: 24 Sep 2004
Posts: 502
Location: New York, U.S.

PostPosted: Thu Jul 20, 2006 2:46 pm    Post subject: Emerging php_mod with pear Reply with quote

I put "pear" into /etc/make.conf (USE=) but when I re-emerge mod_php it still gets compiled "--without=pear". How do I fix that?

Thanks!
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Thu Jul 20, 2006 3:18 pm    Post subject: Reply with quote

According to emerge -pv php a pear USE flag does not exist. PEAR is a separate package, emerge PEAR-PEAR to get it.

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
Ph0eniX
Guru
Guru


Joined: 24 Sep 2004
Posts: 502
Location: New York, U.S.

PostPosted: Thu Jul 20, 2006 3:30 pm    Post subject: Reply with quote

kashani wrote:
According to emerge -pv php a pear USE flag does not exist. PEAR is a separate package, emerge PEAR-PEAR to get it.

kashani


Hi, I'm using PHP-4.4. When I try "emerge --pretend" PEAR-PEAR, it wants to emerge PHP-5. I'm not ready for it. Is there a way to make it work with PHP-4?

Thanks!
Back to top
View user's profile Send private message
llongi
Retired Dev
Retired Dev


Joined: 15 Apr 2004
Posts: 459
Location: Switzerland

PostPosted: Thu Jul 20, 2006 3:50 pm    Post subject: Reply with quote

That's not really because PEAR-PEAR needs PHP5 (it works perfectly fine with PHP4 too), but because of how Portage resolves SLOTed dependencies.
To fix, just mask PHP5 and above:
Code:
echo ">=dev-lang/php-5.0.0" >> /etc/portage/package.mask

_________________
Best regards, Luca.
Back to top
View user's profile Send private message
shadan_tf11
n00b
n00b


Joined: 21 Jul 2006
Posts: 6
Location: BSb-Brazil

PostPosted: Wed Jul 26, 2006 1:41 pm    Post subject: Reply with quote

He tries to put a flag for the application specifies...

ex: it goes ldap USES = "pcre session expat"
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