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。請幫忙!
你有沒有嘗試安裝libgmp3-dev的: 命令和apt-get安裝libgmp3-dev的 –