[pymvpa] Error on build step on CentOS
wolf zinke
wolf.zinke at ovgu.de
Thu Nov 22 09:19:04 UTC 2012
Hi,
I am a bit puzzled by your first error: /bin/sh: git: command not found
It seems, like you do not have git on your system. So how did you get
PyMVPA? I guees you have not downloaded it with 'git clone
git://github.com/PyMVPA/PyMVPA.git', right?
A brief search gave me the info, that git for some strange reason is not
available per default on CentOS, and that even in the repos it might
possibly not found, so maybe this is the reason for your error. What
CentOS version are you running?
some links:
http://www.webtatic.com/packages/git17/
http://stackoverflow.com/questions/3779274/how-can-git-be-installed-on-centos-5-5
http://www.miketmoore.com/blog/2012/02/26/installing-git-on-centos-6/
http://stackoverflow.com/questions/8302479/installing-git-on-centos-failed
good luck,
wolf
On 11/22/2012 03:02 AM, Rico V wrote:
> i am trying to build and install PyMVPA locally ON CEnOS. I installed
> the dependent pythong components (numpy, scipy, etc.). I get the
> following errors:
>
> make build
> /bin/sh: git: command not found
> python setup.py config --noisy
> Traceback (most recent call last):
> File "setup.py", line 12, in ?
> from numpy.distutils.core import setup, Extension
> ImportError: No module named numpy.distutils.core
> make: *** [build-stamp] Error 1
>
> python setup.py build_ext
> running build_ext
> running build_src
> build_src
> building extension "mvpa2.clfs.libsmlrc.smlrc" sources
> building extension "mvpa2.clfs.libsvmc._svmc" sources
> swig++: mvpa2/clfs/libsvmc/svmc.i
> swig -python -I/$HOMElib/python2.7/site-packages/numpy/core/include
> -I3rd/libsvm -c++
> -I/$HOME/lib/python2.7/site-packages/numpy/core/include -I3rd/libsvm
> -o build/src.linux-x86_64-2.7/mvpa2/clfs/libsvmc/svmc_wrap.cpp -outdir
> build/src.linux-x86_64-2.7/mvpa2/clfs/libsvmc mvpa2/clfs/libsvmc/svmc.i
> swig: error while loading shared libraries: libpcre.so.1: cannot open
> shared object file: No such file or directory
> error: command 'swig' failed with exit status 127
>
> I'm at a loss on how to fix it. If I start up Python2.7 i can import
> numpy.disutils.core
>
> any help?
> Thank you for your time
>
> _______________________________________________
> Pkg-ExpPsy-PyMVPA mailing list
> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa
More information about the Pkg-ExpPsy-PyMVPA
mailing list