http://qs321.pair.com?node_id=423494


in reply to Re: AI::NNEasy to setup fast a Neural Network using just Perl and XS.
in thread AI::NNEasy to setup fast a Neural Network using just Perl and XS.

Actually this is a bug of CPAN.pm, since it's already there:
use Class::HPLOO::MakeMaker ; WriteMakefile( 'NAME' => 'AI::NNEasy' , 'VERSION_FROM' => 'lib/AI/NNEasy.pm' , 'PREREQ_PM' => { 'Class::HPLOO' => 0.21 , 'Inline' => 0.44 , } , ($] >= 5.005 ? ( ABSTRACT_FROM => 'lib/AI/NNEasy.pm', AUTHOR => 'Graciliano M. P. <gmpassos@cpan.org>' ) : () ), );

Graciliano M. P.
"Creativity is the expression of liberty".

  • Comment on Re^2: AI::NNEasy to setup fast a Neural Network using just Perl and XS.
  • Download Code

Replies are listed 'Best First'.
Re^3: AI::NNEasy to setup fast a Neural Network using just Perl and XS. ("bugs")
by tye (Sage) on Jan 19, 2005 at 21:57 UTC

    How do you expect CPAN.pm to get past:

    use Class::HPLOO::MakeMa­ker ;

    to be able to run the code that tells it that it needs Class::HPLOO ?

    I looked, and CPAN.pm parses the Makefile so you should try including a pre-built Makefile in your distribution (that will get replaced). I also checked CPANPLUS.pm and it also parses Makefiles to find prerequisites.

    I don't know if including a Makefile will be enough to fix this problem, but you shouldn't just blithely blame the circular dependencies you've created with Class::HPLOO on "a bug in CPAN.pm".

    Please uninstall your copy of Class::HPLOO, download your module(s) that use it from CPAN, and test that they install correctly.

    - tye        

      Wow! Big mistake!

      I have just added the new MakeMa­ker in the last release based in what Inline does. This was added to install the compiled XS in the Perl distribution.

      I will look for a solution using the default MakeMa­ker.

      But note that the prerequisite bug at CPAN really exists and is a common bug that reports a lot of wrong tests by the CPAN testers.

      Graciliano M. P.
      "Creativity is the expression of liberty".