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

Try uninstalling, then reinstalling. #40471: Won't link against hook_op_check on Strawberry 5.10

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

Replies are listed 'Best First'.
Re^4: Devel::Declare for cygwin; "undefined reference to '_hook_op_check'"
by Boldra (Curate) on Sep 28, 2009 at 10:15 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
Re^4: Devel::Declare for cygwin; "undefined reference to '_hook_op_check'"
by Boldra (Curate) on Sep 29, 2009 at 07:46 UTC
    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