Leopardにclamavのインストール

ドキュメントはここ。
http://www.clamav.org/support/doc/
「3.2 Installing on shell account」を参考にした。

Leopard標準(developer tools)のgccではconfigureで止められる
(バグがあるらしい。
configureしても

checking for gcc bug PR28045... configure: error: your compiler has gcc PR28045 bug, use a different compiler, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28045

となる。)

ので、gccの別のバージョンでコンパイルした。

$ ./configure CC=${HOME}/gcc/bin/gcc --prefix=${HOME}/unix --disable-clamav
$ make
$ make install

freshclamすると、メッセージがでるので
そのパスが示すfreshclam.confから,Exampleをコメントアウトする。
これで、たぶんOK.

clamscanでもしてみる。