Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Problems installing CPAN Win32::Clipboard for Strawberry Perl under Windows Vista

by bart (Canon)
on Feb 04, 2011 at 15:09 UTC ( [id://886226]=note: print w/replies, xml ) Need Help??


in reply to Problems installing CPAN Win32::Clipboard for Strawberry Perl under Windows Vista

Warning: no success downloading 'C:\strawberry\cpan\sources\authors\01mailrc.txt
It looks like you are having network problems: CPAN doesn't have access to the CPAN repository. If the site isn't offline, it might be your PC's firewall blocking you.

BTW you'd have the exact same problems trying to install any other module with CPAN.

  • Comment on Re: Problems installing CPAN Win32::Clipboard for Strawberry Perl under Windows Vista

Replies are listed 'Best First'.
Re^2: Problems installing CPAN Win32::Clipboard for Strawberry Perl under Windows Vista
by pela (Initiate) on Feb 07, 2011 at 20:33 UTC
    Hi again Monks,

    The installation problem has now been solved.

    Anonymous Monk on Feb 03, 2011 at 21:40 UTC put me on the right track. Before I posted my question, I had already checked if gcc was in my path by typing just gcc with no arguments. cmd.exe didn't complain about unknown command, instead gcc complained about not getting an input file, so I knew gcc was in my path. After posting my question and reading all answers, I followed the tip from the anonymous monk to type gcc -v instead, and that revealed something! It didn't say anything about MingW gcc (MingW is installed with the Strawberry Perl package), instead it said DJGPP gcc! Then I remembered that I installed DJGPP gcc port (http://www.delorie.com/djgpp/) a long time ago. When I checked the path variable, I saw that the directory with DJGPP's gcc.exe came before the directory of MingW's gcc.exe. I put DJGPP's directories last in the path variable, and then installing the CPAN packages worked. It was the wrong gcc used. Arghhh...!

    The CPAN Client still doesn't work, but I don't care now that manual downloading and installing works.

    Anonymous Monk on Feb 03, 2011 at 21:26 UTC suggested cpanp. I had never heard of cpanp before. Now I have, and might try it some time. Thanks!

    BrowserUk, before there was tight limitation for the command line in Windows. I didn't know they had improved that in Vista. Now I know. Thanks!

    Anonymous Monk on Feb 03, 2011 at 21:40 UTC; I meant the character limitation in cmd.exe . I never thought of that there might be a limitation in dmake as well. Thanks!

    Anonymous Monk on Feb 03, 2011 at 22:00 UTC; your script only returned FTP_PASSIVE = 0. Thanks!

    syphilis, thanks!

    bart, I wrote that I had already tried turning the firewall off. But I wrote a lot, so it might have been easy to miss. Thanks!

    All of this started when I wanted to make a small utility that uses the clipboard. My first thought was to do it in Qt C++, but I realized that colleages would complain and say "Why didn't you do it in Perl, it's much quicker to do things in Perl". So I better do it quickly in Perl, but after spending a whole day struggling with the CPAN Clipboard module I was about to give up and do it in Qt C++ anyway. It was just a last desperate thing to post a question here, but I didn'r really expect any answers. But the next morning there was five answers, and then more showed up! That gave me new energy to try more. Perlmonks is really a great place! Thanks a lot!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://886226]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-26 00:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found