Bug #40233 [Com]: I have a problem for the compilation and install FANN extension in the UBUNTU

From: Date: Sun, 03 Apr 2011 10:07:20 +0000
Subject: Bug #40233 [Com]: I have a problem for the compilation and install FANN extension in the UBUNTU
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-159925@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=40233&edit=1 ID: 40233 Comment by: kornev at arscommunity dot com Reported by: benutstyle at gmail dot com Summary: I have a problem for the compilation and install FANN extension in the UBUNTU Status: Bogus Type: Bug Package: Compile Failure Operating System: Ubuntu 6.10 PHP Version: 5.2.0 Block user comment: N Private report: N New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2007-01-25 11:44:53] 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. ------------------------------------------------------------------------ [2007-01-25 11:36:01] 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!!!! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=40233&edit=1

« previous php.bugs (#159925) next »