LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 701|回复: 0

大家帮帮忙,ClamAV安装问题!

[复制链接]
发表于 2005-1-29 12:14:18 | 显示全部楼层 |阅读模式
在一台Mail服务器上安装ClamAV,系统为 Mandrake Linux release 10.0 (Official)。
刚开始编译的时候就出现了问题,说是找不到libmilter,具体信息如下:

  1. # ./configure --sysconfdir=/etc --enable-milter --p
  2. refix=/usr --datadir=/var/clamav
  3. checking build system type... i686-pc-linux-gnu
  4. checking host system type... i686-pc-linux-gnu
  5. checking target system type... i686-pc-linux-gnu
  6. creating target.h - canonical system defines
  7. checking for a BSD-compatible install... /usr/bin/install -c
  8. checking whether build environment is sane... yes
  9. checking for gawk... gawk
  10. checking whether make sets $(MAKE)... yes
  11. checking for gawk... (cached) gawk
  12. checking for gcc... gcc
  13. checking for C compiler default output file name... a.out
  14. checking whether the C compiler works... yes
  15. checking whether we are cross compiling... no
  16. checking for suffix of executables...
  17. checking for suffix of object files... o
  18. checking whether we are using the GNU C compiler... yes
  19. checking whether gcc accepts -g... yes
  20. checking for gcc option to accept ANSI C... none needed
  21. checking for style of include used by make... GNU
  22. checking dependency style of gcc... gcc3
  23. checking for a BSD-compatible install... /usr/bin/install -c
  24. checking whether ln -s works... yes
  25. checking whether make sets $(MAKE)... (cached) yes
  26. checking for ld used by GCC... /usr/bin/ld
  27. checking if the linker (/usr/bin/ld) is GNU ld... yes
  28. checking for /usr/bin/ld option to reload object files... -r
  29. checking for BSD-compatible nm... /usr/bin/nm -B
  30. checking how to recognise dependant libraries... pass_all
  31. checking for egrep... grep -E
  32. checking command to parse /usr/bin/nm -B output... ok
  33. checking how to run the C preprocessor... gcc -E
  34. checking for ANSI C header files... yes
  35. checking for sys/types.h... yes
  36. checking for sys/stat.h... yes
  37. checking for stdlib.h... yes
  38. checking for string.h... yes
  39. checking for memory.h... yes
  40. checking for strings.h... yes
  41. checking for inttypes.h... yes
  42. checking for stdint.h... yes
  43. checking for unistd.h... yes
  44. checking dlfcn.h usability... yes
  45. checking dlfcn.h presence... yes
  46. checking for dlfcn.h... yes
  47. checking for ranlib... ranlib
  48. checking for strip... strip
  49. checking for objdir... .libs
  50. checking for gcc option to produce PIC... -fPIC
  51. checking if gcc PIC flag -fPIC works... yes
  52. checking if gcc static flag -static works... no
  53. checking if gcc supports -c -o file.o... yes
  54. checking if gcc supports -c -o file.lo... yes
  55. checking if gcc supports -fno-rtti -fno-exceptions... no
  56. checking whether the linker (/usr/bin/ld) supports shared libraries... yes
  57. checking how to hardcode library paths into programs... immediate
  58. checking whether stripping libraries is possible... yes
  59. checking dynamic linker characteristics... GNU/Linux ld.so
  60. checking if libtool supports shared libraries... yes
  61. checking whether to build shared libraries... yes
  62. checking whether to build static libraries... yes
  63. checking whether -lc should be explicitly linked in... no
  64. creating libtool
  65. checking for ANSI C header files... (cached) yes
  66. checking for stdint.h... (cached) yes
  67. checking for unistd.h... (cached) yes
  68. checking sys/int_types.h usability... no
  69. checking sys/int_types.h presence... no
  70. checking for sys/int_types.h... no
  71. checking for dlfcn.h... (cached) yes
  72. checking for inttypes.h... (cached) yes
  73. checking sys/inttypes.h usability... no
  74. checking sys/inttypes.h presence... no
  75. checking for sys/inttypes.h... no
  76. checking for memory.h... (cached) yes
  77. checking ndir.h usability... no
  78. checking ndir.h presence... no
  79. checking for ndir.h... no
  80. checking for stdlib.h... (cached) yes
  81. checking for strings.h... (cached) yes
  82. checking for string.h... (cached) yes
  83. checking sys/mman.h usability... yes
  84. checking sys/mman.h presence... yes
  85. checking for sys/mman.h... yes
  86. checking sys/param.h usability... yes
  87. checking sys/param.h presence... yes
  88. checking for sys/param.h... yes
  89. checking for sys/stat.h... (cached) yes
  90. checking for sys/types.h... (cached) yes
  91. checking malloc.h usability... yes
  92. checking malloc.h presence... yes
  93. checking for malloc.h... yes
  94. checking poll.h usability... yes
  95. checking poll.h presence... yes
  96. checking for poll.h... yes
  97. checking regex.h usability... yes
  98. checking regex.h presence... yes
  99. checking for regex.h... yes
  100. checking limits.h usability... yes
  101. checking limits.h presence... yes
  102. checking for limits.h... yes
  103. checking sys/filio.h usability... no
  104. checking sys/filio.h presence... no
  105. checking for sys/filio.h... no
  106. checking sys/uio.h usability... yes
  107. checking sys/uio.h presence... yes
  108. checking for sys/uio.h... yes
  109. checking syslog.h usability... yes
  110. checking syslog.h presence... yes
  111. checking for syslog.h... yes
  112. checking for off_t... yes
  113. checking size of short... 2
  114. checking size of int... 4
  115. checking size of long... 4
  116. checking size of long long... 8
  117. checking for bind in -lsocket... no
  118. checking for gethostent in -lnsl... yes
  119. checking for poll... yes
  120. checking for setsid... yes
  121. checking for memcpy... yes
  122. checking for snprintf... yes
  123. checking for vsnprintf... yes
  124. checking for strerror_r... yes
  125. checking for strlcpy... no
  126. checking for strlcat... no
  127. checking for inet_ntop... yes
  128. checking for setgroups... yes
  129. checking for initgroups... yes
  130. checking for stdlib.h... (cached) yes
  131. checking for unistd.h... (cached) yes
  132. checking for getpagesize... yes
  133. checking for working mmap... yes
  134. checking for _LARGEFILE_SOURCE value needed for large files... 1
  135. checking for fseeko... yes
  136. checking whether snprintf correctly terminates long strings... yes
  137. checking pthread.h usability... yes
  138. checking pthread.h presence... yes
  139. checking for pthread.h... yes
  140. checking for zlib installation... /usr/local
  141. checking for inflateEnd in -lz... yes
  142. checking for bzReadOpen in -lbz2... no
  143. checking bzlib.h usability... no
  144. checking bzlib.h presence... no
  145. checking for bzlib.h... no
  146. configure: WARNING: ****** bzip2 support disabled
  147. checking for __dn_expand in -lresolv... yes
  148. checking resolv.h usability... yes
  149. checking resolv.h presence... yes
  150. checking for resolv.h... yes
  151. checking whether setpgrp takes no argument... yes
  152. checking for __gmpz_init in -lgmp... no
  153. checking for mpz_init in -lgmp... no
  154. configure: WARNING: ****** GNU MP 2 or newer NOT FOUND - digital signature support will be disabled !
  155. checking for curl >= 7.10.0... FAILED
  156. configure: WARNING: curl-config was not found
  157. checking for mi_stop in -lmilter... no
  158. checking for library containing strlcpy... no
  159. checking for mi_stop in -lmilter... no
  160. configure: error: Cannot find libmilter
  161. #
复制代码


于是我到 http://sourceforge.net/project/s ... mp;package_id=33062 下载了一个 libmilterplusplus-0.1.3.tar.gz ,结果编译的时候又出现错误,提示找不到milter library,具体信息如下:

  1. # ./configure
  2. checking for a BSD-compatible install... /usr/bin/install -c
  3. checking whether build environment is sane... yes
  4. checking for gawk... gawk
  5. checking whether make sets $(MAKE)... yes
  6. checking build system type... i686-pc-linux-gnu
  7. checking host system type... i686-pc-linux-gnu
  8. checking for style of include used by make... GNU
  9. checking for gcc... gcc
  10. checking for C compiler default output... a.out
  11. checking whether the C compiler works... yes
  12. checking whether we are cross compiling... no
  13. checking for suffix of executables...
  14. checking for suffix of object files... o
  15. checking whether we are using the GNU C compiler... yes
  16. checking whether gcc accepts -g... yes
  17. checking for gcc option to accept ANSI C... none needed
  18. checking dependency style of gcc... gcc3
  19. checking for ld used by GCC... /usr/bin/ld
  20. checking if the linker (/usr/bin/ld) is GNU ld... yes
  21. checking for /usr/bin/ld option to reload object files... -r
  22. checking for BSD-compatible nm... /usr/bin/nm -B
  23. checking for a sed that does not truncate output... /bin/sed
  24. checking whether ln -s works... yes
  25. checking how to recognise dependent libraries... pass_all
  26. checking command to parse /usr/bin/nm -B output... ok
  27. checking how to run the C preprocessor... gcc -E
  28. checking for egrep... grep -E
  29. checking for ANSI C header files... yes
  30. checking for sys/types.h... yes
  31. checking for sys/stat.h... yes
  32. checking for stdlib.h... yes
  33. checking for string.h... yes
  34. checking for memory.h... yes
  35. checking for strings.h... yes
  36. checking for inttypes.h... yes
  37. checking for stdint.h... yes
  38. checking for unistd.h... yes
  39. checking dlfcn.h usability... yes
  40. checking dlfcn.h presence... yes
  41. checking for dlfcn.h... yes
  42. checking for ranlib... ranlib
  43. checking for strip... strip
  44. checking for objdir... .libs
  45. checking for gcc option to produce PIC... -fPIC
  46. checking if gcc PIC flag -fPIC works... yes
  47. checking if gcc static flag -static works... no
  48. checking if gcc supports -c -o file.o... yes
  49. checking if gcc supports -c -o file.lo... yes
  50. checking if gcc supports -fno-rtti -fno-exceptions... yes
  51. checking whether the linker (/usr/bin/ld) supports shared libraries... yes
  52. checking how to hardcode library paths into programs... immediate
  53. checking whether stripping libraries is possible... yes
  54. checking dynamic linker characteristics... GNU/Linux ld.so
  55. checking if libtool supports shared libraries... yes
  56. checking whether to build shared libraries... yes
  57. checking whether to build static libraries... yes
  58. checking whether -lc should be explicitly linked in... no
  59. creating libtool
  60. checking for a BSD-compatible install... /usr/bin/install -c
  61. checking whether make sets $(MAKE)... (cached) yes
  62. checking for g++... g++
  63. checking whether we are using the GNU C++ compiler... yes
  64. checking whether g++ accepts -g... yes
  65. checking dependency style of g++... gcc3
  66. checking how to run the C++ preprocessor... g++ -E
  67. checking how to run the C preprocessor... gcc -E
  68. checking whether make sets $(MAKE)... (cached) yes
  69. checking for doxygen... no
  70. checking for libraries containing socket functions... -lc
  71. checking pthread.h usability... yes
  72. checking pthread.h presence... yes
  73. checking for pthread.h... yes
  74. checking for pthread_join in -lpthread... yes
  75. checking for library containing sem_init... -lpthread
  76. checking for smfi_main in -lmilter... no
  77. configure: error: could not find milter library
  78. #
复制代码


Sendmail的版本为8.12.11,各位大哥大姐帮帮俺吧!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表