So hat mir das $Admin erklaert und mir auch gleich ein
non-working example gezeigt:
$ pkg_add -v php5-core
parsing php5-core-5.2.6
Dependencies for php5-core-5.2.6 resolve to: libiconv-1.12, libxml-2.6.32p1, gettext-0.17 (todo: libxml-2.6.32p1)
php5-core-5.2.6:parsing libxml-2.6.32p1
Dependencies for libxml-2.6.32p1 resolve to: libiconv-1.12
found libspec c.48.0 in /usr/lib
found libspec iconv.5.0 in package libiconv-1.12
found libspec m.3.0 in /usr/lib
found libspec z.4.1 in /usr/lib
php5-core-5.2.6:libxml-2.6.32p1: complete
[...]
Error: truncated archive
php5-core-5.2.6: complete
can't open /usr/local/lib/php/libphp5.so: No such file or directory at /usr/libdata/perl5/OpenBSD/md5.pm line 27.
Mein Vorschlag war das er einfach PKG_PATH auf einen anderen Server setzen soll, aber das hat er kurz ueberlegt und sich dran erinnert das er das auch schon versucht hat und es nicht geholfen hat. Komich, denn
$ export PKG_PATH="http://artfiles.org/openbsd/4.4/packages/i386"
$ pkg_add -v php5-core
parsing php5-core-5.2.6
Dependencies for php5-core-5.2.6 resolve to: libiconv-1.12, libxml-2.6.32p1, gettext-0.17
found libspec c.48.0 in /usr/lib
found libspec crypto.14.0 in /usr/lib
found libspec iconv.5.0 in package libiconv-1.12
found libspec intl.4.0 in package gettext-0.17
found libspec m.3.0 in /usr/lib
found libspec pthread.11.0 in /usr/lib
found libspec ssl.11.0 in /usr/lib
found libspec stdc++.45.0 in /usr/lib
found libspec xml2.10.0 in package libxml-2.6.32p1
found libspec z.4.1 in /usr/lib
installed /var/www/conf/php.ini from /usr/local/share/examples/php5/php.ini-recommended**************************************************************** | 72%
installed /var/www/conf/modules.sample/php5.conf from /usr/local/share/examples/php5/php5.conf
php5-core-5.2.6: complete
--- php5-core-5.2.6 -------------------
To enable the php5 module please create a symbolic
link from /var/www/conf/modules.sample/php5.conf
to /var/www/conf/modules/php5.conf.
ln -s /var/www/conf/modules.sample/php5.conf \
/var/www/conf/modules
The recommended php configuration has been installed
to /var/www/conf/php.ini.
Don't forget that the default OpenBSD httpd is chrooted
into /var/www by default, so you may need to create support
directories such as /var/www/tmp for PHP to work correctly.
$ php --version
PHP 5.2.6 with Suhosin-Patch 0.9.6.2 (cli) (built: Aug 12 2008 12:07:27)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with Suhosin v0.9.20, Copyright (c) 2002-2006, by Hardened-PHP Project
sieht fuer mich so aus als wuerde das das Problem beheben.
War wahrscheinlich schlechtes Karma seinerseits..
Last ten comments: