Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: Problems installing Archive::Tar::Streamed on Win32

by DV (Initiate)
on Apr 24, 2007 at 08:34 UTC ( [id://611669]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Problems installing Archive::Tar::Streamed on Win32
in thread Problems installing Archive::Tar::Streamed on Win32

Hi rob i copied the streamed.pm to the C:/activeperl5.6/site/lib/Archive/Tar folder, And when tried to do perl-marchive::streamed it throwed me constant.pm is unavailable. when i replaced it back and run perl-marchive::streamed, "Bareword "BLOCK" not allowed while "strict subs" in use at C:/activeperl5.6/site /lib/Archive/Tar/Streamed.pm line 26. Compilation failed in require. BEGIN failed--compilation aborted." can you show some light on this. its screwing me. all i wanted to do is to tar some 400 mb files DV
  • Comment on Re^5: Problems installing Archive::Tar::Streamed on Win32

Replies are listed 'Best First'.
Re^6: Problems installing Archive::Tar::Streamed on Win32
by syphilis (Archbishop) on Apr 24, 2007 at 10:07 UTC
    Bareword "BLOCK" not allowed

    "BLOCK" is defined in Archive::Tar::Constant. Which version of Archive::Tar do you have ? Perhaps you have an ancient version that fails to define "BLOCK". (Archive::Tar-1.30 seems to work quite well with Archive::Tar::Streamed-0.03 for me ... though I suspect you'll have trouble updating Archive:Tar on your broken perl.)

    If you're wanting to do much useful stuff with perl on Windows you ought to consider getting an up-to-date version of Win32 perl (one that ships with its own compiler and make utility). I recommend Strawberry Perl (http://vanillaperl.com/) - which comes with the MinGW (gcc)compiler and dmake. You can then also install the version of ppm that is found on CPAN, and use it to 'ppm install' from the usual repositories whenever you want.

    Cheers,
    Rob
    Update: Actually, you can probably get a sufficiently recent version of Archive::Tar using ppm:
    ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/Archive-Tar.ppd
    That will install version 1.26.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-25 08:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found