2016-06-19 7 views
0

私はピップを使用して、私のEC2のLinuxインスタンス上mitproxyをインストールしようとしています:号(CentOSの)

sudo pip install mitmproxy

私はpython2.7インストール、および今の2つのインスタンスを持っていますlibffi

$ rpm -qa | grep libff libffi-3.0.13-11.4.amzn1.x86_64 libffi-devel-3.0.13-11.4.amzn1.x86_64

が、私はinstallコマンドを実行しようとするたびに、私は、次のエラーメッセージが表示されます。

gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/_openssl.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o build/temp.linux-x86_64-2.7/_openssl.c:423:30: fatal error: openssl/opensslv.h: No such file or directory #include <openssl/opensslv.h> ^ compilation terminated. error: command 'gcc' failed with exit status 1

私は間違っていますか?

+0

これはまだ問題です –

答えて

-1

ちょうど解決策次のように問題解決:https://www.openssl.org/source/

  • 設定& &から

    1. wgetのソースコードのgzipパッケージを& &が

    幸運をmake installを作ります!