【问题标题】:command 'gcc' failed while installing HUE安装 HUE 时命令“gcc”失败
【发布时间】:2015-05-18 18:47:38
【问题描述】:

我正在尝试在 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

我已经安装了 gcc 使用

sudo apt-get install gcc

我按照link 的说明进行操作。我已经安装了here 列出的所有软件包。请帮忙!

【问题讨论】:

  • 您是否尝试安装 libgmp3-dev:sudo apt-get install libgmp3-dev

标签: gcc ubuntu-14.04 hue


【解决方案1】:

这个错误表明 gcc 没有找到“gmp.h”,而不是 gcc 丢失。 您需要确保已安装“libgmp3-dev”软件包并在路径中有 gmp.h。

它与Where to find "gmp.h"? 重复,但我似乎无法这样标记。

【讨论】:

猜你喜欢
  • 2013-09-27
  • 1970-01-01
  • 2014-03-18
  • 2014-07-06
  • 2012-10-06
  • 2020-03-26
  • 2015-05-13
  • 2023-03-08
相关资源
最近更新 更多