Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37358 - php-core-4.3.4-r2 pkg_postinst fails
Summary: php-core-4.3.4-r2 pkg_postinst fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-05 17:58 UTC by Markus Nigbur (RETIRED)
Modified: 2004-01-09 15:41 UTC (History)
1 user (show)

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 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.