<?xml version="1.0" encoding="windows-1252"?>
<node id="1011009" title="Re^3: Investigating Devel::Pragma's broken install on Cygwin, need help to fix it. ExtUtils::Depends possibly guilty??" created="2012-12-31 02:01:13" updated="2012-12-31 02:01:13">
<type id="11">
note</type>
<author id="524150">
syphilis</author>
<data>
<field name="doctext">
When you installed B::Hooks::OP::Annotation, you would have built and installed (among other things) a file named:
&lt;br&gt;&lt;br&gt;/usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/B/Hooks/OP/Annotation/Annotation.dll.&lt;br&gt;&lt;br&gt;Devel::Pragma assumes that /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/B/Hooks/OP/Annotation/libAnnotation.a would also have been built and installed ... but I *now* think that didn't happen.&lt;br&gt;So, one option is to build an import lib named libAnnotation.a (in the same directory as Annotation.dll). &lt;br&gt;You can do this by cd'ing to the directory that contains Annotation.dll and running:
&lt;c&gt;
gendef Annotation.dll
dlltool --kill-at --input-def Annotation.def --output-lib libAnnotation.a
&lt;/c&gt;
(At least that's what I would run on MS Windows with MinGW, and I think it would be the same command for Cygwin.)&lt;br&gt;
You probably already have dlltool (my Cygwin does) and there's a gendef package available for Cygwin if you don't already have it.&lt;br&gt;&lt;br&gt;You then need to repeat the same procedure for B::Hooks::OP::Check - ie create a libCheck.a for the Check.dll that was built and installed when you installed B::Hooks::OP::Check.

&lt;br&gt;&lt;br&gt;With any luck, Devel::Pragma will then build straight out of the box for you. Then there's the fun of working out what the bug is, and whose responsibility it is.&lt;br&gt;Welcome to the wonderful world of ExtUtils::Depends.

&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;Rob

</field>
<field name="root_node">
1010887</field>
<field name="parent_node">
1010914</field>
</data>
</node>
