[pymvpa] macports install libsvm issue

John Clithero john.clithero at gmail.com
Mon Dec 28 18:00:39 UTC 2009


Hi everyone,

I am also now trying to use MacPorts 1.8.1 on Snow Leopard to install PyMVPA.
Using:

sudo port install py26-pymvpa

everything seems to go well until it tries to build pymvpa...might
this be related to the only version of libsvm I see on MacPorts is
libsvm 2.9 and not 2.8x?
Any ideas?
Errors are below.
Thanks,
John

--->  Computing dependencies for py26-pymvpa
--->  Building py26-pymvpa
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-pymvpa/work/py26-pymvpa-0.4.3"
&& /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
setup.py --no-user-cfg build_ext --with-libsvm " returned error 1
Command output:
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:5309:
error: 'svm_parameter' was not declared in this scope
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:5309:
error: 'arg2' was not declared in this scope
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:5309:
error: expected primary-expression before ')' token
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:5309:
error: expected `;' before numeric constant
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:5323:
error: expected type-specifier before 'svm_problem'
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:5323:
error: expected `>' before 'svm_problem'
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:5323:
error: expected `(' before 'svm_problem'
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:5323:
error: expected primary-expression before '>' token
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:5323:
error: expected `)' before ';' token
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:5328:
error: expected type-specifier before 'svm_parameter'
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:5328:
error: expected `>' before 'svm_parameter'
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:5328:
error: expected `(' before 'svm_parameter'
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:5328:
error: expected primary-expression before '>' token
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:5328:
error: expected `)' before ';' token
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:5329:
error: expected primary-expression before 'char'
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:5329:
error: expected `)' before 'char'
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp: In
function 'PyObject* _wrap_svm_check_probability_model(PyObject*,
PyObject*)':
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:5351:
error: 'svm_check_probability_model' was not declared in this scope
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp: In
function 'void init_svmc()':
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:6670:
error: 'C_SVC' was not declared in this scope
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:6671:
error: 'NU_SVC' was not declared in this scope
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:6672:
error: 'ONE_CLASS' was not declared in this scope
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:6673:
error: 'EPSILON_SVR' was not declared in this scope
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:6674:
error: 'NU_SVR' was not declared in this scope
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:6675:
error: 'LINEAR' was not declared in this scope
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:6676:
error: 'POLY' was not declared in this scope
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:6677:
error: 'RBF' was not declared in this scope
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:6678:
error: 'SIGMOID' was not declared in this scope
build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp:6679:
error: 'PRECOMPUTED' was not declared in this scope
error: Command "/usr/bin/g++-4.2 -fno-strict-aliasing -fno-common
-dynamic -DNDEBUG -g -fwrapv -O3 -Wall
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-c build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp -o
build/temp.macosx-10.6-i386-2.6/build/src.macosx-10.6-i386-2.6/mvpa/clfs/libsvmc/svmc_wrap.o"
failed with exit status 1

Error: Status 1 encountered during processing.



More information about the Pkg-ExpPsy-PyMVPA mailing list