in reply to Re^4: Module::Build::XSUtil build problem
in thread Module::Build::XSUtil build problem

Ok - I sorted it out. It was two things:

  1. Module::Build::XSUtil will not build correctly with the Module::Build bundled with perl 5.10. the 5.10 module is at $VERSION = '0.35'; the latest which worked is at v0.4205
  2. When I installed the latest Module::Build this particular module installed in a new directory off my CPAN basedir: /u01/oracle/perl/lib/perl5. I updated my PERL5LIB and then I could find a new version of the module. Otherwise I got the error message:
    cpan20> test Module::Build::XSUtil
    Running test for module 'Module::Build::XSUtil'
    Running Build for H/HI/HIDEAKIO/Module-Build-XSUtil-0.06.tar.gz
      Has already been unwrapped into directory /u01/oracle/.cpan/build/Module-Build-XSUtil-0.06-36QCGd
      '/usr/bin/perl Build.PL --install_base /u01/oracle/perl' returned status 65280, won't make
    Running Build test
      Make had some problems, won't test
    

Module::Build required newer versions of Module::Metadata and Perl::OSType.

At some point I did install a newer build of Module::Build on the Solaris 11 with perl 5.12 and it had $VERSION = '0.4205'; of Module::Build. Would it be reasonable to ask the maintainer of Module::Build::XSUtil to put in his code a 'require' statement for a newer version of Module::Build? I think that would sort things out.

  • Comment on Re^5: Module::Build::XSUtil build problem

Replies are listed 'Best First'.
Re^6: Module::Build::XSUtil build problem
by Anonymous Monk on Apr 10, 2014 at 20:02 UTC

    Would it be reasonable to ask the maintainer of Module::Build::XSUtil to put in his code a 'require' statement for a newer version of Module::Build? I think that would sort things out.

    Yes. Module-Build-XSUtil-0.06/Build.PL currently has

    configure_requires => { 'Module::Build' => 0.38, },

    If a newer version is required, its very reasonable to ask the maintainer to bump the number:)

      huh... why didn't CPAN shell bomb and tell me my Module::Build was old? Oh well....

        huh... why didn't CPAN shell bomb and tell me my Module::Build was old? Oh well....

        It itself was too old to support that feature?