On Sunday 20 February 2005 14:04, Paul Kain wrote:
> Hi all
> I get this error while emerging mod_php
>
> server torrents # emerge mod_php
> Calculating dependencies ...done!
> >>> emerge (1 of 2) dev-php/php-5.0.3 to /
> mv: cannot stat `/var/tmp/portage/php-5.0.3/temp/environment': No such
> file or directory
> >>> md5 src_uri ;-) php-5.0.3.tar.bz2
> >>> Checking php-5.0.3.tar.bz2's mtime...
> >>> WORKDIR is up-to-date, keeping...
> >>> It appears that php is already compiled; skipping.
> >>> (clean to force compilation)
> >>> Test phase [not enabled]: dev-php/php-5.0.3
>
> >>> Install php-5.0.3 into /var/tmp/portage/php-5.0.3/image/ category dev-php
> Installing PHP SAPI module: embed
> Installing PHP CLI binary: /var/tmp/portage/php-5.0.3/image//usr/bin/
> Installing PHP CLI man page:
> /var/tmp/portage/php-5.0.3/image//usr/share/man/man1/
> Installing PEAR environment:
> /var/tmp/portage/php-5.0.3/image//usr/lib/php/
> /var/tmp/portage/php-5.0.3/work/php-5.0.3/sapi/cli/php: error while
> loading shared libraries: libhistory.so.4: cannot open shared object
> file: No such file or directory
> make[1]: *** [install-pear-installer] Error 127
> make: *** [install-pear] Error 2
>
> !!! ERROR: dev-php/php-5.0.3 failed.
> !!! Function php5-sapi_src_install, Line 452, Exitcode 2
> !!! install failed
> !!! If you need support, post the topmost build error, NOT this status
> message.
>
> any ideas?
>
Try doing
# rm -rf /var/tmp/portage/php-5.0.3
# emerge mod_php
and see if that helps (it will force php to be completely rebuilt). I once had
a problem
with PHP and libhistory. re-merging php fixed it.
--
t3h 3l3ctr0n3rd <[EMAIL PROTECTED]>
Supermarket Deli Clerk and Student Programmer
OpenPGP Key Fingerprint:
0A65 EEFA B23A F0AC E6C2 C71C BEA0 E055 BE0E EC25
pgp0GzJ4U8BSW.pgp
Description: PGP signature
