在 OpenBSD 4.2 -release/-snapshots 中,有一个重要的改动,请大家留意一下:
expat 这个包已经被作为 xbase42.tgz 的一部分,不再是 port/package 的形式了。所以如果大家发现类似这样的 expat 库依赖,你需要 xbase42.tgz。
# pkg_add -v
parsing
Dependencies for php5-core-5.2.3 resolve to: gettext-0.14.6p0, libiconv-1.9.2p3, libxml-2.6.29 (todo: libiconv-1.9.2p3,gettext-0.14.6p0,libxml-2.6.29)
php5-core-5.2.3:parsing libiconv-1.9.2p3
found libspec c.41.0 in /usr/lib
php5-core-5.2.3:libiconv-1.9.2p3: complete
php5-core-5.2.3:parsing gettext-0.14.6p0
Dependencies for gettext-0.14.6p0 resolve to: libiconv-1.9.2p3
found libspec c.41.0 in /usr/lib
Can't install gettext-0.14.6p0: lib not found expat.8.0
Dependencies for gettext-0.14.6p0 resolve to: libiconv-1.9.2p3
Full dependency tree is libiconv-1.9.2p3
found libspec iconv.4.0 in package libiconv-1.9.2p3
php5-core-5.2.3:parsing libxml-2.6.29
Dependencies for libxml-2.6.29 resolve to: libiconv-1.9.2p3
found libspec c.41.0 in /usr/lib
found libspec iconv.4.0 in package libiconv-1.9.2p3
found libspec m.2.3 in /usr/lib
found libspec z.4.1 in /usr/lib
php5-core-5.2.3:libxml-2.6.29: complete
Can't install php5-core-5.2.3: can't resolve gettext-0.14.6p0
# pkg_add -v
parsing
Dependencies for gettext-0.14.6p0 resolve to: libiconv-1.9.2p3
found libspec c.41.0 in /usr/lib
Can't install gettext-0.14.6p0: lib not found expat.8.0
Dependencies for gettext-0.14.6p0 resolve to: libiconv-1.9.2p3
Full dependency tree is libiconv-1.9.2p3
found libspec iconv.4.0 in package libiconv-1.9.2p3
如果是系统已经安装好了,要额外安装 xbase42.tgz 的话,可以用这种方法:
# tar zxfp xbase42.tgz -C /
注意这里的参数 'p',保留权限设置。
阅读(402) | 评论(0) | 转发(0) |