Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

djberg96 (2603)

djberg96
  (email not shown publicly)

Journal of djberg96 (2603)

Thursday July 18, 2002
08:07 AM

Perl 5.6.1 on Solaris 9, CPAN

[ #6445 ]
After a brief stint trying to use the installed version of Perl on Solaris 9, I decided to just rebuild the thing because of whining about "optional language software" not being installed, etc.

On another note, I haven't been able to figure out how to disable Net::FTP and just use wget instead. It's a firewall issue of some sort, and I even found a couple of solutions, but neither seemed to work for me:

perl -MCPAN -e '$INC{"Net/FTP.pm"} = "ignore"; sub Net::FTP::new { undef }; shell'

perl -MCPAN -e '$CPAN::Dontload{"Net::FTP"}=1; shell()'

At this point, I'm just going to rename FTP.pm to something else to force it to fail and use wget.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I solved mine by telling Net::FTP to use a passive connection. That's done by editing Net/libnet.cfg, which is in you @INC somewhere. Switch ftp_int_passive to 0.

    --

    -- Robin Berjon [berjon.com]

    • Actually, it was already set to 0. I tried messing around with some of the other options to no effect. What does wget do that's so special?

      Anyway, as it is I just have to wait for all the lwp/ftp attempts to fail until it gets to wget. It takes a while, but it works. ;)

      • Are you 100% certain that you edited the right one? There could be several in your setup but only the first one in @INC will be picked up. If this doesn't help, well you have all my sympathy for CPAN.pm's slowness, it took me a while to get mine to work right here :)

        --

        -- Robin Berjon [berjon.com]