Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

PPM not working in Perl 5.8.0.

by thunders (Priest)
on Jan 22, 2003 at 14:49 UTC ( [id://229025]=perlquestion: print w/replies, xml ) Need Help??

thunders has asked for the wisdom of the Perl Monks concerning the following question:

I'm getting odd errors from ppm recently. I'm running on Win2k SP2, and using Active State ActivePerl Build 804.

I'm a little confused by the results. I am running under my own user name with full priviledges, but for some reason I keep getting access denied errors. Originally my build directory was "C:\Temp" and after i first got this error i set the tempdir to a new folder called "C:\PPM". here is the error i received:

ppm> install http://theoryx5.uwinnipeg.ca/ppms/DBD-mysql.ppd ==================== Install 'DBI' version 1.30 in ActivePerl 5.8.0.804. ==================== Downloaded 375640 bytes. Can't remove directory C:/PPM/DBI-984: Permission denied at C:/Perl5.8 +/site/lib/ PPM/Repository.pm line 239 Error: Can't call method "gzread" on an undefined value at C:/Perl5.8/site/lib/Archive/Tar.pm line 274.

These results are typical of every module i've attempted to install via PPM since i moved from active state 802 to 804 (CPAN and CPANPLUS both work). Any insight would be appreciated. Thanks.

Replies are listed 'Best First'.
Re: PPM not working in Perl 5.8.0.
by jmcnamara (Monsignor) on Jan 22, 2003 at 17:42 UTC

    I get a similar result with ActivePerl804 on Win98.

    However, I also see the same problem with ActivePerl802 if I use PPM3.

    I diffed the Perl files in /bin and I see that the PPM batch file has been fixed in 804 so that it runs PPM3 as the default. I think that this didn't happen previously due to the wrong type of backslashes which caused PPM to default to PPM2 instead.

    So perhaps the difference that you are seeing is a difference between PPM2 and PPM3.

    What happens if you try an installation with PPM2?

    Of course, this doesn't explain why the PPM3 installation fails.

    --
    John.

Re: PPM not working in Perl 5.8.0.
by thunders (Priest) on Jan 22, 2003 at 18:14 UTC
    Update: edited out a boneheaded mistake i made on the command line

    i tried ppm2 and got similar results

    C:\>ppm2 PPM interactive shell (2.2.0) - type 'help' for available commands. PPM> install http://theoryx5.uwinnipeg.ca/ppms/DBD-mysql.ppd Install package 'http://theoryx5.uwinnipeg.ca/ppms/DBD-mysql.ppd?' (y/ +N): y Installing package 'http://theoryx5.uwinnipeg.ca/ppms/DBD-mysql.ppd'.. +. Downloading http://theoryx5.uwinnipeg.ca/ppms/x86/DBD-mysql.tar.gz ... Can't call method "gzread" on an undefined value at C:/Perl5.8/site/li +b/Archive/ Tar.pm line 274.
Re: PPM not working in Perl 5.8.0.
by PodMaster (Abbot) on Jan 23, 2003 at 08:35 UTC
    You have one of the broken Archive::Tar (PPM ain't got nothing to do with it). Get the latest (which I sadly found out, is the last one to work on win32, and not the greatest).


    MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
    ** The Third rule of perl club is a statement of fact: pod is sexy.

      Update: After getting the newest .tar.gz (0.2.3) 0f Archive::Tar from podmaster PPM is now working great. Thanks podmaster. feel free to ignore the rest of this post.

      I used cpanplus to remove my current Archive::Tar and manually replaced it with the last version i could find that passed on windows(according to cpan testers) Apparently this version of archive::tar(0.2.1) is even more broken in PPM possibly due to changes in it's implementation within PPM(??).. the following results are typical...

      ppm> i 2 Package 2: ==================== Install 'Crypt-Blowfish_PP' version 1.12 in ActivePerl 5.8.0.804. ==================== Downloaded 9708 bytes. Extracting 5/5: blib/arch/auto/Crypt/Blowfish_PP/.exists Successfully installed Crypt-Blowfish_PP version 1.12 in ActivePerl 5. +8.0.804. Can't unlink file C:\Temp/Crypt-Blowfish_PP-6876/blib/lib/Crypt/blib/l +ib/auto/Cr ypt/Blowfish_PP/blib/arch/auto/Crypt/Blowfish_PP/.exists: Permission d +enied at C :/Perl5.8/site/lib/PPM/Repository.pm line 239 Can't remove directory C:\Temp/Crypt-Blowfish_PP-6876/blib/lib/Crypt/b +lib/lib/au to/Crypt/Blowfish_PP/blib/arch/auto/Crypt/Blowfish_PP: Directory not e +mpty at C: /Perl5.8/site/lib/PPM/Repository.pm line 239 Can't remove directory C:\Temp/Crypt-Blowfish_PP-6876/blib/lib/Crypt/b +lib/lib/au to/Crypt/Blowfish_PP/blib/arch/auto/Crypt: Directory not empty at C:/P +erl5.8/sit e/lib/PPM/Repository.pm line 239 Can't remove directory C:\Temp/Crypt-Blowfish_PP-6876/blib/lib/Crypt/b +lib/lib/au to/Crypt/Blowfish_PP/blib/arch/auto: Directory not empty at C:/Perl5.8 +/site/lib/ PPM/Repository.pm line 239 Can't remove directory C:\Temp/Crypt-Blowfish_PP-6876/blib/lib/Crypt/b +lib/lib/au to/Crypt/Blowfish_PP/blib/arch: Directory not empty at C:/Perl5.8/site +/lib/PPM/R epository.pm line 239 Can't remove directory C:\Temp/Crypt-Blowfish_PP-6876/blib/lib/Crypt/b +lib/lib/au to/Crypt/Blowfish_PP/blib: Directory not empty at C:/Perl5.8/site/lib/ +PPM/Reposi tory.pm line 239 Can't remove directory C:\Temp/Crypt-Blowfish_PP-6876/blib/lib/Crypt/b +lib/lib/au to/Crypt/Blowfish_PP: Directory not empty at C:/Perl5.8/site/lib/PPM/R +epository. pm line 239 Can't remove directory C:\Temp/Crypt-Blowfish_PP-6876/blib/lib/Crypt/b +lib/lib/au to/Crypt: Directory not empty at C:/Perl5.8/site/lib/PPM/Repository.pm + line 239 Can't remove directory C:\Temp/Crypt-Blowfish_PP-6876/blib/lib/Crypt/b +lib/lib/au to: Directory not empty at C:/Perl5.8/site/lib/PPM/Repository.pm line +239 Can't remove directory C:\Temp/Crypt-Blowfish_PP-6876/blib/lib/Crypt/b +lib/lib: D irectory not empty at C:/Perl5.8/site/lib/PPM/Repository.pm line 239 Can't remove directory C:\Temp/Crypt-Blowfish_PP-6876/blib/lib/Crypt/b +lib: Direc tory not empty at C:/Perl5.8/site/lib/PPM/Repository.pm line 239 Can't remove directory C:\Temp/Crypt-Blowfish_PP-6876/blib/lib/Crypt: +Directory not empty at C:/Perl5.8/site/lib/PPM/Repository.pm line 239 Can't remove directory C:\Temp/Crypt-Blowfish_PP-6876/blib/lib: Direct +ory not em pty at C:/Perl5.8/site/lib/PPM/Repository.pm line 239 Can't remove directory C:\Temp/Crypt-Blowfish_PP-6876/blib: Directory +not empty at C:/Perl5.8/site/lib/PPM/Repository.pm line 239 Can't remove directory C:\Temp/Crypt-Blowfish_PP-6876: Directory not e +mpty at C: /Perl5.8/site/lib/PPM/Repository.pm line 239
      There appears to be problems untarring as each directory untarred appears to be nesting within the previous directory. Apparently i'll have to use my other installed perl (5.6.1) whenever i need to use a xs-heavy ppm'd module. i'll report the bug to activestate.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://229025]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-24 04:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found