gpt4 book ai didi

linux - gnutls 配置错误 : checking for libgcrypt. .. 没有

转载 作者:太空宇宙 更新时间:2023-11-04 11:26:47 25 4
gpt4 key购买 nike

我配置并编译了 libgpg-error 和 libgcrypt 但无法安装(make install),因为我没有 root 权限。
当我尝试配置 libgnutls 时,出现此错误。

tactuser@eqhttd01:gnutls-2.10.0 >./configure --with-libgcrypt-prefix=/home/tactuser/Mail/vmime/TLS/libgcrypt-1.5.0/src/
checking for libgcrypt... no
configure: error:
libgcrypt was not found. You may want to get it from ftp://ftp.gnupg.org/gcrypt/libgcrypt/

config.log 中,我发现了这些错误:

configure:7781: checking for libgcrypt

configure:7803: gcc -std=gnu99 -o conftest -g -O2 conftest.c -lgcrypt -lgpg-error >&5

conftest.c:27:20: error: gcrypt.h: No such file or directory

conftest.c: In function 'main':
conftest.c:31: error: variable 'i' has initializer but incomplete type

conftest.c:31: error: 'GCRY_CIPHER_CAMELLIA128' undeclared (first use in this function)

conftest.c:31: error: (Each undeclared identifier is reported only once

conftest.c:31: error: for each function it appears in.)

conftest.c:31: error: storage size of 'i' isn't known

configure:7803: $? = 1

有人可以帮忙吗?

最佳答案

尝试编译和安装 libgcrypt,如果不起作用,请尝试使用与 gnutls 2.10.0(同时发布)兼容的 libgcrypt 版本。

关于linux - gnutls 配置错误 : checking for libgcrypt. .. 没有,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14216556/

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