Subject: | How to install with Strawberry Perl |
On Windows, Audio:Scan assumes that you use ActiveState Perl and Visual
Studio 8. This is a pity and support for Strawberry Perl is not hard to
implement. In 3 places you have to replace
#ifdef _MSC_VER
with
#ifndef __WIN32__
These places are:
Scan.xs:182
src/common.c:208
include/common.h:36
Additionally, you need a compatible version of zlib. I copied zlib1.dll
that I have in c:\strawberry\c\bin\zlib1.dll to the win32 directory of
Audio::Scan (but I'm not sure if every Strawberry Perl installation has
this). To use that lib I had to modify the respective line in
Makefile.PL to
$MYEXTLIB .= 'win32/zlib1.dll ';
zlib1.dll might be usable with Visual Studio but I can't test that. If
not, it might be possible to use $Config{cc} to decide which one to use.