建设喧嚣的问题

建设喧嚣的问题

当我尝试从终端安装 clamcour 时,出现此错误,有人可以帮助我吗?

calmcourdir# ./configure

checking for libraries containing socket functions... -lc
checking for socket... yes
checking for bind... yes
checking for listen... yes
checking for accept... yes
checking for shutdown... yes
checking for socklen_t... yes
checking for struct sockaddr_un.sun_len... no


System log functions
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for openlog... yes
checking for syslog... yes
checking for closelog... yes


Time functions
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for localtime_r... yes
checking for strftime... yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for sysconf... yes


BZip2 support
checking bzlib.h usability... no
checking bzlib.h presence... no
checking for bzlib.h... no
checking for BZ2_bzWriteOpen in -lbz2... no


GZip support
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking for gzopen in -lz... no


LibClamAV support
checking for /usr/bin/clamav-config... no
checking for /usr/local/bin/courier-config... no
checking for /usr/clamav/bin/clamav-config... no
checking for /usr/local/clamav/bin/clamav-config... no
./configure: line 25234: : command not found
configure: error: Cannot find clamav-config

答案1

我不知道您是否已经考虑尝试存储库中的 clamav-milter。

apt-cache show clamav-milter

 This package contains the ClamAV milter for use with sendmail. It can
 be configured to be run either standalone, or using clamav-daemon.
Homepage: http://www.clamav.net/

否则,您似乎缺少 clamcour 的一些依赖项。 (clamav您的系统上有什么版本?)

尝试自己构建它,使用 clamcour“当前版本”1.0.0-1 - 开发(测试版
clamcour 页面 看起来你需要

 libboost1.42-all-dev courier-mta libxml2-dev libclamav-dev

相关内容