I just had the same issue on a completly fresh install of Ubuntu 14.04,
so I ran this:

    pip install --upgrade --force-reinstall  python-glanceclient

... and got this at the end:

    ...
    creating 
build/temp.linux-x86_64-2.7/src/cryptography/hazmat/bindings/__pycache__
    
    x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 
-Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c 
src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_70441dc9x8be47966.c
 -o 
build/temp.linux-x86_64-2.7/src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_70441dc9x8be47966.o
    
    
src/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_70441dc9x8be47966.c:194:25:
 fatal error: openssl/aes.h: No such file or directory
    
     #include <openssl/aes.h>
    
                             ^
    
    compilation terminated.
    
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    
    ----------------------------------------
    Cleaning up...
    Command /usr/bin/python -c "import setuptools, 
tokenize;__file__='/tmp/pip_build_root/cryptography/setup.py';exec(compile(getattr(tokenize,
 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" 
install --record /tmp/pip-YrIH3Q-record/install-record.txt 
--single-version-externally-managed --compile failed with error code 1 in 
/tmp/pip_build_root/cryptography
    Storing debug log for failure in /home/epettbj/.pip/pip.log

So I installed libssl-dev:

    apt-get install libssl-dev

And ran the above reinstall command again and it worked.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1402632

Title:
  issue with glance python client in Icehouse

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1402632/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to