AI-FANN - Installation

Posted on Mon Jan 29 19:13:10 2007 by purrutia
Installation
There is no way that i can install the AI::FANN 0.0.7. I tried to install it from the cpan interface, and from the sources...
I have the libfann 2

And the only version of AI::FANN that i can install is the 0.0.5

The AI:FANN 0.0.7 never pass the make test... this is my output:

LD_RUN_PATH="" cc -shared -L/usr/local/lib FANN.o morefann.o -o blib/arch/auto/AI/FANN/FANN.so -ldoublefann
chmod 755 blib/arch/auto/AI/FANN/FANN.so
cp FANN.bs blib/arch/auto/AI/FANN/FANN.bs
chmod 644 blib/arch/auto/AI/FANN/FANN.bs
Manifying blib/man3/AI::FANN.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/AI-FANN....
# Failed test 'use AI::FANN;'
# at t/AI-FANN.t line 9.
# Tried to use 'AI::FANN'.
# Error: Can't load '/home/purrutia/.cpan/build/AI-FANN-0.07/blib/arch/auto/AI/FANN/FANN.so' for module AI::FANN: /home/purrutia/.cpan/build/AI-FANN-0.07/blib/arch/auto/AI/FANN/FANN.so:
undefined symbol: fann_get_activation_function at /usr/lib/perl/5.8/DynaLoader.pm line 225.
# at (eval 3) line 2
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at t/AI-FANN.t line 9.
# Looks like you failed 1 test of 1.
t/AI-FANN....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/pods.......skipped
all skipped: Only the author needs to check that POD docs are right
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/AI-FANN.t 1 256 1 1 1
1 test skipped.
Failed 1/2 test scripts. 1/1 subtests failed.
Files=2, Tests=1, 0 wallclock secs ( 0.07 cusr + 0.02 csys = 0.09 CPU)
Failed 1/2 test programs. 1/1 subtests failed.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Failed during this command:
SALVA/AI-FANN-0.07.tar.gz : make_test NO



Any clues about how to install it ( i use ubuntu dapper)

Thanks
Write a response