>>>>> On Sun, 22 Feb 2009 07:52:31 -0800 (PST), Robyn K <[email protected]>
>>>>> said:
> Whenever I try to install a new module now, I get this error:
> CPAN: Compress::Zlib loaded ok
> Can't call method "value" on an undefined value at /usr/lib/perl5/
> vendor_perl/5.8/IO/Uncompress/RawInflate.pm line 64.
My advice in this situation may sound a bit drastic but given that I
know nothing about cygwin or what is causing the problem it might be
the most efficient.
In the above error message you see a path:
/usr/lib/perl5/vendor_perl/5.8/IO/Uncompress/RawInflate.pm
So this is an offender, get rid of it:
mv /usr/lib/perl5/vendor_perl/5.8/IO/Uncompress/RawInflate.pm{,.hide}
Then start again at the point before you lost control and wait for the
next offender and remove it the same way.
After only a few iterations I'd expect you get rid of the broken
Compress::Zlib parts.
> [...]
> but, I don't really know how to follow the manual instructions because
> I don't even know where perl modules are on my machine under the
> cygwin install.
You don't have to. If you untar a tarball and run the magic
perl Makefile.PL
make
make test
make install
--or (if there is a Build.PL)--
perl Build.PL
./Build
./Build test
./Build install
then you're doing a manual install. No need to know more.
> And... I'm not sure if I need to do something to get rid of the bad
> version first?
Probably not.
> Can someone handhold me through getting this fixed?
HTH:)
--
andreas