in reply to Erroe while installing packages from PPM in windows

Works ok for me on ActivePerl-5.8.9 (build 825):
C:\>ppm install File-Copy-Recursive Downloading File-Copy-Recursive-0.38...done Unpacking File-Copy-Recursive-0.38...done Generating HTML for File-Copy-Recursive-0.38...done Updating files in site area...done 2 files installed
Can you show us the output of ppm repo describe 1
That would enable us to find the File-Copy-Recursive.tar.gz that you can't extract ... and we could then check to see that file is ok.

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Erroe while installing packages from PPM in windows
by Anonymous Monk on May 26, 2009 at 07:39 UTC
    also output of ppm log would help
      Output from ppm repo describe 1 is below.


      Name: ActiveState Package Repository
      URL: http://ppm4.activestate.com/MSWin32-x86/5.8/825/package.xml
      Enabled: yes
      Last-Status: 200 OK
      Last-Access: 20 minutes ago
      Refresh-In: 11 hours
      Last-Modified: 1 day and 17 hours ago
        URL: http://ppm4.activestate.com/MSWin32-x86/5.8/825/package.xml

        That's the same URL as displays for me. That means the .tgz that you're trying to unpack is the same .tgz as I successfully unpacked.

        I think that rules out the theory that there's something wrong with the .tgz file.

        Can you tell us how you're trying to install these modules - ie what command are you running ? Have you tried installing by running ppm install File-Copy-Recursive from the command line ?

        Cheers,
        Rob
      This is what i am getting in PPM Tool


      XML-DOM depends on XML-RegExp
      Installing 3 packages ...
      Downloading XML-DOM-1.44 ... done
      Downloading libxml-perl-0.08 ... done
      Downloading XML-RegExp-0.03 ... done
      Unpacking XML-DOM-1.44 ... failed


      ERROR: Can't extract files from C:\DOCUME~1\jhuang\LOCALS~1\Temp\ppm-kDP3uZ/XML-DOM-1.44.tgz
        my guess would be this is not a ppm install issue but rather a windows file permissions problem. if youre trying this on vista, or newer, make sure you launch your cmd.exe window so its title bar reads 'administrator...' before you try the command. fastest way for me to type how to achieve this is to browse to your system32 folder, right-click 'cmd.exe' then pick 'run as administrator'. then cd to your perl/bin directory and run the command. when you launch your app as the 'true administrator', likely any file permissions problem you were having will hopefully go away. if not, you shoudl check the permissions of the user folder where the file is being copied to and then unpacked from...