|Problems? Is your data what you think it is?|
Re: Investigating Devel::Pragma's broken install on Cygwin, need help to fix it. ExtUtils::Depends possibly guilty??by syphilis (Canon)
|on Dec 30, 2012 at 06:37 UTC||Need Help??|
The hook_op_annotation.h file is not found by g++
But the crucial -lAnnotation is missing. What happened to it ?
Did the 'perl Makefile.PL' step warn of "no library found for -lAnnotation" ?
If it did, then the build process won't even try to link to that file. Otherwise, it's probably a case of ExtUtils-Depends forgetting to put the -lAnnotation in.
Try opening the generated Makefile, find the 2 separate lines beginning EXTRALIBS and LDLOADLIBS, add (by hand) the -lAnnotation at the end of each of those 2 lines, then run 'make' again.
That ghastly hack will work with any luck .... assuming that /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/B/Hooks/OP/Annotation/libAnotation.a (which should have been installed as part of B::Hooks::OP::Annotation) exists.
Another snag might be that the order in which -lCheck and -lAnnotation are specified in those 2 lines is important.
Sorry - too many dependencies for me to actually try this out for myself.