Skip to content

Installation Fails #20

@andresdouglas

Description

@andresdouglas

Installation on both Mac OS X 10.8.4 and Ubuntu 12.04 fails.

On OS X:

running install

running build

running build_py

running build_ext

building 'M2Crypto.__m2crypto' extension

swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c

swig -python -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/include -includeall -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i

unable to execute swig: Permission denied

error: command 'swig' failed with exit status 1


Command /Users/andres/.virtualenvs/salty-tote-server-setup/bin/python -c "import setuptools;file='/Users/andres/.virtualenvs/salty-tote-server-setup/build/M2Crypto/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /var/folders/nj/f0w1hbqj383c25998dp4kntc0000gn/T/pip-01i6zk-record/install-record.txt --install-headers /Users/andres/.virtualenvs/salty-tote-server-setup/include/site/python2.7 failed with error code 1 in /Users/andres/.virtualenvs/salty-tote-server-setup/build/M2Crypto
Storing complete log in /Users/andres/.pip/pip.log

On Ubuntu:

copying M2Crypto/PGP/init.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP

running build_ext

building 'M2Crypto.__m2crypto' extension

swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c

swig -python -I/usr/include/python2.7 -I/usr/include -includeall -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i

unable to execute swig: No such file or directory

error: command 'swig' failed with exit status 1


Command /home/vagrant/.virtualenvs/salty-tote-server-setup/bin/python -c "import setuptools;file='/home/vagrant/.virtualenvs/salty-tote-server-setup/build/M2Crypto/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-yWMt27-record/install-record.txt --single-version-externally-managed --install-headers /home/vagrant/.virtualenvs/salty-tote-server-setup/include/site/python2.7 failed with error code 1 in /home/vagrant/.virtualenvs/salty-tote-server-setup/build/M2Crypto
Storing complete log in /home/vagrant/.pip/pip.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions