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!


In reply to Re^2: Problems installing CPAN Win32::Clipboard for Strawberry Perl under Windows Vista by pela
in thread Problems installing CPAN Win32::Clipboard for Strawberry Perl under Windows Vista by pela

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.