xNIX/

FreeBSD 中无法通过 ports 安装软件问题解决

发布
修订
未修订
字数
109
阅读
1 分钟

在 FreeBSD 的 10.0 release 上面安装 nginx ,提示如下:

bash
Ports Collection support for your FreeBSD version has ended, and no ports are guaranteed to build on this system. Please upgrade to a supported release.

No support will be provided if you silence this message by defining ALLOW_UNSUPPORTED_SYSTEM.

*** Error code 1

怎么解决呢?后来找到一个简单粗暴的方法:
生成一个新文件,如下:

bash
# more /etc/make.conf
ALLOW_UNSUPPORTED_SYSTEM=YES

然后再 make install ,就 OK 了。

评论

正在载入评论…

留下评论

人机验证
四位数字,看不清可点击图片刷新

评论经审核后显示。

回到顶部 ↑