strfry() has asked for the wisdom of the Perl Monks concerning the following question:

hmm i was using activestate's activeperl, and decided to be adventurous and install DJGPP's perl, too... well, i got it working fine, and like how it handles things (almost just like a *nix, really) the big problem is, i can't use CPAN to install modules; it gives an error of "LWP not available"
anyone know how to install LWP without CPAN?
thanks

Replies are listed 'Best First'.
Re: problems with djgpp
by chromatic (Archbishop) on Jun 02, 2001 at 00:03 UTC
    You can just download the package from the CPAN (I usually go through the search interface), extract it, and run 'perl Makefile.PL'.

    You'll probably have to find nmake from Microsoft, if you're on a Windows platform, so you can run 'make ; make test ; make install', and any XS components will need to be compiled with the same compiler as Perl.

    I think LWP is pure Perl, though I'm not sure on that.

      well, i tried using the search interface; and it did actually work for a few modules, but it seems that djgpp's socket.h implementation just hates me (:
      perl's IO package, especially IO::Socket, just refuses to compile (because of some weird problem with the case of pathnames, it wants IO/Socket, and see's io/Socket, and under no circumstances will it let me rename the directory, due to silly vfat filesys oddities.)

      in any case, i've just resigned to use activeperl, and use freebsd whenever i want to do something cool. (:


      thanks anyways, guys!
Re: problems with djgpp
by Anonymous Monk on Jun 02, 2001 at 00:18 UTC
    Won't DJGPP's Perl not have access to the Windows network stack, making LWP rather useless? (Or is DJCPP not a "DOS extender" or am I wrong for some other reason?)