Matthew MacLennan
2007-11-13 05:27:14 UTC
Hello All,
I am a undergrad at the University of British Columbia and I am
working on Neural Networks. I am trying to get FANN 2.1.0 working on
my Ubuntu Linux OS. I installed the basic FANN component, but I am
having trouble installing the 'Python part.' I am attempting to
install from terminal but I get an error when trying the various
install methods (I was hoping someone might be able to offer some tips
on how to get around this issue):
***@mattmarq-laptop:~/FANN/python$ sudo make
and the output is:
Running SWIG before: swig -c++ -python pyfann/pyfann.i
sh: swig: not found
running build
running build_py
file pyfann/libfann.py (for module pyfann.libfann) not found
file pyfann/libfann.py (for module pyfann.libfann) not found
running build_ext
building 'pyfann._libfann' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall
-Wstrict-prototypes -fPIC -DSWIG_COMPILE -I../src/include
-I/usr/include/python2.5 -c pyfann/pyfann_wrap.cxx -o
build/temp.linux-i686-2.5/pyfann/pyfann_wrap.o
gcc: pyfann/pyfann_wrap.cxx: No such file or directory
gcc: no input files
error: command 'gcc' failed with exit status 1
make: *** [build-stamp] Error 1
Sincerely,
Matthew MacLennan
University of British Columbia
Cognitive Systems Program
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
I am a undergrad at the University of British Columbia and I am
working on Neural Networks. I am trying to get FANN 2.1.0 working on
my Ubuntu Linux OS. I installed the basic FANN component, but I am
having trouble installing the 'Python part.' I am attempting to
install from terminal but I get an error when trying the various
install methods (I was hoping someone might be able to offer some tips
on how to get around this issue):
***@mattmarq-laptop:~/FANN/python$ sudo make
and the output is:
Running SWIG before: swig -c++ -python pyfann/pyfann.i
sh: swig: not found
running build
running build_py
file pyfann/libfann.py (for module pyfann.libfann) not found
file pyfann/libfann.py (for module pyfann.libfann) not found
running build_ext
building 'pyfann._libfann' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall
-Wstrict-prototypes -fPIC -DSWIG_COMPILE -I../src/include
-I/usr/include/python2.5 -c pyfann/pyfann_wrap.cxx -o
build/temp.linux-i686-2.5/pyfann/pyfann_wrap.o
gcc: pyfann/pyfann_wrap.cxx: No such file or directory
gcc: no input files
error: command 'gcc' failed with exit status 1
make: *** [build-stamp] Error 1
Sincerely,
Matthew MacLennan
University of British Columbia
Cognitive Systems Program
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/