無法安裝ssh2 - BBS

Zenobia avatar
By Zenobia
at 2008-09-03T11:32

Table of Contents

FreeBSD版本4.11

port tree更新完後

# cd /usr/ports/security/ssh2
# make install WITHOUT_X11=yes

You may use the following build option(s):

WITH_GROUP_WRITEABILITY=yes builds with widened permissions check of home
directories in hostbased- and publickey-
authentication. May be usefull if all users
are in their own group.
Beware the security implications!

===> Vulnerability check disabled, database not found
===> Extracting for ssh2-nox11-3.2.9.1_8
=> MD5 Checksum OK for ssh-3.2.9.1.tar.gz.
===> ssh2-nox11-3.2.9.1_8 depends on file: /usr/local/sbin/pkg_info - not
found
===> Verifying install for /usr/local/sbin/pkg_info in
/usr/ports/ports-mgmt/pkg_install
===> Building for pkg_install-20080530
===> lib
cc -O -pipe -W -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wwrite-strings
-Wswitch -Wshadow -Wnon-const-format -Wno-format-extra-args -c match.c -o
match.o
match.c: In function `matchinstalled':
match.c:101: warning: passing arg 3 of `fts_open' from incompatible pointer
type
match.c: In function `matchallbyorigin':
match.c:303: syntax error before `struct'
match.c:304: `store' undeclared (first use in this function)
match.c:304: (Each undeclared identifier is reported only once
match.c:304: for each function it appears in.)
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg_install/work/pkg_install-20080530/lib.
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg_install/work/pkg_install-20080530.
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg_install.
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg_install.
*** Error code 1

Stop in /usr/ports/security/ssh2.
==================================================
不光是ssh 不管裝什麼都有相同的錯誤

# cd /usr/ports/www/lynx
# make install
===> Vulnerability check disabled, database not found
===> Found saved configuration for lynx-2.8.6.5_4,1
===> Extracting for lynx-2.8.6.5_4,1
=> MD5 Checksum OK for lynx2.8.6rel.5.tar.bz2.
===> lynx-2.8.6.5_4,1 depends on file: /usr/local/sbin/pkg_info - not found
===> Verifying install for /usr/local/sbin/pkg_info in
/usr/ports/ports-mgmt/pkg_install
===> Building for pkg_install-20080530
===> lib
cc -O -pipe -W -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wwrite-strings
-Wswitch -Wshadow -Wnon-const-format -Wno-format-extra-args -c match.c -o
match.o
match.c: In function `matchinstalled':
match.c:101: warning: passing arg 3 of `fts_open' from incompatible pointer
type
match.c: In function `matchallbyorigin':
match.c:303: syntax error before `struct'
match.c:304: `store' undeclared (first use in this function)
match.c:304: (Each undeclared identifier is reported only once
match.c:304: for each function it appears in.)
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg_install/work/pkg_install-20080530/lib.
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg_install/work/pkg_install-20080530.
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg_install.
*** Error code 1

Stop in /usr/ports/www/lynx.
*** Error code 1

Stop in /usr/ports/www/lynx.

請問原因是?


--
Tags: BBS

All Comments

一秒鐘好長

Cara avatar
By Cara
at 2008-09-02T02:42
※ 引述《Randy.bbsatbbs.math.nctu.edu.tw (randy Randy)》之銘言: : ※ 引述《herman602.bbsatptt.cc (奸商)》之銘言: : andgt; 我是虛擬機器(汗)... : andgt; 原來是新的雙核CPU導致的阿at_at : andgt; ...

一秒鐘好長

Charlie avatar
By Charlie
at 2008-09-01T23:59
※ 引述《herman602 (奸商)》之銘言: : ※ 引述《JerryBoy (黃金時代)》之銘言: : : 是安裝在實體機器還是虛擬機器呢? : : 如果是實體機器的話,就算 BIOS 的電池沒電應該也不會這樣 : : 如果是虛擬機器的話,新的雙核 cpu 會因為某些原因,造成虛擬機器內的時間不準確 : ...

一秒鐘好長

Olive avatar
By Olive
at 2008-09-01T22:54
※ 引述《herman602 (奸商)》之銘言: : ※ 引述《JerryBoy (黃金時代)》之銘言: : : 是安裝在實體機器還是虛擬機器呢? : : 如果是實體機器的話,就算 BIOS 的電池沒電應該也不會這樣 : : 如果是虛擬機器的話,新的雙核 cpu 會因為某些原因,造成虛擬機器內的時間不準確 : ...

一秒鐘好長

Yuri avatar
By Yuri
at 2008-09-01T22:39
※ 引述《JerryBoy (黃金時代)》之銘言: : ※ 引述《herman602 (奸商)》之銘言: : : 我安裝的是Freebsd 7 RELEASE : : 我crontab設定每15分鐘對一次時間 : : 但是常常都還是不準 : : 我檢查後發現 : : 我系統的時間的一秒是真實世界的10秒左右 ...

一秒鐘好長

Victoria avatar
By Victoria
at 2008-09-01T22:33
※ 引述《herman602 (奸商)》之銘言: : 我安裝的是Freebsd 7 RELEASE : 我crontab設定每15分鐘對一次時間 : 但是常常都還是不準 : 我檢查後發現 : 我系統的時間的一秒是真實世界的10秒左右 : (我一直輸入date檢查) : 難怪每次對時都沒有用 : 請問有人有這種 ...