UPDATE: Thank you all, I was able to compile, and will send this thread to the author as a bug report
Hi All,
Trying to use Archive::Zip on windows 7 using strawbery perl.
Archive::Zip installs just fine and seems to run just fine creating a zip file. Unfortunately, the created file in not compressed and seems to have other issues.
Thanks in advance!
cpan> install Compress::Raw::Zlib
Database was generated on Wed, 22 Feb 2012 02:52:46 GMT
Running install for module 'Compress::Raw::Zlib'
Running make for P/PM/PMQS/Compress-Raw-Zlib-2.050.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/P/PM/PMQS/Compress-Raw-Zlib-
+2.050.tar.gz
Checksum for C:\Strawberry\cpan\sources\authors\id\P\PM\PMQS\Compress-
+Raw-Zlib-2.050.tar.gz ok
Scanning cache C:\Strawberry\cpan\build for sizes
......................................................................
+......DONE
CPAN.pm: Going to build P/PM/PMQS/Compress-Raw-Zlib-2.050.tar.gz
Parsing config.in...
Building Zlib enabled
Auto Detect Gzip OS Code..
Setting Gzip OS Code to 14 [VFAT file system (Win95, NT)]
Looks Good.
Up/Downgrade not needed.
Checking if your kit is complete...
Looks good
Writing Makefile for Compress::Raw::Zlib
Writing MYMETA.yml and MYMETA.json
cp lib/Compress/Raw/Zlib.pm blib\lib\Compress\Raw\Zlib.pm
AutoSplitting blib\lib\Compress\Raw\Zlib.pm (blib\lib\auto\Compress\Ra
+w\Zlib)
C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp
+ -typemap C:\Strawberry\perl\lib\ExtUtils\typemap
-typemap typemap Zlib.xs > Zlib.xsc && C:\strawberry\perl\bin\perl.e
+xe -MExtUtils::Command -e mv -- Zlib.xsc Zlib.c
gcc -c -I./zlib-src -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUS
+TOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -s -O2
+ -DVERSION=\"2.050\" -DXS_VERSION=\"2.050\"
"-IC:\Strawberry\perl\lib\CORE" -DNO_VIZ -DZ_SOLO -DGZIP_OS_CODE=14
+ -DUSE_PPPORT_H Zlib.c
gcc -c -I./zlib-src -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUS
+TOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -s -O2
+ -DVERSION=\"2.050\" -DXS_VERSION=\"2.050\"
"-IC:\Strawberry\perl\lib\CORE" -DNO_VIZ -DZ_SOLO -DGZIP_OS_CODE=14
+ -DUSE_PPPORT_H adler32.c
adler32.c:12: error: expected declaration specifiers or '...' before '
+__int64'
adler32.c: In function 'adler32_combine_':
adler32.c:139: error: expected declaration specifiers before '__int64'
adler32.c:140: error: number of arguments doesn't match prototype
adler32.c:12: error: prototype declaration
adler32.c: In function 'adler32_combine':
adler32.c:170: error: too many arguments to function 'adler32_combine_
+'
adler32.c: In function 'adler32_combine64':
adler32.c:176: error: expected declaration specifiers before '__int64'
adler32.c:178: error: too many arguments to function 'adler32_combine_
+'
dmake.EXE: Error code 129, while making 'adler32.o'
PMQS/Compress-Raw-Zlib-2.050.tar.gz
C:\Strawberry\c\bin\dmake.EXE -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
PMQS/Compress-Raw-Zlib-2.050.tar.gz : make NO
cpan>
PS C:\strawberry\cpan\build\Compress-Raw-Zlib-2.049-U9YT3Z> perl -v
This is perl 5, version 12, subversion 3 (v5.12.3) built for MSWin32-x
+86-multi-thread
Copyright 1987-2010, Larry Wall
Perl may be copied only under the terms of either the Artistic License
+ or the
GNU General Public License, which may be found in the Perl 5 source ki
+t.
Complete documentation for Perl, including FAQ lists, should be found
+on
this system using "man perl" or "perldoc perl". If you have access to
+ the
Internet, point your browser at http://www.perl.org/, the Perl Home Pa
+ge.
PS C:\strawberry\cpan\build\Compress-Raw-Zlib-2.049-U9YT3Z>