2012-03-27 35 views
2

1つのWindows 2003 x64から同じタイプの別のWindowsマシンに単純にコピーされたPerlスクリプトを実行しようとしています。Perlスクリプト - @INCにNet/SSH/Perl.pmが見つからない

私はのActivePerlをインストールし、私は、次のエラーが表示さ:私は

F:\Supportsaves\Scripts\Supportsave_Script>ppm install Net-SSH-Perl 
ppm install failed: Can't find any package that provides Net-SSH-Perl 
を取得し、私が検索しましたし、おそらく(プロキシを設定した後) Net::SSH::Perlが欠落しているが、私はそれがインストールされません

F:\Supportsaves\Scripts\Supportsave_Script>Can't locate Net/SSH/Perl.pm in @INC (@INC contains: C:/Perl64/site/lib C:/Perl64/lib .) at F:\Supportsaves\Scripts\switches_supportsave.pl line 11. 
BEGIN failed--compilation aborted at F:\Supportsaves\Scripts\switches_supportsave.pl line 11. 

ppmを使用している場合、このモジュールはGUIで見つかりません。

CPANは他にもエラーが発生します。

何か助けていただければ幸いです。


Result after installing Net::SSH::Perl in Strawberry, CPAN Test Summary Report 
------------------- 
t/03-packet.t (Wstat: 65280 Tests: 0 Failed: 0) 
Non-zero exit status: 255 
Parse errors: Bad plan. You planned 10 tests but ran 0. 
Files=12, Tests=106, 2 wallclock secs (0.09 usr + 0.03 sys = 0.12 CPU) 
Result: FAIL` 

Failed 1/12 test programs. 0/106 subtests failed. 
dmake.EXE: Error code 255, while making 'test_dynamic' 
TURNSTEP/Net-SSH-Perl-1.34.tar.gz 
2 dependencies missing (Math::Pari,Crypt::RSA); additionally test harness failed` 

C:\Perl\strawberry\c\bin\dmake.EXE test -- NOT OK 
//hint// to see the cpan-testers results for installing this module, try: 
reports TURNSTEP/Net-SSH-Perl-1.34.tar.gz 
Running make install 
make test had returned bad status, won't install without force` 

`F:\Supportsaves\Scripts\Supportsave_Script>` 

----------------- 

Installing in Active Perl with CPAN Net::SSH::Perl does partly work well, there are 
missing dependencies, which can't be installed either... 

Result: PASS 
TURNSTEP/Net-SSH-Perl-1.34.tar.gz 
Tests succeeded but 7 dependencies missin 
(Crypt::IDEA,Math::Pari,Crypt::DSA,Convert::PEM,String::CRC32,Math::GMP,Crypt 
::RSA) 
TURNSTEP/Net-SSH-Perl-1.34.tar.gz 
[dependencies] -- NA 
Running make install 
make test had returned bad status, won't install without force` 

`F:\Supportsaves\Scripts\Supportsave_Script>` 

Crypt::IDEA fails ... 
C:\Perl\site\lib\auto\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32 
\bin\ld.exe: cannot find -lbufferoverflowU 
collect2: ld returned 1 exit status 
dmake.exe: Error code 129, while making 'blib\arch\auto\Crypt\IDEA\IDEA.dll' 
DPARIS/Crypt-IDEA-1.08.tar.gz 
C:\Perl\site\bin\dmake.exe -- NOT OK 
CPAN: YAML::XS loaded ok (v0.35) 
Running make test 
Can't test without successful make 
Running make install 
Make had returned bad status, install seems impossible ` 
+0

を作成するのですか? –

+0

それは私が言うことができる限りCPANにあります... [Net :: SSH :: Perl](http://search.cpan.org/dist/Net-SSH-Perl/) – tomlogic

+0

これをチェックしてください: /stackoverflow.com/questions/3689945/how-do-we-configure-ssh-using-perl-in-windows に関して、 – user1126070

答えて

4

あなたがリポジトリのあなたのppmのリストにそれをインストールする必要があることを追加した場合私の知る限り、Net::SSH::Perlモジュールは

http://www.bribes.org/perl/ppm/ 

賄賂 ppmのリポジトリでありますそれは正しく。

+0

私はこのリポジトリを追加しました。何とか0 pkgsを示しています。Net :: SSH :: Perl – user1295935

4

この作品も、これを試してみてください:CPANにはどのような "その他のエラー" を

ppm install http://theoryx5.uwinnipeg.ca/ppms/Net-SSH2.ppd 
ppm install http://theoryx5.uwinnipeg.ca/ppms/Net-SSH-Perl.ppd 

に関して、

+0

正しいコードを見つけることができません.... F:¥Supportsaves¥Scripts¥Supportsave_Script> ppm install http://theoryx5.uwinnipeg.ca/ppms/Net-SSH2.ppd ppmインストールに失敗しました:PPDは提供していませんこのプラットフォームにインストールするコード – user1295935

+0

これはおそらくあなたを助けます。 http://search.cpan.org/~csjewell/Perl-Dist-Strawberry-2.5001/script/perldist_strawberryこのスクリプトは、Strawberry perlの完全なCPANミラーをダウンロードしてビルドします。その後、必要なモジュールをコピーすることができます。 – user1126070

関連する問題