我配置并编译了libgpg-error和libgcrypt,但是无法安装(Make),因为我没有根权限。
当我试图配置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有人能帮忙吗?
发布于 2013-01-08 18:59:18
尝试编译和安装libgcrypt,如果不起作用,尝试使用与gnutls 2.10.0兼容的libgcrypt版本(同时发布)。
https://stackoverflow.com/questions/14216556
复制相似问题