Thanks for clarifying things. I've just built Devel::Declare on Cygwin (perl-5.10.1) without any problems.
You got:
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lCheck
Writing Makefile for Devel::Declare
I didn't get that "probably harmless" warning - it's no doubt *not* harmless.
The "-lCheck" is the link to auto/B/Hooks/OP/Check/Check.dll, and that's your (missing) link that will resolve the errors you got. Could you run 'make realclean', followed by 'perl Makefile.PL' and then open the generated Makefile. What's contained in the EXTRALIBS and LDLOADLIBS entries in that file ? It should be the same entry in both, and it needs to be:
EXTRALIBS = -L/path/to/Check_dll -lCheck
LDLOADLIBS = -L/path/to/Check_dll -lCheck
where /path/to/Check_dll is the folder that contains Check.dll. I don't know what that will be for you ... perhaps something like:
/usr/lib/perl5/site_perl/5.12/i686-cygwin/auto/B/Hooks/OP/Check
Once the Makefile is corrected, you should be able to run 'make test' and 'make install' successfully.
That's a hack, not a proper solution - but I've no intention of trying to work out a proper solution where (the monstrosity that goes by the name of) Module::Install is involved in the build process.
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.