cpan has started failing for me on the command line on my production machine. When I run "cpan X" it downloads the X tar file, generates an empty Makefile.PL and then complains that everything is missing.

However I have deeper problems. When I tried to install DBD::SQLite it ran out of memory during compilation. Not so much of a problem as that module is not required for production purposes but it does mean I cannot run any test script depending on DBD::SQLite.

But it gets worse. My production machine is a ubuntu hardy running perl 5.8. My test machine is a debian running perl 5.10. For a long time I tried to hold back the perl version on the test machine to keep it in sync with production. However in the end that just got to be more and more of a handicap as things refused to install. Upgrading the production machine is out of the question (just checked with the service provider). Changing the test machine to ubuntu on the current hardware in a big bang is also out of the question. I know I am going to have to get another test machine and move across gradually. But does anybody have any suggestions in the meantime?

Edit: I have just tried manually upgrading CPAN. The test scripts run fine but the wider issues remain.


In reply to perl module installs getting really mesed up by SilasTheMonk

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.