作者chinsan (有若无,实若虚)
看板FreeBSD
标题Re: [问题] port安装make却卡住
时间Fri Feb 25 10:14:09 2011
※ 引述《bestwishes (觅知音 寻知己...)》之铭言:
: ※ 引述《integrate (人生失败组.......)》之铭言:
: : => Attempting to fetch ftp://ftp3.tw.freebsd.org/pub/FreeBSD/ports/distfiles
: : /apache22//httpd-2.2.17.tar.bz2
: : fetch: ftp://ftp3.tw.freebsd.org/pub/FreeBSD/ports/distfiles/apache22/httpd-
: : 2.2.17.tar.bz2: No route to host
: : 一堆站台都是 No route to host
: : 有试过ping ftp3.tw.freebsd.org 是ping的到的
应该你那边(或 NAT)防火墙对 ftp protocol 没开吧, 才会 "No route to host"
: : 安装完後有更新过
: : #portsnap fetch extract
: : #portsnap fetch update
: : 想用port安装apache 却没办法
: : 不知道是不是因为外面要连进来只有port80开放的关系
就设 /etc/make.conf 加上下面的即可
# Setup distfiles mirror sites
# see /usr/ports/Mk/bsd.sites.mk for more info
MASTER_SITE_BACKUP?= \
http://ftp11.tw.freebsd.org/FreeBSD/distfiles/${DIST_SUBDIR}/\
http://ftp.tw.freebsd.org/pub/FreeBSD//distfiles/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP}
: : 有台一万多的NAT挡住
: : 想请问有其他方法由port安装吗
: : 还是有其他方法安装之
: : 安装ubuntu apt-get可以跑....真奇怪
因为 ubuntu apt-get 预设 source list 也是 http protocol
: : 求救..
: 用wget去外面抓相对应的版本到/usr/ports/distfiles里
FreeBSD 内建就有抓档的指令了: fetch(1)
可以抓 ftp:// 或 http://
不必另外再装 wget
--
静中见真境,淡中识本然
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 60.248.152.79