Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: Devel::Declare for cygwin; "undefined reference to '_hook_op_check'"

by Boldra (Deacon)
on Sep 28, 2009 at 09:06 UTC ( #797861=note: print w/replies, xml ) Need Help??

in reply to Re: Devel::Declare for cygwin; "undefined reference to '_hook_op_check'"
in thread Devel::Declare for cygwin; "undefined reference to '_hook_op_check'"

ExtUtils::Depends was at 0.302, the latest I could find on CPAN, and from your suggestion I've tried reinstalling B::Hooks::OP::Check both via cpan> force install ... and downloading the tgz and installing with make install, but in the end I'm still getting the same error.

You certainly sound like you know what your talking about, so I'd be very happy if you had any further suggestions!

- Boldra
  • Comment on Re^2: Devel::Declare for cygwin; "undefined reference to '_hook_op_check'"

Replies are listed 'Best First'.
Re^3: Devel::Declare for cygwin; "undefined reference to '_hook_op_check'"
by Anonymous Monk on Sep 28, 2009 at 09:19 UTC
      I've now uninstalled B::H::OP::C and even ExtUtils::Depends with cpanp and reinstalled them both, but I'm still hitting the same problem.

      It does look a lot like rt://45224. I've read through this and also read the related bug in the Devel::Declare queue rt://40471, but I just don't know enough about C to really grok what either of the modules are supposed to be doing.

      I'm going to have leave it for now (and start another project without MooseX::Declare), but will have a look later to see if there's an older version of Devel::Declare without the troublesome dependencies.

      - Boldra
      I completely removed my lib, sitelib and vendorlib dirs and reinstalled everything from scratch and now Devel::Declare is installed.

      Either the cpanp uninstall wasn't working, or there was a different incompatible library involved.

      Many many thanks for your help - I'm now looking forward to getting MooseX::Declare and trying it out (not too late to restart the project I started yesterday, but I have a lot of other libraries to reinstall now!)

      - Boldra
Re^3: Devel::Declare for cygwin; "undefined reference to '_hook_op_check'"
by Anonymous Monk on Jul 31, 2012 at 05:28 UTC
    If there are still people needing this help (I did), here is THE fix: start up cygwin setup.exe. search for check. You will (should) find one in Devel. It is: check: unit test framework for C Install that and your build problems for this will go away.

      Three years later, thank you !

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://797861]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2018-06-25 01:06 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.