FreeBSD如何重建所有p5- * Perl 5端口
在FreeBSD系统上,说明要重建所有p5- *端口 – 我该怎么做?
一点背景……我是一个经验丰富的Linux人,试用(和喜欢)最新的PC-BSD(PCBSD9.2-RELEASE-x64).我之前已经安装了简单的软件包和端口,我想我会尝试一些更具异国情调的 – mono和F#: cd /usr/ports/lang/mono && make install clean BATCH=yes && cd /usr/ports/lang/fsharp && make install clean BATCH=yes 我收到此错误输出: configure: error: perl module Locale::gettext required ===> Script "configure" failed unexpectedly. Please read UPDATING entry 20130612 (http://svnweb.freebsd.org/ports/head/UPDATING?r1=320405&r2=32067) and PR/184276 (http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/184276) to fix your Perl installation if you got the error message "configure: error: perl module Locale::gettext required". 第一个链接不起作用(为什么不?),但第二个链接(http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/184276)解释说“安装Perl的目录结构也已被修改…. [作为] 20130612布局更改的结果”和修复是: rebuild all p5-* ports 我假设所有p5- *端口都意味着所有Perl 5端口.如何找到我安装的Perl 5端口?并重建所有这些? 解决方法
通常,您可以查阅/usr/ports / UPDATING文件的内容,了解如何处理非平凡的升级.通常,它为使用portupgrade,portmaster或binary pkgng软件包的用户提供解决方案.
以下是UPDATING文件中20130612条目的说明: ... Please rebuild all Perl ports and all ports that depend on it: # portmaster -r perl or # portupgrade -rf perl or # pkg install -fR perl 第一条指令适用于使用ports-mgmt / portmaster端口的系统,第二条指令适用于使用ports-mgmt / portupgrade端口的系统,第三条指令适用于使用二进制pkgng软件包的系统. 我担心如果你想避免安装一个端口管理器/辅助工具,你就会有一个更困难的工作,因为你必须手动完成每一个Perl 5端口并运行make deinstall&&重新安装. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |