2015-05-18 187 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

相关问题