2015-05-18 43 views
1

我試圖在Ubuntu 14安裝HUE,我得到以下錯誤:使用命令「GCC」失敗而安裝HUE

sudo apt-get install gcc 

我跟着指示

creating build/temp.linux-x86_64-2.7/src 
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/ -I/home/huser/miniconda/include/python2.7 -c src/_fastmath.c -o build/temp.linux-x86_64-2.7/src/_fastmath.o 
src/_fastmath.c:36:18: fatal error: gmp.h: No such file or directory 
# include <gmp.h> 
       ^
compilation terminated. 
error: command 'gcc' failed with exit status 1 
make[2]: *** [/home/huser/hue/desktop/core/build/pycrypto-2.6.1/egg.stamp] Error 1 
make[2]: Leaving directory `/home/huser/hue/desktop/core' 
make[1]: *** [.recursive-env-install/core] Error 2 
make[1]: Leaving directory `/home/huser/hue/desktop' 
make: *** [desktop] Error 2 

我已經安裝GCC從這個link。我已安裝列出的所有軟件包here。請幫忙!

+0

你有沒有嘗試安裝libgmp3-dev的: 命令和apt-get安裝libgmp3-dev的 –

回答

4

此錯誤指出,gcc沒有找到「gmp.h」,不是gcc丟失。 你需要確保你已經安裝了「libgmp3-dev」包,並在路徑中有gmp.h。

它是Where to find "gmp.h"?的重複,但我似乎不能這樣標記。

+0

這最近的依賴,現在正式上市:https://github.com/cloudera/hue/commit/edcbb697e87e223da18f6e0c48b937739ff44408 – Romain

相關問題