Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 37358

Summary: php-core-4.3.4-r2 pkg_postinst fails
Product: Gentoo Linux Reporter: Markus Nigbur (RETIRED) <pYrania>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED INVALID    
Severity: normal CC: robbat2
Priority: High    
Version: 1.4   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Markus Nigbur (RETIRED) gentoo-dev 2004-01-05 17:58:41 UTC
the pkg_postinst in php-core-4.3.4-r2 calles:
pear config-set cache_dir /tmp/pear/cache

pear however relies on /usr/bin/php, so we'll get an error if php-core is merged as a dependency of mod_php an we don't have dev-php/php installed:
/usr/bin/pear: line 28: /usr/bin/php: No such file or directory
/usr/bin/pear: line 28: exec: /usr/bin/php: cannot execute: No such file or directory

A depend on php wouldn't be the best solution i guess ;)
Comment 1 Tal Peer (RETIRED) gentoo-dev 2004-01-09 15:31:12 UTC
robbat2: isn't that fixed now?
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-09 15:41:58 UTC
php-core is yes, however I did not fix the old instance of this in php-core, only the new stuff in dev-php/php.

Unfortunely the only solution that works in the end IS a depend on dev-php/php, which is now in dev-php/{mod_php,php}-r2.