CountZero has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PPM stopped working after trying to install XML::LibXML
by mwah (Hermit) on Nov 04, 2007 at 21:44 UTC | |
by CountZero (Bishop) on Nov 04, 2007 at 21:58 UTC | |
by randyk (Parson) on Nov 04, 2007 at 22:42 UTC | |
by CountZero (Bishop) on Nov 04, 2007 at 23:07 UTC | |
by BrowserUk (Patriarch) on Nov 04, 2007 at 22:33 UTC | |
by CountZero (Bishop) on Nov 04, 2007 at 22:43 UTC | |
by mwah (Hermit) on Nov 04, 2007 at 22:35 UTC |