View previous topic :: View next topic |
Author |
Message |
Ph0eniX Guru
Joined: 24 Sep 2004 Posts: 502 Location: New York, U.S.
|
Posted: Thu Jul 20, 2006 2:46 pm Post subject: Emerging php_mod with pear |
|
|
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 |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Thu Jul 20, 2006 3:18 pm Post subject: |
|
|
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 |
|
|
Ph0eniX Guru
Joined: 24 Sep 2004 Posts: 502 Location: New York, U.S.
|
Posted: Thu Jul 20, 2006 3:30 pm Post subject: |
|
|
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 |
|
|
llongi Retired Dev
Joined: 15 Apr 2004 Posts: 459 Location: Switzerland
|
Posted: Thu Jul 20, 2006 3:50 pm Post subject: |
|
|
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 |
|
|
shadan_tf11 n00b
Joined: 21 Jul 2006 Posts: 6 Location: BSb-Brazil
|
Posted: Wed Jul 26, 2006 1:41 pm Post subject: |
|
|
He tries to put a flag for the application specifies...
ex: it goes ldap USES = "pcre session expat" |
|
Back to top |
|
|
|