小编asi*_*v92的帖子

安装 HUE 时命令“gcc”失败

我正在尝试在 ubuntu 14 上安装 HUE,但出现以下错误:

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
Run Code Online (Sandbox Code Playgroud)

我已经安装了 gcc 使用

sudo apt-get install gcc
Run Code Online (Sandbox Code Playgroud)

我按照此链接中的说明进行操作。我已经安装了 …

gcc hue ubuntu-14.04

2
推荐指数
1
解决办法
3095
查看次数

标签 统计

gcc ×1

hue ×1

ubuntu-14.04 ×1