good chemistry is complicated,
and a little bit messy -LW
The hook_op_annotation.h file is not found by g++
I don't think it needs to find that file - the build just needs to link to /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/B/Hooks/OP/Annotation/libAnnotation.a.
I can see that the location of that file was spelt out with:
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.
In reply to Re: Investigating Devel::Pragma's broken install on Cygwin, need help to fix it. ExtUtils::Depends possibly guilty??