Re: 在FreeBSD6.2安裝net-snmp問題求救? - BBS
By Christine
at 2007-02-25T13:42
at 2007-02-25T13:42
Table of Contents
※ 引述《[email protected] (相見歡)》之銘言:
: 昨天在 FreeBSD 6.2-RELEASE 下以 ports 安裝net-snmp
: 執行指令如下:
: cd /usr/ports/net-mgmt/net-snmp
: make install clean
: 但出現如下error ,
: ===> Building for net-snmp-5.2.3_4
: cc -E -Iinclude -I./include
: -I./agent/mibgroup -I. -I. -DDONT_INC_STRUCTS -DBINDIR=/usr/local/bin
: -x c ./sedscript.in | egrep '^s[/#]' | sed
: 's/REMOVEME//g;s# */#/#g;s/ *#/#/g;s#/ *#/#g;s/# g/#g/;' > sedscript
: echo 's#DATADIR#/usr/local/share#g' >> sedscript
: echo 's#LIBDIR#/usr/local/lib#g' >> sedscript
: echo 's#BINDIR#/usr/local/bin#g' >> sedscript
: echo 's#PERSISTENT_DIRECTORY#/var/net-snmp#g' >> sedscript
: echo 's#SYSCONFDIR#/usr/local/etc#g' >> sedscript
: /usr/bin/sed -f sedscript ./EXAMPLE.conf.def > EXAMPLE.conf
: making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.3/snmplib
: make: don't know how to make //ftp.tw.freebsd.org/pub/FreeBSD/distfiles//.
看這行應該是你的 make.conf 出了問題吧
/etc/make.conf 貼出來看看
: Stop
: *** Error code 2
: Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.3.
: *** Error code 1
: Stop in /usr/ports/net-mgmt/net-snmp.
: [root@dp /usr/ports/net-mgmt/net-snmp]#
: 求救各位前輩,該如何解決?
: 另外,如果要ports安裝較新或較舊的net-snmp-5.2.3_4版本,該如何做,
: 敬請指導。
: 要是不用ports 安裝原始網站上有 net-snmp-5.4版,又該如何安裝,
: 謝謝各位指教。
--
: 昨天在 FreeBSD 6.2-RELEASE 下以 ports 安裝net-snmp
: 執行指令如下:
: cd /usr/ports/net-mgmt/net-snmp
: make install clean
: 但出現如下error ,
: ===> Building for net-snmp-5.2.3_4
: cc -E -Iinclude -I./include
: -I./agent/mibgroup -I. -I. -DDONT_INC_STRUCTS -DBINDIR=/usr/local/bin
: -x c ./sedscript.in | egrep '^s[/#]' | sed
: 's/REMOVEME//g;s# */#/#g;s/ *#/#/g;s#/ *#/#g;s/# g/#g/;' > sedscript
: echo 's#DATADIR#/usr/local/share#g' >> sedscript
: echo 's#LIBDIR#/usr/local/lib#g' >> sedscript
: echo 's#BINDIR#/usr/local/bin#g' >> sedscript
: echo 's#PERSISTENT_DIRECTORY#/var/net-snmp#g' >> sedscript
: echo 's#SYSCONFDIR#/usr/local/etc#g' >> sedscript
: /usr/bin/sed -f sedscript ./EXAMPLE.conf.def > EXAMPLE.conf
: making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.3/snmplib
: make: don't know how to make //ftp.tw.freebsd.org/pub/FreeBSD/distfiles//.
看這行應該是你的 make.conf 出了問題吧
/etc/make.conf 貼出來看看
: Stop
: *** Error code 2
: Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.3.
: *** Error code 1
: Stop in /usr/ports/net-mgmt/net-snmp.
: [root@dp /usr/ports/net-mgmt/net-snmp]#
: 求救各位前輩,該如何解決?
: 另外,如果要ports安裝較新或較舊的net-snmp-5.2.3_4版本,該如何做,
: 敬請指導。
: 要是不用ports 安裝原始網站上有 net-snmp-5.4版,又該如何安裝,
: 謝謝各位指教。
--
Tags:
BBS
All Comments
Related Posts
Realtek RTL8211如何支援FreeBSD 6.2-RELEASE
By Christine
at 2007-02-23T17:32
at 2007-02-23T17:32
lynx + ssl 疑問
By Joe
at 2007-02-17T14:30
at 2007-02-17T14:30
甚麼是fqdn
By Agnes
at 2007-02-17T01:11
at 2007-02-17T01:11
如何新增Loopback 介面 lo1
By Jack
at 2007-02-15T18:09
at 2007-02-15T18:09
安裝舊的 compiler
By Zenobia
at 2007-02-15T17:44
at 2007-02-15T17:44