[workspace-dev] failed install Nimbus2.5RC1 services

Pierre Riteau Pierre.Riteau at irisa.fr
Wed Jul 7 07:23:42 CDT 2010


On Jul 7, 2010, at 7:54 AM, Marien Ritzenthaler wrote:

> 
> Hi,
> 
> i just downloaded the 'nimbus-2.5RC1 service ' package and tried to install,
> but unfortunately couldn't achieve installation.
> 
> I have Python 2.6.5, was previously using Nimbus 2.4.
> 
> The first odd detail, a few steps after the begining is :
> 
> Running setup.py egg_info for package from file:///home/nimbus/nimbus2.5/
> nimbus-2.5RC1-src/cumulus/deps/pyOpenSSL-0.10.tar.gz
>     warning: no previously-included files matching '*.pyc' found anywhere in distribution
> 
> 
> and then it seems that some header files were not extracted or in a wrong location, 
> causing gcc to fail when it starts compiling.
> 
> 
> An excerpt of the install trace is below, my full log (/home/nimbus/.pip/pip.log) is available on request.
> 
> Thank you.
> 
> 
> ---------------------
> Here is the install output:
> 
> 
> nimbus at hardcore:~/nimbus2.5/nimbus-2.5RC1-src$ ./install $NIMBUS_HOME
> 
> -----------------------------------------------------------------
> Making the Python virtual environment
> -----------------------------------------------------------------
> 
> Installing from /home/nimbus/nimbus2.5/nimbus-2.5RC1-src
> Already using interpreter /usr/bin/python
> New python executable in /home/nimbus/nimbus2.5/nimbus2.5-install//ve/bin/python
> Installing setuptools.............done.
> 
> -----------------------------------------------------------------
>  Preparing Nimbus installation directory
> -----------------------------------------------------------------
> 
> Installing cumulus...
> Using provided Python environment: /home/nimbus/nimbus2.5/nimbus2.5-install//ve
> 
> 
> -----------------------------------------------------------------
> Installing Cumulus dependencies
> -----------------------------------------------------------------
> 
> Unpacking ./deps/boto-1.9b.tar.gz
>   Running setup.py egg_info for package from file:///home/nimbus/nimbus2.5/nimbus-2.5RC1-src/cumulus/deps/boto-1.9b.tar.gz
> Unpacking ./deps/pyOpenSSL-0.10.tar.gz
>   Running setup.py egg_info for package from file:///home/nimbus/nimbus2.5/nimbus-2.5RC1-src/cumulus/deps/pyOpenSSL-0.10.tar.gz
>     warning: no previously-included files matching '*.pyc' found anywhere in distribution
> Unpacking ./deps/zope.interface-3.6.1.tar.gz
> 
> [....] 
> 
>  Running setup.py install for pynimbusauthz
>     Installing nimbusauthz-ls script to /home/nimbus/nimbus2.5/nimbus2.5-install/ve/bin
>     Installing nimbusauthz-chmod script to /home/nimbus/nimbus2.5/nimbus2.5-install/ve/bin
>     Installing nimbusauthz-quota script to /home/nimbus/nimbus2.5/nimbus2.5-install/ve/bin
>     Installing nimbusauthz-touch script to /home/nimbus/nimbus2.5/nimbus2.5-install/ve/bin
>     Installing nimbusauthz-add-user script to /home/nimbus/nimbus2.5/nimbus2.5-install/ve/bin
>     Installing nimbusauthz-stat script to /home/nimbus/nimbus2.5/nimbus2.5-install/ve/bin
>     Installing nimbusauthz-list-users script to /home/nimbus/nimbus2.5/nimbus2.5-install/ve/bin
>   Running setup.py install for pyOpenSSL
>     building 'OpenSSL.crypto' extension
>     gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c src/crypto/crypto.c -o build/temp.linux-x86_64-2.6/src/crypto/crypto.o
>     src/crypto/crypto.c:12:20: error: Python.h: Aucun fichier ou dossier de ce type

You need the python development package (python-dev in Debian).

>     In file included from src/crypto/crypto.h:17,
>                      from src/crypto/crypto.c:14:
>     src/crypto/x509.h:19: error: expected ‘)’ before ‘*’ token
>     src/crypto/x509.h:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘crypto_X509_Type’
>     src/crypto/x509.h:26: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
>     In file included from src/crypto/crypto.h:18,
>                      from src/crypto/crypto.c:14:
>     src/crypto/x509name.h:19: error: expected ‘)’ before ‘*’ token

You need the OpenSSL development package (libssl-dev in Debian).

For dependencies compiled after this step, you will also need the sqlite3 package.

-- 
Pierre Riteau -- PhD student, Myriads team, IRISA, Rennes, France
http://perso.univ-rennes1.fr/pierre.riteau/



More information about the workspace-dev mailing list