[pymvpa] Error on build step on CentOS

Yaroslav Halchenko debian at onerussian.com
Fri Nov 23 17:57:49 UTC 2012


sorry for being useless but for me everything worked 'out of the box'
with centos 6.3 installed in a VM. During installation I have marked it
as a 'development desktop' so it installed python (2.6), numpy, swig,
pcre and even git.  so I just 

git clone git://github.com/PyMVPA/PyMVPA
cd PyMVPA
make

and was done no problem.  so you might first try installing pcre (sudo
yum install pcre) and git I guess... and trying it again

Cheers,

On Fri, 23 Nov 2012, Yaroslav Halchenko wrote:

> Hi Rico,

> I have not experienced the wonders of the rebuilt RHEL yet before so
> can't give a comprehensive answer (installing centos 6.3 in virtualbox
> atm).  But could you check if you have libpcre  installed?  strange
> thing is that swig (AFAIK from debian package dependencees) depends on
> libcpre so on a reasonable system it should get installed automagically
> when installing wing.

> to help me out trying to replicate your case -- what was exactly the way
> you installed numpy and what version?

> On Wed, 21 Nov 2012, 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
-- 
Yaroslav O. Halchenko
Postdoctoral Fellow,   Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        



More information about the Pkg-ExpPsy-PyMVPA mailing list