|Pathologically Eclectic Rubbish Lister|
Problems installing CPAN Win32::Clipboard for Strawberry Perl under Windows Vistaby pela (Initiate)
|on Feb 03, 2011 at 20:43 UTC||Need Help??|
pela has asked for the
wisdom of the Perl Monks concerning the following question:
I appologize if the answer to this question is already somewhere in the perlmonks pages, but I have spent the whole day trying to find a solution to the problem on the internet, and now I'm tired of searching. So I hope you can help me anyway... :)
My Perl experience is that I have successfully written perl scripts and run them both under Linux and Windows, but I have never installed Perl (until today) and I have never installed modules. So my question may be stupid. I hope to learn more here.
The question: what steps are needed to install CPAN's Win32::Clipboard for Strawberry Perl under Windows Vista? I have unsuccessfully tried the CPAN Client, and also tried do download and dmake manually.
In the CPAN Client approach, I did the following. I started the CPAN Client by clicking the Start button and then All Programs->Strawberry Perl->Tools->CPAN Client. In the CPAN client I wrote get Win32::Clipboard (I have also tried install and some other alternatives instead of get.) The response is
So CPAN client isn't able to download http://cpan.strawberryperl.com/authors/01mailrc.txt.gz . Why? I'm not behind a proxy, I have tried with the firewall disabled, and there's no problem getting the file with Internet Explorer. Somewhere on the web I found a tip that if there is an environment variable called FTP_DISABLE or something (but that's a Linux variable I guess, not a Windows one?). I checked and found a system variable called FTP_PASSIVE, which had the value 1. I changed to 0, but no success. What does that variable mean? (I know, that's not a Perl question, but I guess Monks know everything... :-) ) And why is that file needed? When I got it with IE and uncompressed it, it just contained a bunch of aliases and email addresses.
I gave up and tried downloading and uncompressing the module manually instead. In the uncompressed directory, where Makefile.pl etc are, I did
"Det går inte att köra det angivna programmet." means "Unable to run the given program". Maybe the command line is too long, I believe max is 256 characters in Windows.
How do others do?