2016-06-19 4 views
0

내가 핍 사용하여 내 EC2 리눅스 인스턴스에 mitproxy를 설치하려고 : 내가 python2.7 설치 한문제는 아마존 EC2 인스턴스에 핍을 사용 mitmproxy 설치 (CentOS는)

sudo pip install mitmproxy

을, 그리고 지금이 개 인스턴스 libffi

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

하지만 실행하려고 할 때마다 명령을 설치 나는 다음과 같은 오류 메시지가 얻을 :

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

그냥 다음과 같은 솔루션으로 문제를 해결 :

  1. wget을 소스 코드 GZIP 패키지를 https://www.openssl.org/source/
  2. 설정에서 & &이 & &는

행운을 설치 할 수 있도록!

관련 문제