我已经安装了操作系统 FreeBSD 10.1 并从我的文件夹中安装了 perl 5.16 /usr/ports/lang/perl5.16
。
然后我做了:
# portsnap fetch
# portsnap extract
然后我尝试make install clean
移植 p5-IO-Expect ,从中cd /usr/ports/lang/p5-Expect
出现以下错误:
$ make install clean
===> p5-Expect-1.32 depends on package: p5-IO-Tty>=1.11 - not found
===> Verifying install for p5-IO-Tty>=1.11 in /usr/ports/devel/p5-IO-Tty
===> Installing for p5-IO-Tty-1.12_1
===> p5-IO-Tty-1.12_1 depends on file: /usr/local/bin/perl5.16.3 - found
===> Checking if p5-IO-Tty already installed
===> Switching to root credentials for 'install' target
Password:
===> Registering installation for p5-IO-Tty-1.12_1 as automatic
pkg-static: Unable to access file /usr/ports/devel/p5-IO-Tty/work/stage/usr/local/lib/perl5/site_perl/man/man3/IO::Pty.3.gz: No such file or directory
pkg-static: Unable to access file /usr/ports/devel/p5-IO-Tty/work/stage/usr/local/lib/perl5/site_perl/man/man3/IO::Tty.3.gz: No such file or directory
pkg-static: Unable to access file /usr/ports/devel/p5-IO-Tty/work/stage/usr/local/lib/perl5/site_perl/man/man3/IO::Tty::Constant.3.gz: No such file or directory
pkg-static: Unable to access file /usr/ports/devel/p5-IO-Tty/work/stage/usr/local/lib/perl5/site_perl/mach/5.16/IO/Pty.pm: No such file or directory
pkg-static: Unable to access file /usr/ports/devel/p5-IO-Tty/work/stage/usr/local/lib/perl5/site_perl/mach/5.16/IO/Tty.pm: No such file or directory
pkg-static: Unable to access file /usr/ports/devel/p5-IO-Tty/work/stage/usr/local/lib/perl5/site_perl/mach/5.16/IO/Tty/Constant.pm: No such file or directory
pkg-static: Unable to access file /usr/ports/devel/p5-IO-Tty/work/stage/usr/local/lib/perl5/site_perl/mach/5.16/auto/IO/Tty/Tty.so: No such file or directory
*** Error code 74
Stop.
make[2]: stopped in /usr/ports/devel/p5-IO-Tty
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/devel/p5-IO-Tty
*** Error code 1
Stop.
make: stopped in /usr/ports/lang/p5-Expect
然后当我尝试p5-IO-Tty
从那时开始安装时/usr/ports/devel/p5-IO-Tty
,出现以下错误
$ make install clean
===> Installing for p5-IO-Tty-1.12_1
===> p5-IO-Tty-1.12_1 depends on file: /usr/local/bin/perl5.16.3 - found
===> Checking if p5-IO-Tty already installed
===> Switching to root credentials for 'install' target
Password:
===> Registering installation for p5-IO-Tty-1.12_1
pkg-static: Unable to access file /usr/ports/devel/p5-IO-Tty/work/stage/usr/local/lib/perl5/site_perl/man/man3/IO::Pty.3.gz: No such file or directory
pkg-static: Unable to access file /usr/ports/devel/p5-IO-Tty/work/stage/usr/local/lib/perl5/site_perl/man/man3/IO::Tty.3.gz: No such file or directory
pkg-static: Unable to access file /usr/ports/devel/p5-IO-Tty/work/stage/usr/local/lib/perl5/site_perl/man/man3/IO::Tty::Constant.3.gz: No such file or directory
pkg-static: Unable to access file /usr/ports/devel/p5-IO-Tty/work/stage/usr/local/lib/perl5/site_perl/mach/5.16/IO/Pty.pm: No such file or directory
pkg-static: Unable to access file /usr/ports/devel/p5-IO-Tty/work/stage/usr/local/lib/perl5/site_perl/mach/5.16/IO/Tty.pm: No such file or directory
pkg-static: Unable to access file /usr/ports/devel/p5-IO-Tty/work/stage/usr/local/lib/perl5/site_perl/mach/5.16/IO/Tty/Constant.pm: No such file or directory
pkg-static: Unable to access file /usr/ports/devel/p5-IO-Tty/work/stage/usr/local/lib/perl5/site_perl/mach/5.16/auto/IO/Tty/Tty.so: No such file or directory
*** Error code 74
Stop.
make[1]: stopped in /usr/ports/devel/p5-IO-Tty
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/p5-IO-Tty
请帮我解决这个问题...这也是为其他模块安装的确切版本
答案1
你的环境已经过时了。我很确定你从来没有看过/usr/ports/UPDATING
对已安装的软件进行完整更新:
portsnap fetch update
make -C /usr/ports/ports-mgmt/portmaster install clean
portmaster -aftd
可能还要等一下。