Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98035 - php-pear.eclass needs PEAR-PEAR
Summary: php-pear.eclass needs PEAR-PEAR
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-05 11:49 UTC by Wendall Cada
Modified: 2005-07-05 13:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wendall Cada 2005-07-05 11:49:39 UTC
php-pear.eclass does not depend on PEAR-PEAR, which makes many packages fail if
it is not installed. Here is an example failure:

>>> Install PEAR-DB-1.7.6 into /var/tmp/portage/PEAR-DB-1.7.6/image/ category
dev-php
/usr/portage/eclass/php-pear.eclass: line 49: pear: command not found

!!! ERROR: dev-php/PEAR-DB-1.7.6 failed.
!!! Function php-pear_src_install, Line 49, Exitcode 127
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Wendall Cada 2005-07-05 11:53:48 UTC
Bug related to this issue:
http://bugs.gentoo.org/show_bug.cgi?id=95253
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-05 13:29:00 UTC
Which php version are you using?
Comment 3 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-05 13:35:30 UTC
Only package.masked versions of PHP (php, php-cgi, and mod_php packages) do not
install PEAR.

If you use PHP 5.1 and want to emerge PEAR-* packages you have to unmask and
install PEAR-PEAR-1.3.5-r1.

If you use PHP 5.1 and want to emerge PECL-* packages you have to unmask and
install phpconfig.