can't install LWP::Protocol::socks

Posted by h1r0 on 2010-10-19 20:00
Forums: PPM | OS: Windows XP Pro

Hi

I have been trying to install LWP::Protocol::socks.
I could not find it in the default repository.
So, I added "trouchelle" and "uwinnipeg" to ppm.
Again, I could not find it there.

Finally, I downloaded the ppmx file,
and followed the instruction of "Using PPMX Files" in
http://docs.activestate.com/activeperl/5.12/faq/ActivePerl-faq2.html#ppm...

The result is

E:\Temp\LWPProtocolSocks>ppm install E:\Temp\LWPProtocolSocks\LWP-Protocol-socks-1.0.ppmx
ppm install failed: Can't call method "get_files" on an undefined value

What's wrong ?
How can I install the package ?
Please help me.

I'm using ActivePerl 5.12.2 for Windows (x86).

grahams
ActiveState Staff
Tue, 2010-12-07 14:53

http://ppm4.activestate.com/idx/LJ...LY.html

The only version of this module which has built is version 1.0 for Perl 5.10.

That build will be binary incompatible with 5.12; that's why you don't see it in the default repository. You can't make it compatible by manually installing it.

Cases like this are why all Perls ship with the CPAN installer, so that you can potentially build the module you want locally:
http://docs.activestate.com/activeperl/5.12/faq/ActivePerl-faq2.html#CPA...