Click here to get back home

installing LWP::UserAgent on windows

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
installing LWP::UserAgent on windows Nospam 06-21-2005
Get Chitika Premium
Posted by Nospam on June 21, 2005, 10:37 pm
Please log in for more thread options


I have ActivePerl 5.8.4.810on win98se and I am trying to install
LWP:UserAgent I downloaded the tar file from cpan.org and extracted the
files into my c:/perrl/bin directory putting them in a folder of their own
in the bin directory, I ran perl makefile after browsing to the directory
the LWP:UserAgent folder were extracted to, however LWP::UserAgent doesn't
seem to work, is there anything I have missed?




Posted by Sherm Pendley on June 21, 2005, 5:52 pm
Please log in for more thread options



> I have ActivePerl 5.8.4.810on win98se and I am trying to install
> LWP:UserAgent I downloaded the tar file from cpan.org and extracted the
> files into my c:/perrl/bin directory putting them in a folder of their own
> in the bin directory, I ran perl makefile after browsing to the directory
> the LWP:UserAgent folder were extracted to, however LWP::UserAgent doesn't
> seem to work, is there anything I have missed?

I don't use Windows myself, but as I understand it, installing modules from
source can be particularly troublesome on 98/ME. Doesn't ActiveState offer
LWP as a pre-compiled PPM?

sherm--


Posted by Sisyphus on June 22, 2005, 11:17 am
Please log in for more thread options



> I have ActivePerl 5.8.4.810on win98se and I am trying to install
> LWP:UserAgent I downloaded the tar file from cpan.org and extracted the
> files into my c:/perrl/bin directory putting them in a folder of their own
> in the bin directory, I ran perl makefile after browsing to the directory
> the LWP:UserAgent folder were extracted to, however LWP::UserAgent doesn't
> seem to work, is there anything I have missed?
>
>

I think LWP::UserAgent comes as standard with ActivePerl - ie you should
already have it. Remove the entire directory you created, and if you haven't
stomped on the original LWP::UserAgent it should work ok. You can test that
it's there, and accessible by running:

perl -MLWP::USerAgent -le "print $LWP::UserAgent::VERSION"

(which, I think, should report '2.031'.)

Cheers,
Rob




Posted by Nospam on June 22, 2005, 2:47 am
Please log in for more thread options


it says 2.033
I am wondering if I have tried to reintall it again after having it
pre-intalled with actrive perl might have messed it up

>
> > I have ActivePerl 5.8.4.810on win98se and I am trying to install
> > LWP:UserAgent I downloaded the tar file from cpan.org and extracted the
> > files into my c:/perrl/bin directory putting them in a folder of their
own
> > in the bin directory, I ran perl makefile after browsing to the
directory
> > the LWP:UserAgent folder were extracted to, however LWP::UserAgent
doesn't
> > seem to work, is there anything I have missed?
> >
> >
>
> I think LWP::UserAgent comes as standard with ActivePerl - ie you should
> already have it. Remove the entire directory you created, and if you
haven't
> stomped on the original LWP::UserAgent it should work ok. You can test
that
> it's there, and accessible by running:
>
> perl -MLWP::USerAgent -le "print $LWP::UserAgent::VERSION"
>
> (which, I think, should report '2.031'.)
>
> Cheers,
> Rob
>
>




Posted by Sisyphus on June 22, 2005, 1:07 pm
Please log in for more thread options



> it says 2.033

Well .... if it says that, then it's quite possibly working ok (though you
have a different version than what's on my build 810). If there is some
problem with your LWP::UserAgent then running that command would probably
have produced an error message

Can you provide a simple script that demonstrates the problem you're
having - and also provide a copy'n'paste of the error messages produced.

> I am wondering if I have tried to reintall it again after having it
> pre-intalled with actrive perl might have messed it up
>

Yes, it might be messed up - but until we see what the problem is, we can
only speculate .... and I don't feel like covering every possible scenario
:-)

Cheers,
Rob




Similar ThreadsPosted
installing LIBNET and NET::TELNET on a windows 200 server June 16, 2005, 12:11 pm
Installing Perl InlineC module in Windows 2003 August 4, 2005, 9:11 pm
Not able to use LWP::UserAgent::Authenticated December 26, 2005, 9:11 pm
LWP::UserAgent and HTTP_ACCEPT January 24, 2006, 7:03 pm
LWP:Simple/LWP:UserAgent (newbie) February 24, 2005, 12:11 pm
A pipe or FH equivalent of LWP::UserAgent ? February 25, 2005, 3:12 pm
URGENT: no response - LWP::UserAgent February 26, 2005, 12:22 pm
Using HTTPS with LWP::UserAgent = Bad Service March 30, 2005, 6:45 am
newbie LWP::UserAgent questions August 13, 2006, 8:10 pm
CGI & LWP::UserAgent - forwarding cookies - how? January 15, 2007, 3:25 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap