Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by keymon (Beadle)
on Jan 19, 2005 at 15:25 UTC ( #423409=note: print w/replies, xml ) Need Help??


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

Just a minor nit: I tried installing AI::NNEasy via CPAN, and it complained about "Class::HPLOO" not being found. Could you put it in as a dependency, so that CPAN will download and install Class::HPLOO first (if not installed) ?
  • Comment on Re: AI::NNEasy to setup fast a Neural Network using just Perl and XS.

Replies are listed 'Best First'.
Re^2: AI::NNEasy to setup fast a Neural Network using just Perl and XS.
by gmpassos (Priest) on Jan 19, 2005 at 20:27 UTC
    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".

      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".

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://423409]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2021-01-23 12:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?