私はオペレーティングシステム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
時間がかかる場合があります。