[Openstack] Trying compiling the OpenStack Swift

Leonid Rozenblyum lrozenblyum at gmail.com
Mon Mar 30 11:40:35 UTC 2015


Hello everybody!


I'm trying to go through the
http://docs.openstack.org/developer/swift/development_saio.html#loopback-section
to create a development Swift installation.
My OS on the VM is CentOS 7

It fails on step:

Build a development installation of swift:

cd $HOME/swift; sudo python setup.py develop; cd -

The error is :
Writing /tmp/easy_install-4S0U5S/PyECLib-1.0.6/setup.cfg
Running PyECLib-1.0.6/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-4S0U5S/

          PyECLib-1.0.6/egg-dist-tmp-j3Cljs
src/c/pyeclib_c/pyeclib_c.c:32:25: fatal error: erasurecode.h: No such
file or d

irectory
 #include <erasurecode.h>
                         ^
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1


Is it something wrong with my configuration or with the souce code of
Swift itself?

Thanks for any help




More information about the Openstack mailing list