[SciPy-user] scikits.ann

Nils Wagner nwagner@iam.uni-stuttgart...
Fri Sep 19 13:01:41 CDT 2008


Hi all,

I cannot find a component "ann" in the trac
http://scipy.org/scipy/scikits/

Where can I report a bug ?


python setup.py install
running install
Checking .pth file support in 
/usr/local/lib64/python2.5/site-packages
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib64/python2.5/site-packages 
appears to support .pth files
running bdist_egg
running egg_info
running build_src
building extension "scikits.ann._ANN" sources
creating build
creating build/src.linux-x86_64-2.5
creating build/src.linux-x86_64-2.5/scikits
creating build/src.linux-x86_64-2.5/scikits/ann
swig++: scikits/ann/ANN.i
swig -python -c++ -Iscikits/ann -I/usr/local/include -o 
build/src.linux-x86_64-2.5/scikits/ann/ANN_wrap.cpp 
-outdir build/src.linux-x86_64-2.5/scikits/ann 
scikits/ann/ANN.i
building data_files sources
writing requirements to scikits.ann.egg-info/requires.txt
writing scikits.ann.egg-info/PKG-INFO
writing namespace_packages to 
scikits.ann.egg-info/namespace_packages.txt
writing top-level names to 
scikits.ann.egg-info/top_level.txt
writing dependency_links to 
scikits.ann.egg-info/dependency_links.txt
writing manifest file 'scikits.ann.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/lib.linux-x86_64-2.5
creating build/lib.linux-x86_64-2.5/scikits
copying ./scikits/__init__.py -> 
build/lib.linux-x86_64-2.5/scikits
creating build/lib.linux-x86_64-2.5/scikits/ann
copying scikits/ann/info.py -> 
build/lib.linux-x86_64-2.5/scikits/ann
copying scikits/ann/__init__.py -> 
build/lib.linux-x86_64-2.5/scikits/ann
copying scikits/ann/setup.py -> 
build/lib.linux-x86_64-2.5/scikits/ann
copying scikits/ann/version.py -> 
build/lib.linux-x86_64-2.5/scikits/ann
copying build/src.linux-x86_64-2.5/scikits/ann/ANN.py -> 
build/lib.linux-x86_64-2.5/scikits/ann
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'scikits.ann._ANN' extension
compiling C++ sources
C compiler: g++ -pthread -fno-strict-aliasing -DNDEBUG -O2 
-fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC

creating build/temp.linux-x86_64-2.5
creating build/temp.linux-x86_64-2.5/build
creating 
build/temp.linux-x86_64-2.5/build/src.linux-x86_64-2.5
creating 
build/temp.linux-x86_64-2.5/build/src.linux-x86_64-2.5/scikits
creating 
build/temp.linux-x86_64-2.5/build/src.linux-x86_64-2.5/scikits/ann
compile options: '-Iscikits/ann -I/usr/local/include 
-I/usr/local/lib64/python2.5/site-packages/numpy/core/include 
-I/usr/include/python2.5 -c'
g++: build/src.linux-x86_64-2.5/scikits/ann/ANN_wrap.cpp
build/src.linux-x86_64-2.5/scikits/ann/ANN_wrap.cpp:2563:25: 
error: ANN/ANN.h: No such file or directory
In file included from 
build/src.linux-x86_64-2.5/scikits/ann/ANN_wrap.cpp:2564:
scikits/ann/kdtree.h:22:21: error: ANN/ANN.h: No such file 
or directory
scikits/ann/kdtree.h:101:3: warning: no newline at end of 
file
scikits/ann/kdtree.h:27: error: ‘ANNpointArray’ does not 
name a type
scikits/ann/kdtree.h:28: error: ISO C++ forbids 
declaration of ‘ANNkd_tree’ with no type
scikits/ann/kdtree.h:28: error: expected ‘;’ before ‘*’ 
token
scikits/ann/kdtree.h:43: error: ‘ANN_KD_SUGGEST’ was not 
declared in this scope
scikits/ann/kdtree.h: In constructor 
‘_kdtree::_kdtree(double*, int, int, int, int)’:
scikits/ann/kdtree.h:44: error: ‘pts’ was not declared in 
this scope
scikits/ann/kdtree.h:44: error: ‘annAllocPts’ was not 
declared in this scope
scikits/ann/kdtree.h:53: error: ‘tree’ was not declared in 
this scope
scikits/ann/kdtree.h:53: error: expected type-specifier 
before ‘ANNkd_tree’
scikits/ann/kdtree.h:53: error: expected `;' before 
‘ANNkd_tree’
scikits/ann/kdtree.h: In destructor ‘_kdtree::~_kdtree()’:
scikits/ann/kdtree.h:57: error: ‘pts’ was not declared in 
this scope
scikits/ann/kdtree.h:57: error: ‘annDeallocPts’ was not 
declared in this scope
scikits/ann/kdtree.h:58: error: ‘tree’ was not declared in 
this scope
scikits/ann/kdtree.h: In member function ‘void 
_kdtree::_knn2(double*, int, int, int, int, int*, int, 
int, double*, double) const’:
scikits/ann/kdtree.h:71: error: ‘tree’ was not declared in 
this scope
scikits/ann/kdtree.h: In member function ‘const char* 
_kdtree::stringRep(bool) const’:
scikits/ann/kdtree.h:98: error: ‘tree’ was not declared in 
this scope
scikits/ann/kdtree.h:98: error: ‘ANNtrue’ was not declared 
in this scope
scikits/ann/kdtree.h:98: error: ‘ANNfalse’ was not 
declared in this scope
build/src.linux-x86_64-2.5/scikits/ann/ANN_wrap.cpp:2563:25: 
error: ANN/ANN.h: No such file or directory
In file included from 
build/src.linux-x86_64-2.5/scikits/ann/ANN_wrap.cpp:2564:
scikits/ann/kdtree.h:22:21: error: ANN/ANN.h: No such file 
or directory
scikits/ann/kdtree.h:101:3: warning: no newline at end of 
file
scikits/ann/kdtree.h:27: error: ‘ANNpointArray’ does not 
name a type
scikits/ann/kdtree.h:28: error: ISO C++ forbids 
declaration of ‘ANNkd_tree’ with no type
scikits/ann/kdtree.h:28: error: expected ‘;’ before ‘*’ 
token
scikits/ann/kdtree.h:43: error: ‘ANN_KD_SUGGEST’ was not 
declared in this scope
scikits/ann/kdtree.h: In constructor 
‘_kdtree::_kdtree(double*, int, int, int, int)’:
scikits/ann/kdtree.h:44: error: ‘pts’ was not declared in 
this scope
scikits/ann/kdtree.h:44: error: ‘annAllocPts’ was not 
declared in this scope
scikits/ann/kdtree.h:53: error: ‘tree’ was not declared in 
this scope
scikits/ann/kdtree.h:53: error: expected type-specifier 
before ‘ANNkd_tree’
scikits/ann/kdtree.h:53: error: expected `;' before 
‘ANNkd_tree’
scikits/ann/kdtree.h: In destructor ‘_kdtree::~_kdtree()’:
scikits/ann/kdtree.h:57: error: ‘pts’ was not declared in 
this scope
scikits/ann/kdtree.h:57: error: ‘annDeallocPts’ was not 
declared in this scope
scikits/ann/kdtree.h:58: error: ‘tree’ was not declared in 
this scope
scikits/ann/kdtree.h: In member function ‘void 
_kdtree::_knn2(double*, int, int, int, int, int*, int, 
int, double*, double) const’:
scikits/ann/kdtree.h:71: error: ‘tree’ was not declared in 
this scope
scikits/ann/kdtree.h: In member function ‘const char* 
_kdtree::stringRep(bool) const’:
scikits/ann/kdtree.h:98: error: ‘tree’ was not declared in 
this scope
scikits/ann/kdtree.h:98: error: ‘ANNtrue’ was not declared 
in this scope
scikits/ann/kdtree.h:98: error: ‘ANNfalse’ was not 
declared in this scope
error: Command "g++ -pthread -fno-strict-aliasing -DNDEBUG 
-O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC 
-Iscikits/ann -I/usr/local/include 
-I/usr/local/lib64/python2.5/site-packages/numpy/core/include 
-I/usr/include/python2.5 -c 
build/src.linux-x86_64-2.5/scikits/ann/ANN_wrap.cpp -o 
build/temp.linux-x86_64-2.5/build/src.linux-x86_64-2.5/scikits/ann/ANN_wrap.o" 
failed with exit status 1

Nils


More information about the SciPy-user mailing list