FreeBSD 10에서 p5-Expect, P5-IO-Tty, p5-IO-Stty, p5-Digest-MD5, p5-YAML 모듈을 설치할 수 없습니다.

FreeBSD 10에서 p5-Expect, P5-IO-Tty, p5-IO-Stty, p5-Digest-MD5, p5-YAML 모듈을 설치할 수 없습니다.

나는 운영 체제 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

시간이 좀 걸릴 수 있습니다.

관련 정보