Hi,
Devel-CheckLib is more-or-less unloadable when using the MinGW compiler with ActivePerl. Nevertheless, I built and installed it on the x86 version of ActiveState build 1005 (perl-5.10). I skipped the 'dmake test', because the tests all fail anyway - ie I ran 'perl Makefile.PL' followed by 'dmake install'.
If I then run 'perl -MDevel::CheckLib -e 1' I get:
C:\_32\comp\Math-GMP-2.06>perl -MDevel::CheckLib -e 1
%Config::Config is read-only
BEGIN failed--compilation aborted at C:/_32/ap1005/lib/ActiveState/Pat
+h.pm line
12.
Compilation failed in require at C:/_32/ap1005/lib/ActivePerl/Config.p
+m line 46.
Compilation failed in require.
BEGIN failed--compilation aborted.
But if, in the same directory, I run 'perl -Mblib -MDevel::CheckLib -e 1', then there's no problem:
C:\_32\comp\Math-GMP-2.06>perl -Mblib -MDevel::CheckLib -e 1
Set up gcc environment - 3.4.5 (mingw-vista special r3)
I can even do:
C:\_32\comp\Math-GMP-2.06>perl -Mblib -MDevel::CheckLib -e "print $Dev
+el::CheckLib::VERSION"
Set up gcc environment - 3.4.5 (mingw-vista special r3)
0.91
But ... the thing is .... the blib does *not* contain a CheckLib.pm - it's a Math-GMP-2.06 blib !!
How is this possible ? Why should the invocation of a blib that contains nothing useful make such a difference ? What steps can I take to try and make sense of this ?
Btw, it's exactly the same scenario with ActivePerl build 1200 (perl-5.12).
And it doesn't have to be a Math-GMP blib. *Any* valid blib structure will do.
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.