1

Perl用の適切なDebianパッケージをインストールする方法を見つけようとしています。次のエラーが発生します:

Failed to read the configuration: Bad file descriptor at Makefile.PL line 8.

私のMakefile.PLファイルには、9行目までの次の行が含まれています。

use 5.008000;
use ExtUtils::MakeMaker;

# Read the parameters from Triceps Makefiles 
delete $ENV{MAKEFLAGS}; # these cause spurious messages from make
delete $ENV{MAKELEVEL};
my $TRICEPS_CONF = `make --quiet -f ../../cpp/Makefile.inc getconf`;
die "Failed to read the configuration: $!" if ($! != 0);

http://www.directadmin.com/forum/showthread.php?t=43558&page=1で説明されているように、現在のバージョンのDebianに相当するapt-getinstallコマンドを見つけようとしています。

yum install cpan
yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker
cpan install ExtUtils::Install 

同等のDebianソリューションを見つけようとしていますが、ダウンロードまたはインストールするパッケージがわかりません。Debain内でこれを適切に行うために必要な正確なapt-getinstallコマンドは何でしょうか?

これらのPerlパッケージは、あなたが期待するようにDebianに表示されません。

4

1 に答える 1

1

$!有用なものが含まれているかどうかを確認する前に使用しています。コードは次のようになります。

die("Failed to read the configuration: " . (
   $? < 0    ? "Unable to launch: $!" :
   $? & 0x7F ? "Signal ".($? & 0x7F) :
   $? >> 8   ? "Exit ".($? >> 8) :
   "Unknown error"
)) if $?;
于 2012-11-23T01:44:13.553 に答える