作者sherlinat (3/22要投誰呢?)
看板FreeBSD
標題[問題] 無法安裝ssh2
時間Wed Sep 3 11:32:11 2008
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.
請問原因是?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.124.240.91