...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 | [reply] |
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
| [reply] |
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. | [reply] [d/l] |