编译 Exim 时出错(directadmin custombuild)
Error while compiling Exim (directadmin custombuild)
我目前 运行正在我的 Debian 6.0.9 上使用 DirectAdmin,并收到一条消息说 Exim 需要更新。所以我做了我的常规命令:
./build update
./build versions
./build update_versions
但是,每当我 运行 这些命令时,我都会收到以下错误:
In file included from tls.c:121:
tlscert-openssl.c: In function ‘asn1_time_copy’:
tlscert-openssl.c:114: warning: passing argument 2 of ‘ASN1_TIME_print’ discards qualifiers from pointer target type
/usr/include/openssl/asn1.h:1006: note: expected ‘struct ASN1_TIME *’ but argument is of type ‘const struct ASN1_TIME *’
gcc tod.c
gcc transport.c
gcc tree.c
gcc verify.c
gcc lookups/lf_quote.c
gcc lookups/lf_check_file.c
gcc lookups/lf_sqlperform.c
gcc local_scan.c
cc perl.c
gcc malware.c
gcc mime.c
gcc regex.c
gcc spam.c
gcc spool_mbox.c
gcc demime.c
gcc bmi_spam.c
gcc spf.c
gcc srs.c
gcc dcc.c
gcc dmarc.c
gcc dane.c
gcc version.c
gcc -o exim
/usr/bin/ld: cannot find -lgdbm
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.85/build-Linux-x86_64'
make: *** [all] Error 2
*** The make has failed, would you like to try to make again? (y,n): n
Google 没什么用,我运行没主意了。
致谢名单 tripleee
服务器缺少 libgdbm-dev。所以之后
sudo apt-get install libgdbm-dev
工作正常。
我目前 运行正在我的 Debian 6.0.9 上使用 DirectAdmin,并收到一条消息说 Exim 需要更新。所以我做了我的常规命令:
./build update
./build versions
./build update_versions
但是,每当我 运行 这些命令时,我都会收到以下错误:
In file included from tls.c:121:
tlscert-openssl.c: In function ‘asn1_time_copy’:
tlscert-openssl.c:114: warning: passing argument 2 of ‘ASN1_TIME_print’ discards qualifiers from pointer target type
/usr/include/openssl/asn1.h:1006: note: expected ‘struct ASN1_TIME *’ but argument is of type ‘const struct ASN1_TIME *’
gcc tod.c
gcc transport.c
gcc tree.c
gcc verify.c
gcc lookups/lf_quote.c
gcc lookups/lf_check_file.c
gcc lookups/lf_sqlperform.c
gcc local_scan.c
cc perl.c
gcc malware.c
gcc mime.c
gcc regex.c
gcc spam.c
gcc spool_mbox.c
gcc demime.c
gcc bmi_spam.c
gcc spf.c
gcc srs.c
gcc dcc.c
gcc dmarc.c
gcc dane.c
gcc version.c
gcc -o exim
/usr/bin/ld: cannot find -lgdbm
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.85/build-Linux-x86_64'
make: *** [all] Error 2
*** The make has failed, would you like to try to make again? (y,n): n
Google 没什么用,我运行没主意了。
致谢名单 tripleee
服务器缺少 libgdbm-dev。所以之后
sudo apt-get install libgdbm-dev
工作正常。