我正在尝试在centos 7上安装mesos 1.0.1,但我遇到_FORTIFY_SOURCE错误。有没有人找到修复/解决方法?似乎有一个补丁,但我不知道从哪里得到它。我很感激任何帮助。谢谢!
checking whether we can build usable Python eggs... In file included from /usr/include/limits.h:26:0,
from /usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include-fixed/limits.h:168,
from /usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include-fixed/syslimits.h:7,
from /usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include-fixed/limits.h:34,
from /usr/include/python2.7/Python.h:19,
from testpyegg.cpp:1:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning _FORTIFY_SOURCE requires compiling with optimization (-O)
configure: error: no
答案 0 :(得分:-1)
Adarsh,似乎你的错误来自构建Python蛋。您可以粘贴完整的错误日志,以便我们更好地帮助您分类您的问题。顺便说一下,安装Mesos很简单。您不应处理_FORTIFY_SOURCE
或optimization
的问题。请按照此文档在CentOS上安装Mesos。
http://mesos.apache.org/gettingstarted/
您可以从那里的Mesos社区获得更快的答案。
吉尔伯特