freebsd安装ports:FreeBSD用ports安装Firefox不成功来源: 发布时间:星期四, 2008年12月4日 浏览:12次 评论:0
今天在FreeBSD 5.4 Release中安装Firefox, 先更新ports tree到最新版本: FreeBSD# cvsup -g -L 2 /root/ports-supfile 然后到Firefox的目录中去执行make: FreeBSD# cd /usr/ports/www/firefox FreeBSD# make 没多久,系统就爆出了编译错误: nsHostResolver.h:95: error: ISO C++ forbids declaration of `PRAddrInfo' with no type nsHostResolver.h:95: error: expected `;' before '*' token nsHostResolver.h: In member function `PRBool nsHostRecord::HasResult() const': nsHostResolver.h:99: error: `addr_info' undeclared (first use this function) nsHostResolver.h:99: error: (Each undeclared identifier is reported _disibledevent=nspr 查出来有如下几个: Port: nspr-4.4.1_1 Path: /usr/ports/devel/nspr Port: dnsproxy-1.13 Path: /usr/ports/dns/dnsproxy Port: transproxy-1.5 Path: /usr/ports/www/transproxy 对他们一一进行make, make install后,再来安装firefox即可! 0
相关文章
读者评论
发表评论 |