Dear Brothers and Sisters in Perl!

A most strange thing happened with my PPM-program after trying to install XML::LibXML. The install did not work because I did not have the right version of iconv.dll and libxml, but I do not think that is the cause.

After that failed install, all further installs now stop with the following error message:

F:\>ppm install XML::LibXML::Common Downloading XML-LibXML-Common-0.13...done Unpacking XML-LibXML-Common-0.13...ppm install failed: Could not open +'C:\data\tmp\ppm-lwux0j/XML-LibXML-Common-0.13/blib/lib/XML/LibXML/Co +mmon.pm': No such file or directory

So it seems that after downloading the PPD file and the data-file, it just somehow never makes it to the temporary directory where it can be unpacked.

I did a clean re-install of my Activestate Perl 8.2.2 in another directory and there PPM works perfectly. But of course it would take days to bring this clean install up-to-date with my previous install (and I do not have the time now).

Does anybody has any bright ideas what went wrong and how to repair it?

CountZero

PS: I am using Windows XP Professional. libxml and iconv are now installed and working, but PPM still refuses to work properly.

Update 1: I have poked around in the ActivePerl/PPM/Client module and it does download the .tgz file into the temporary directory, but if fails to extract the files in it. I wrote a short script using Archive::Tar and copying the lines that extract the files and that has no problem extracting the contents of the archive file. I'm really stumped!

Update 2: Thanks to all your suggestions, it seemed most likely that there was some wrong interaction between my versions of Archive::Tar and the PPM-scripts and modules, so I copied them all over from the clean install I made before and now it works!

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James


In reply to PPM stopped working after trying to install XML::LibXML [SOLVED] by CountZero

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.