ClamAV 0.96へのバージョンアップ

ClamAVが0.96になったので、バージョンアップ(かなり手抜き)。
いろいろと変わっているみたいですが、面倒なので詳細は調べてないぞと。

configure の推奨オプションが増えているので、何も考えずにそのまま実行する。
と、エラーを吐いてくじける。

こんなのとか、

ERROR! Check was configured, but not found. Get it from http://check.sf.net/
yum -y install check-devel

こんなのとか。

ERROR! Clamdtop was configured, but not found. You need to install libncurses5-dev.

要求するライブラリが追加されてるのね。
仕方ないので yum install で追加してあげます。

yum -y install check-devel
yum -y install ncurses-devel
./configure --enable-llvm --enable-check --enable-clamdtop --enable-milter

configure: Summary of detected features follows
              OS          : linux-gnu
              pthreads    : yes (-lpthread)
configure: Summary of miscellaneous  features
              check       : -lcheck
              clamuko     : yes
              fdpassing   : 1
              IPv6        : yes
configure: Summary of optional tools
              clamdtop    : -lncurses
              milter      : yes
configure: Summary of engine performance features)
              release mode: yes
              jit         : yes
              mempool     : yes
configure: Summary of engine detection features
              autoit_ea06 : yes
              bzip2       : no
              zlib        : /usr
              unrar       : yes

なんかいけそうな気がするので、そのままmake。
make checkですっこける。

make
make check

PASS: check_clamav
PASS: check_freshclam.sh
PASS: check_sigtool.sh
SKIP: check_unit_vg.sh
FAIL: check1_clamscan.sh
FAIL: check2_clamd.sh
PASS: check3_clamd.sh
PASS: check4_clamd.sh
SKIP: check5_clamd_vg.sh
SKIP: check6_clamd_vg.sh
SKIP: check7_clamd_hg.sh
SKIP: check8_clamd_hg.sh
========================================
2 of 7 tests failed
(5 tests were not run)
See unit_tests/test-suite.log
Please report to http://bugs.clamav.net/
========================================

----------- SCAN SUMMARY -----------
Infected files: 44
Time: 1.046 sec (0 m 1 s)

***
*** clamd did not detect all testfiles correctly!
***

SKIP: check5_clamd_vg.sh (exit: 77)
===================================

*** valgrind tests skipped by default, use 'make check VG=1' to activate

SKIP: check6_clamd_vg.sh (exit: 77)
===================================

*** valgrind tests skipped by default, use 'make check VG=1' to activate

SKIP: check7_clamd_hg.sh (exit: 77)
===================================

SKIP: check8_clamd_hg.sh (exit: 77)
===================================

*** valgrind tests skipped by default, use 'make check VG=1' to activate

ま、いいか。make は通ってるし(をい)。

cd ../clamav-0.95.3
make uninstall

cd ../clamav-0.96
make install

service clamav restart

とりあえず動いている様子。深く追求するの、やめ。

この記事にコメントする

Powered by WordPress, WP Theme designed by WSC Project. ログイン