[pymvpa] Error on build step on CentOS

wolf zinke wolf.zinke at ovgu.de
Fri Nov 23 08:34:04 UTC 2012


Hi,

Well, I leave this question to answer for the minds behind pymvpa ;-)
Since you seem to have pymvpa now on your system, I would suggest to try 
the alternative installation procedure described on on the web page, 
i.e. running make in in the main directory and than using 'export 
PYTHONPATH=<Path to pymvpa>'. I guess you can add the last line to your 
~/.bashrc file in order to keep this konfiguration.

good luck,
wolf

On 11/23/2012 09:14 AM, Rico Velasco wrote:
> Git is not available on centOS 5. And i do not have the permission to install it. I tried.
> Getting everything on took quite a bit of tweaking. And use of wget.
> i was able to run other intall scripts sans git. Can I alter the make script to look for it localy?
>
>
> On Nov 22, 2012, at 1:19, wolf zinke<wolf.zinke at ovgu.de>  wrote:
>
>> 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 clonegit://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
>> _______________________________________________
>> 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
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20121123/c3a29641/attachment.html>


More information about the Pkg-ExpPsy-PyMVPA mailing list