Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

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


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

Hi True. My nmake is throwed me some fatal error. but Archive::Tar looks good. Archive::tar::streamed does not install. i am still working for a solution DV
  • Comment on Re^3: Problems installing Archive::Tar::Streamed on Win32

Replies are listed 'Best First'.
Re^4: Problems installing Archive::Tar::Streamed on Win32
by syphilis (Archbishop) on Apr 24, 2007 at 07:52 UTC
    ...but Archive::Tar looks good

    Yes, but Archive::Tar should have come as part of ActivePerl - ie, you didn't have to install it.

    If it's just a matter of installing Archive::Tar::Streamed, then you could simply copy Streamed.pm into the C:/activeperl5.6/site/lib/Archive/Tar folder. You may need to create that folder. (Note that this should work only because Archive::Tar::Streamed is a pure perl module.)

    As Anonymous Monk pointed out, your perl installation is screwed. Given that perl is in C:/activeperl5.6, it makes no sense for MakeMaker to go looking for M:/ACTIVE~1.6/lib/CORE/perl.h .

    Note for rinceWind: I thought that there would be a ppm at ActiveState for this module - but it fails to build under their automated build procedure. I think it would build fine for them if the default in the Makfile.PL was "none" instead of "tar" - it certainly builds fine for me on Win32 both with and without "tar".

    Cheers,
    Rob
      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
        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://611659]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-19 04:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found