in reply to Build problems with Archive::Zip?

*nope You're in the wrong directory. For the latest release I see:

Volume serial number is F217-BC95 D:. *--Archive-Zip-1.48 | *--examples | | *--PaxHeader | *--lib | | *--Archive | | | *--PaxHeader | | | *--Zip | | | *--PaxHeader | | *--PaxHeader | *--PaxHeader | *--script | | *--PaxHeader | *--t | *--badjpeg | | *--PaxHeader | *--data | | *--PaxHeader | *--PaxHeader *--PaxHeader

I'm sure you know this, but for future readers don't enter the PaxHeader directories. Just run perl Makefile.PL from within the extracted Archive-Zip-1.48, or install via cpan/cpanm.

I think the root cause of this is that certain distros (e.g. opensuse) ship tar defaulting to this format, rather than the gnu format (--format=gnu). See also rt://105547.

Update: hang on, ignore the text I struk out. Let me dig deeper.

Update 2:Delete all the PaxHeader directories, perl Makefile.PL, dmake, dmake test, finally dmake install and all is well. RT ticket updated.

Update 3:For reference, the manual install fails, a cpan install works on Windows. I uninstalled my manual build then cpan Archive::Zip, worked without error.

Replies are listed 'Best First'.
Re^2: Build problems with Archive::Zip?
by BrowserUk (Patriarch) on Jul 08, 2015 at 19:18 UTC
    Update 2:Delete all the PaxHeader directories,

    Thanks marto. Delete those and I get a clean install. Perfect.

    C:\perl64\packages\Archive-Zip-1.48>makefile Checking if your kit is complete... Looks good Writing Makefile for Archive::Zip Writing MYMETA.yml and MYMETA.json C:\perl64\packages\Archive-Zip-1.48>nmake Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. cp lib/Archive/Zip/FileMember.pm blib\lib\Archive\Zip\FileMember.pm cp lib/Archive/Zip/MemberRead.pm blib\lib\Archive\Zip\MemberRead.pm cp lib/Archive/Zip/MockFileHandle.pm blib\lib\Archive\Zip\MockFileHand +le.pm cp lib/Archive/Zip/BufferedFileHandle.pm blib\lib\Archive\Zip\Buffered +FileHandle.pm cp lib/Archive/Zip/StringMember.pm blib\lib\Archive\Zip\StringMember.p +m cp lib/Archive/Zip/Tree.pm blib\lib\Archive\Zip\Tree.pm cp lib/Archive/Zip/FAQ.pod blib\lib\Archive\Zip\FAQ.pod cp lib/Archive/Zip/Member.pm blib\lib\Archive\Zip\Member.pm cp lib/Archive/Zip/Archive.pm blib\lib\Archive\Zip\Archive.pm cp lib/Archive/Zip.pm blib\lib\Archive\Zip.pm cp lib/Archive/Zip/DirectoryMember.pm blib\lib\Archive\Zip\DirectoryMe +mber.pm cp lib/Archive/Zip/NewFileMember.pm blib\lib\Archive\Zip\NewFileMember +.pm cp lib/Archive/Zip/ZipFileMember.pm blib\lib\Archive\Zip\ZipFileMember +.pm C:\Perl64\bin\perl.exe -MExtUtils::Command -e cp -- script/crc +32 blib\script\crc32 pl2bat.bat blib\script\crc32 C:\perl64\packages\Archive-Zip-1.48>nmake install Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. Installing C:\Perl64\site\lib\Archive\Zip.pm Installing C:\Perl64\site\lib\Archive\Zip\Archive.pm Installing C:\Perl64\site\lib\Archive\Zip\BufferedFileHandle.pm Installing C:\Perl64\site\lib\Archive\Zip\DirectoryMember.pm Installing C:\Perl64\site\lib\Archive\Zip\FileMember.pm Installing C:\Perl64\site\lib\Archive\Zip\Member.pm Installing C:\Perl64\site\lib\Archive\Zip\MemberRead.pm Installing C:\Perl64\site\lib\Archive\Zip\MockFileHandle.pm Installing C:\Perl64\site\lib\Archive\Zip\NewFileMember.pm Installing C:\Perl64\site\lib\Archive\Zip\StringMember.pm Installing C:\Perl64\site\lib\Archive\Zip\Tree.pm Installing C:\Perl64\site\lib\Archive\Zip\ZipFileMember.pm Appending installation info to C:\Perl64\lib/perllocal.pod

    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
    I'm with torvalds on this Agile (and TDD) debunked I told'em LLVM was the way to go. But did they listen!
      Why are you doing this?