eh.. what modules are you trying to install? if you can't do it from source, have you tried using the cpan shell? or just
?? I'd try that first.Code:cpan -i Perl::Module
I'm trying to get perl modules from Backtrack to work in a windows environment. So far, I've installed ActivePerl and attempted to install the prerequisite CPAN modules. I keep getting an error:
After 20 minutes or so, I'll kill the process:Code:CPAN.pm: Going to build M/MA/MANU/Net-IP-1.25.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Net::IP Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. cp IP.pm blib\lib\Net\IP.pm C:\Perl\bin\perl.exe -MExtUtils::Command -e cp ipcount blib\script\ipcount pl2bat.bat blib\script\ipcount C:\Perl\bin\perl.exe -MExtUtils::Command -e cp iptab blib\script\iptab pl2bat.bat blib\script\iptab
I tried manually installing the module.Code:NMAKE : U1058: Stop. Caught SIGINT, trying to continue MANU/Net-IP-1.25.tar.gz nmake -- NOT OK Running make for O/OL/OLAF/Net-DNS-0.63.tar.gz Has already been unwrapped into directory C:\Perl\cpan\build\Net-DNS-0.63-l8UGao Terminating on signal SIGINT(2) Failed during this command: MANU/Net-IP-1.25.tar.gz : make NO
perl makefile.PL
nmake test ------> test says "ok"
nmake install ------> freezes at same point mentioned above.
Any ideas?
William
eh.. what modules are you trying to install? if you can't do it from source, have you tried using the cpan shell? or just
?? I'd try that first.Code:cpan -i Perl::Module
Yeah, I tried the CPAN shell. That is the first screenshot. I tried building them from source using ppm and just make--make install. There seems to be a problem with the build process itself.
William
hrmm :/ maybe try rebuilding Perl itself from source. that's odd.
Chatted on IRC with some Perl Guru's. Recommended I use Strawberry Perl instead of ActiveState. This worked like a charm, with the exception of one library. I'm trying to get Net::SSH2 to work so I can test a distributed nmap on a win32 environment.
So I do this:Code:C:\strawberry\perl\bin\tools\dnmap>perl DNMAP.PL Can't locate Net/SSH2.pm in @INC (@INC contains: C:/strawberry/perl/lib C:/strawberry/perl/site/lib .) at DNMAP.PL line 3. BEGIN failed--compilation aborted at DNMAP.PL line 3.
Can't seem to get the libssh to install. Anyone have time to test this on a win32 system? Thanks.Code:cpan> install Net::SSH2 Running install for module 'Net::SSH2' Running make for D/DB/DBROBINS/Net-SSH2-0.18.tar.gz Checksum for C:\strawberry\cpan\sources\authors\id\D\DB\DBROBINS\Net-SSH2-0.18.tar.gz ok Scanning cache C:\strawberry\cpan\build for sizes ............................................................................DONE CPAN.pm: Going to build D/DB/DBROBINS/Net-SSH2-0.18.tar.gz I can't find libssh2 or libssh2.h. Either libSSH2 is not installed, or it is installed incorrectly. LibSSH2 is required by Net::SSH2. You can download it from http://www.libssh2.org; you may also need OpenSSL, which can be obtained from http://www.openssl.org. Quitting since I can't find libssh2 or libssh2.h at Makefile.PL line 42. Warning: No success on command[C:\strawberry\perl\bin\perl.exe Makefile.PL] DBROBINS/Net-SSH2-0.18.tar.gz C:\strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Failed during this command: DBROBINS/Net-SSH2-0.18.tar.gz : writemakefile NO 'C:\strawberry\perl\bin\perl.exe Ma kefile.PL' returned status 512 cpan>
William
that wood wreck wire win doze? maybe try the "remote-exploited" forumz? lulz?
j/k
I would recommend going to the Perlmonks for that issue. I did a quick search and found this thread:
http://www.perlmonks.org/?node_id=581715
but that may not help. Join up and ask your question there, i bet it gets resolved fast!![]()
After sifting through multiple forums, I found this, which appears to have addressed the problem:
ppm install http://trouchelle.com/ppm10/Net-SSH2.ppd
William