I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2011-02-03 01:52:28.615605-08 by maeckie
Can't compile Net::OpenSSH Not enough arguments for grep
Hi, I am trying to compile Net::OpenSSH on our op5 servers (CnetOS) but I get the error message: ERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/1_run.....Not enough arguments for grep at /root/.cpan/build/Net-OpenSSH-0.50/blib/lib/Net/OpenSSH.pm line 85, near "$_) " BEGIN not safe after errors--compilation aborted at /root/.cpan/build/Net-OpenSSH-0.50/blib/lib/Net/OpenSSH.pm line 506. Compilation failed in require at t/1_run.t line 12. BEGIN failed--compilation aborted at t/1_run.t line 12. t/1_run.....dubious Test returned status 9 (wstat 2304, 0x900) t/2_pods....skipped all skipped: Only the author needs to check that POD docs are right FAILED--2 test scripts could be run, alas--no output ever seen make: *** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force I had no problem compiling it on my LinuxMint VmWare Image. Am I missing some prerequisit?
Direct Responses: 13172 | Write a response
Posted on 2011-02-03 01:54:30.481098-08 by maeckie in response to 13171
Re: Can't compile Net::OpenSSH Not enough arguments for grep
bad formatting. I'll try to clean it abit ..

Hi, I am trying to compile Net::OpenSSH on our op5 servers (CnetOS) but I get the error message:

Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1_run.....Not enough arguments for grep at /root/.cpan/build/Net-OpenSSH-0.50/blib/lib/Net/OpenSSH.pm line 85, near "$_) "
BEGIN not safe after errors--compilation aborted at /root/.cpan/build/Net-OpenSSH-.50/blib/lib/Net/OpenSSH.pm line 506.
Compilation failed in require at t/1_run.t line 12.
BEGIN failed--compilation aborted at t/1_run.t line 12.
t/1_run.....dubious
Test returned status 9 (wstat 2304, 0x900) t/2_pods....skipped all skipped: Only the author needs to check that POD docs are right FAILED--2 test scripts could be run, alas--no output ever seen make: *** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force

Am I missing some prerequisit?
Direct Responses: 13217 | Write a response
Posted on 2011-02-23 23:38:49.76113-08 by salva in response to 13172
Re: Can't compile Net::OpenSSH Not enough arguments for grep
Hi,

I am the module author. Could you send me a bug report by email to sfandino@yahoo.com including the output of running 'perl -V', and also your perl related environment variables 'env|grep -i perl'?

It looks as the tests were running with taint checks enabled, and I don't know why.

BTW, if you want to get timely replies to your Perl related questions, you better place them at http://perlmonks.org

Direct Responses: Write a response