Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111454 - dev-php/php-4.4.0-r3: md5sum: //root/.pearrc: No such file or directory
Summary: dev-php/php-4.4.0-r3: md5sum: //root/.pearrc: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-04 02:30 UTC by Toralf Förster
Modified: 2006-01-20 01:24 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 Toralf Förster gentoo-dev 2005-11-04 02:30:46 UTC
Instead of using if [ ... -a ... ]; then you shoud use if [[ ... && ]]; then,
b/c from the install log of php:
 * You cannot use it on a webserver.
md5sum: //root/.pearrc: No such file or directory
>>> Regenerating /etc/ld.so.cache...
>>> dev-php/php-4.4.0-r3 merged.


Here is the reason :
tfoerste@n22 ~ $ if [ -f "/root/.pearrc" -a "`md5sum /root/.pearrc`" =
"f0243f51b2457bc545158cf066e4e7a2 /root/.pearrc" ]; then echo yes; else echo no; fi
md5sum: /root/.pearrc: Permission denied
no
tfoerste@n22 ~ $ if [[ -f "/root/.pearrc" && "`md5sum /root/.pearrc`" =
"f0243f51b2457bc545158cf066e4e7a2 /root/.pearrc" ]]; then echo yes; else echo no; fi
no


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Sebastian Bergmann (RETIRED) gentoo-dev 2006-01-20 01:24:14 UTC
dev-php/php, dev-php/mod_php, and dev-php/php-cgi have been replaced by dev-lang/php.

Please upgrade (following the guide at http://svn.gnqs.org/projects/gentoo-php-overlay/file/docs/php-upgrading.html?format=raw) to the new-style PHP package and open a new bug if the problem persists.

Thank you.