专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅

首页 »Linux » freebsd安装ports:FreeBSD用ports安装Firefox不成功 »正文

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条 分0页

发表评论

  • 昵称:
  • 内容: