gpt4 book ai didi

gcc - 安装 HUE 时命令 'gcc' 失败

转载 作者:行者123 更新时间:2023-12-02 04:21:14 24 4
gpt4 key购买 nike

我尝试在 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 列出的所有软件包。请帮忙!

最佳答案

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

它是 Where to find "gmp.h"? 的重复项,但我似乎无法这样标记这一点。

关于gcc - 安装 HUE 时命令 'gcc' 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30310745/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com