php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40233 I have a problem for the compilation and install FANN extension in the UBUNTU
Submitted: 2007-01-25 11:36 UTC Modified: 2007-01-25 11:44 UTC
From: benutstyle at gmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.0 OS: Ubuntu 6.10
Private report: No CVE-ID: None
 [2007-01-25 11:36 UTC] benutstyle at gmail dot com
Description:
------------
root@Demo-Neurones:/# pear install http://pecl.php.net/get/fann-0.1.1.tgz
downloading fann-0.1.1.tgz ...
Starting to download fann-0.1.1.tgz (9,509 bytes)
.....done: 9,509 bytes
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
3 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20050922
Zend Extension Api No:   220051025
building in /var/tmp/pear-build-root/fann-0.1.1
running: /tmp/tmpMar0y8/fann-0.1.1/configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... 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 for gcc option to accept ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext
checking for PHP extension directory... /usr/lib/php5/20051025
checking for PHP installed headers prefix... /usr/include/php5
checking for re2c... re2c
checking for re2c version... /tmp/tmpMar0y8/fann-0.1.1/configure: line 3768: echo: write error: Broken pipe
0.9.12 (ok)
checking for gawk... gawk
checking for fann support... yes, shared
checking for fann files in default path... not found
configure: error: Please reinstall the fann distribution
ERROR: `/tmp/tmpMar0y8/fann-0.1.1/configure' failed

Its impossible to compiling the fann extension..

Please can you help me!!!!


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-01-25 11:44 UTC] tony2001@php.net
Please report issues to PECL bug tracker.
http://pecl.php.net/bugs/search.php?cmd=display&status=Open&package_name[]=fann

Thank you.
 [2011-04-03 12:07 UTC] kornev at arscommunity dot com
On my 64bit fedora the fann.h is located in the  /usr/include/fann, so I have to change the configure file, from this:

  SEARCH_PATH="/usr/local /usr"
  SEARCH_FOR="/include/fann.h"

to this:

  SEARCH_PATH="/usr/local/include /usr/include /usr/include/fann"
  SEARCH_FOR="fann.h"

and then finish the installation manually
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Dec 07 10:00:02 2025 UTC