Posted on 2009-04-06 07:19:41-07 by peco
Ubuntu 8.10 - install AI::FANN-0.10
First of all: thank you very much for your work!. It's fantastic! I am running Ubuntu 8.10, libfann.1.2.0-1, and I can not install the AI:::FANN-0.10 from CPAN. Could you give me some idea? Here is part of my log:
In file included from FANN.xs:13: constants.h:43: error: 'FANN_GAUSSIAN_SYMMETRIC' undeclared here (not in a function) constants.h:47: error: 'FANN_LINEAR_PIECE' undeclared here (not in a function) constants.h:48: error: 'FANN_LINEAR_PIECE_SYMMETRIC' undeclared here (not in a function) constants.h:49: error: 'FANN_SIN_SYMMETRIC' undeclared here (not in a function) constants.h:50: error: 'FANN_COS_SYMMETRIC' undeclared here (not in a function) constants.h:51: error: 'FANN_SIN' undeclared here (not in a function) constants.h:52: error: 'FANN_COS' undeclared here (not in a function) constants.h:55: error: 'FANN_STOPFUNC_MSE' undeclared here (not in a function) constants.h:56: error: 'FANN_STOPFUNC_BIT' undeclared here (not in a function) FANN.xs: In function '_sv2fta': FANN.xs:99: warning: format not a string literal and no format arguments FANN.xs: In function '_check_error': FANN.xs:112: error: 'FANN_E_NO_ERROR' undeclared (first use in this function) FANN.xs:112: error: (Each undeclared identifier is reported only once FANN.xs:112: error: for each function it appears in.)
Direct Responses: 10428 | Write a response
Posted on 2009-04-06 09:22:42-07 by peco in response to 10426
Re: Ubuntu 8.10 - install AI::FANN-0.10
If we update the packages provided by Ubuntu to the last stable release of the libraries (libfann2.0), we would 'clean' some errors but the result is still odd.
Direct Responses: 10429 | Write a response
Posted on 2009-04-06 10:25:46-07 by peco in response to 10428
Re: Ubuntu 8.10 - install AI::FANN-0.10
Well, seems that this wrapper is designed to work with the last beta of libfann (version 2.1) and it's not compatible with the last stable release (version 2.0).
The constants "FANN_SIN_SYMMETRIC", "FANN_COS_SYMMETRIC", "FANN_SIN", "FANN_COS" didn't exists until now (the beta) and this is the 'error' that jumps during the installation.
Depending on when will be released the libfann2.1, could be interesting bugfix this or just wait.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.