The problem is that the path to msvcrt.lib is wrong
I take it that C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\msvcrt.lib exists - otherwise I would expect that the
link -out ...... "C:\Program Files (x86)\Microsoft Visual Studio 10.0\
+VC\lib\msvcrt.lib" -def:Zlib.def
command would fail because that file could not be found.
Are those 2 versions of msvcrt.lib different ? (Compare their respective Sha1 or MD5 values.)
Maybe all you need to do is change the 'libpth' setting (permanently) to '\lib'.
You can do this by changing the value assigned to "libpth" in both perl\lib\CORE\Config.pm and perl\lib\CORE\Config_heavy.pl.
Having made those changes, just run
perl -V:libpth to check that they have taken effect.
(If they haven't taken effect then they haven't been made correctly.)
If the current 'libpth' setting is incorrect for Compress::Raw::Zlib, then it is incorrect for
all perl extensions - and needs to be changed to the correct value.
Note that you could also build the module by cd'ing to the build directory and running that link command (corrected to include the missing "amd64").
If your diagnosis of the problem is correct, then that link command should then succeed.
Once you've got that link command successfully run, just re-run
nmake to complete the build.
•this is not a problem of the Compress:Raw:Zlib extensions, but of the perl itself.
Yes - if the libpth setting is not correct then this does, indeed, appear to be a bug in the perl source and a perlbug report for it should be filed.
Cheers,
Rob
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.