sensepost / snoopy-ng

Snoopy v2.0 - modular digital terrestrial tracking framework
Other
429 stars 128 forks source link

install fail #2

Closed bytedeez closed 9 years ago

bytedeez commented 10 years ago

server install failed using ubuntu server 12.04 32 bit File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 828, in install_eggs

return self.build_and_install(setup_script, setup_base)

File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1105, in build_and_install

self.run_setup(setup_script, setup_base, args)

File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1096, in run_setup

raise DistutilsError("Setup script exited with %s" % (v.args[0],))

distutils.errors.DistutilsError: Setup script exited with error: command 'gcc' failed with exit status 1


Cleaning up... Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/cryptography Storing debug log for failure in /root/.pip/pip.log

bytedeez commented 10 years ago

Cleaning up... Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/cryptography Storing debug log for failure in /root/.pip/pip.log root@snpy:~/snoopy-ng# vi /root/.pip/pip.log Downloading/unpacking mitmproxy Getting page https://pypi.python.org/simple/mitmproxy/ URLs to search for versions for mitmproxy:

ghost commented 9 years ago

apt-get install libffi-dev libxml2-dev libxslt1-dev worked for me libffl-dev will solve the issue you mention here I then encountered further issues which were fixed by installing libxml2-dev libxslt1-dev.

The underlying issue appears to be a change in the mitmproxy package.

Perhaps using apt-get to install the packages I mention first and then using pip to install mitmproxy is a suitable temporary workaround?