|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56317 Won't install
Submitted: 2005-02-21 10:57 UTC Modified: 2006-02-27 07:22 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: nospam at nospam dot com Assigned:
Status: No Feedback Package: fann (PECL)
PHP Version: 4.3.10 OS: FreeBSD
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-02-21 10:57 UTC] nospam at nospam dot com
desktopbsd# pear install
downloading fann-0.1.1.tgz ...
Starting to download fann-0.1.1.tgz (9,509 bytes)
.....done: 9,509 bytes
3 source files, building
running: phpize
autoheader253: `' is created
Configuring for:
  PHP Api Version:   20020918
  Zend Module Api No:   20020429
  Zend Extension Api No:   20021010
building in /var/tmp/pear-build-admin/fann-0.1.1
running: /tmp/tmp7RlBC2/fann-0.1.1/configure
checking build system type... i386-unknown-freebsd4.10
checking host system type... i386-unknown-freebsd4.10
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... yes
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM
checking for PHP extension directory... /usr/local/lib/php/20020429
checking for re2c... exit 0;
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for fann support... yes, shared
checking for fann files in default path... found in /usr/local
checking for fann_get_MSE in -lfann... no
configure: error: wrong fann lib version or lib not found
`/tmp/tmp7RlBC2/fann-0.1.1/configure' failed

Expected result:
I expect it not to fail!

I compiled fann from: fann-1.2.0.tar.gz

The fann header files are present: /usr/local/include/fann.h


The fann library files are present:



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-23 10:07 UTC]
Please try the latest package version and report back if you're still experiencing this issue.
 [2006-02-27 07:22 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

 [2012-06-10 14:35 UTC] rafal at nrafal dot pl

Workaround for this - edit config.m4 and change this lines:

    AC_MSG_ERROR([wrong fann lib version or lib not found])
    -L$FANN_DIR/lib -lm -ldl

Into this:

It will cause configure to not check for this option, and it'll generate proper 
makefile. After that, you should be able to execute make && make install. 
Remember to add to your php.ini.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Feb 01 09:05:53 2023 UTC