2016-10-03 172 views
0

我想在centos 7上安裝mesos 1.0.1,但我遇到_FORTIFY_SOURCE錯誤。有沒有人找到修復/解決方法?看起來有一個補丁,但我不知道從哪裏得到它。我會很感激任何幫助。謝謝!
centos7 mesos配置錯誤

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 

回答

-1

Adarsh,看起來像你的錯誤來自建設Python雞蛋。您能否粘貼完整的錯誤日誌,以便我們能夠更好地幫助您分析問題。順便說一句,安裝Mesos很簡單。預計不會處理_FORTIFY_SOURCEoptimization的問題。請按照此文件在CentOS上安裝Mesos。 http://mesos.apache.org/gettingstarted/

順便說一句,如果您有任何Mesos進一步的問題,請隨時通過Mesos郵件列表問:http://mesos.apache.org/community/ 或Mesos鬆弛道:mesos-slackin.herokuapp.com/

您將獲得更加快捷來自Mesos社區的答案。

Gilbert