当我尝试安装doo-server时,我得到了以下错误:
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
有人能帮我解决这个问题吗?
当我尝试安装doo-server时,我得到了以下错误:
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
有人能帮我解决这个问题吗?
当前回答
Error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
执行sudo apt-get install python-dev解决了这个错误。
其他回答
在安装ssdeep时,我得到了相同的错误,请检查实际的错误可能是其他的东西,就像我也得到了相同的,但在这个错误上面有一个错误模糊。h没有文件或目录,然后我尝试了这个 Apt-get -y安装libfuzzy-dev
魅力工作
在我的例子中,是缺少libffi-dev包。
工作:
sudo apt-get install libffi-dev
在我的例子中,命令sudo apt-get install unixodbc-dev解决了这个问题。我得到了一个特定于sql.h头文件的错误。
h只是一个头文件。gcc使用它来构建应用程序。您需要安装一个名为python-dev的包。这个包包括头文件、静态库和用于构建Python模块、扩展Python解释器或在应用程序中嵌入Python的开发工具。
输入:
$ sudo apt-get install python-dev
or
# apt-get install python-dev
参见http://www.cyberciti.biz/faq/debian-ubuntu-linux-python-h-file-not-found-error-solution/
在安装了许多库之后,对我有用的那一个!大喝:
sudo apt-get install swig
安装python的M2Crypto库时出现错误。
:)