hello, i am using "perl 5, version 18, subversion 2 (v5.18.2) built for MSWin32-x86-multi-thread-64int" on windows 7 enterprise(SP1).
I am trying to compile and install a perl module Audio::Scan (.71 version). I downloaded the module from cpan.org, extracted it locally in my machine. It contains readme.win32 text file which states the following:
zlib ---- The included zlib.lib should just work, if not: Download zlib from htt +p://www.zlib.net/zlib123.zip. Build from projects/visualc6/zlib.dsw. Build Win32_LIB_Release Copy zlib.lib into the Audio::Scan win32 direc +tory. Audio::Scan ----------- Install ActivePerl 5.8.8 or 5.10.0. Open command prompt. Run the vcvar +s file, for example C:\Program Files\Microsoft Visual Studio 8\VC\vcv +arsall.bat perl Makefile.PL nmake nmake test ------- END
I followed all the steps till nmake. The step before nmake i executed like this "perl Makefile.PL make=nmake" as it was generating it dmake style by default. This step goes well. But in nmake step, i get a lot of warnings followed by the following error:
win32/zlib.lib(./Win32_LIB_Release/crc32.obj):(.text$mn+0x22): undefin +ed reference to `@__security_check_cookie@4' win32/zlib.lib(./Win32_L +IB_Release/crc32.obj):(.text$mn+0x1be): undefined reference to `@__se +curity_check_cookie@4' c:/perl/site/lib/auto/mingw/bin/../lib/gcc/i68 +6-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: win32/zl +ib.lib(./Win32_LIB_Release/crc32.obj): bad reloc address 0x1be in sec +tion `.text$mn' c:/perl/site/lib/auto/mingw/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../. +./../../i686-w64-mingw32/bin/ld.exe: final link failed: Invalid opera +tion collect2: ld returned 1 exit status NMAKE : fatal error U1077: 'C:\Per +l\site\bin\g++.EXE' : return code '0x1' Stop.
I read this thread Not able to compile perl modules in windows checked the compiler used to compile perl as follows:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC>perl -V:cc
it returned,
cc='gcc';
I am stuck at this point. Any help would be highly appreciated. Sorry for typos if any.
In reply to unable to install Audio::Scan module from cpan by vamank
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |