[Pkg-exppsy-pymvpa] Build error on Redhat
Matthew Brett
matthew.brett at gmail.com
Wed Mar 26 18:12:42 UTC 2008
Hi guys,
I'm just trying to install here on RHEL 3, and running into trouble
(with 0.1 and current git):
[matthew at l32 pymvpa-0.1.0]$ python setup.py build_ext
running build_ext
building 'mvpa.clfs.libsvm.svmc' extension
swigging mvpa/clfs/libsvm/svmc.i to mvpa/clfs/libsvm/svmc_wrap.c
swig -python -c++ -noproxy -I/imaging/local/linux/include/libsvm
-I/imaging/local/linux/lib/python2.4/site-packages/numpy/core/include
-o mvpa/clfs/libsvm/svmc_wrap.c mvpa/clfs/libsvm/svmc.i
creating build
creating build/temp.linux-i686-2.4
creating build/temp.linux-i686-2.4/mvpa
creating build/temp.linux-i686-2.4/mvpa/clfs
creating build/temp.linux-i686-2.4/mvpa/clfs/libsvm
g++ -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -I/imaging/local/linux/include/libsvm
-I/imaging/local/linux/lib/python2.4/site-packages/numpy/core/include
-I/imaging/local/linux/include/python2.4 -c
mvpa/clfs/libsvm/svmc_wrap.c -o
build/temp.linux-i686-2.4/mvpa/clfs/libsvm/svmc_wrap.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
mvpa/clfs/libsvm/svmc_wrap.c: In function `PyObject*
_wrap_svm_set_verbosity(PyObject*, PyObject*)':
mvpa/clfs/libsvm/svmc_wrap.c:1976: error: `svm_set_verbosity' was not
declared in this scope
mvpa/clfs/libsvm/svmc_wrap.c:1976: warning: unused variable 'svm_set_verbosity'
mvpa/clfs/libsvm/svmc_wrap.c: At global scope:
etc.
I'm using a current libsvm installation (2.85) built with the debian
Makefile patches, and (I believe) installed in the right places.
I'm afraid I'm not experienced with SWIG, and grepping around the
sources for 'verbosity' does not come up with anything helpful. Sorry
if I am being dubm.
See you,
Matthew
More information about the Pkg-exppsy-pymvpa
mailing list