After creating a little fight over static zlib compilation on this list,
I then managed to compile clamd with static zlib on FreeBSD 4.11.
I must say I am more than impressed with the performance since I
installed this one. I am running the CVS version. Here is how I
did it (in brief):

I downloaded zlib-1.2.2.tar.gz from their website. Don't ask me how ;)

tar xzvf zlib-1.2.2.tar.gz
cd zlib-1.2.2
./configure --with-prefix=/usr/local/zlib-1.2.2
make install
cd ..

I then downloaded clamav-devel from CVS. Don't ask me how ;)

cd clamav-devel
./configure --with-zlib=/usr/local/zlib-1.2.2 [OTHER ARGS]
make
make install

I am now using "ClamAV devel-20050317/773/Fri Mar 18 15:56:08 2005"

And it's CPU/Memory friendly....

  PID USERNAME      PRI NICE  SIZE    RES STATE  C   TIME   WCPU    CPU COMMAND
95067 exim            2   0 23264K 16716K poll   2 130:29  4.93%  4.93% clamd


..and my Exim+exscan combo runs better than Michael Schumacher in the
Ferrari!

Thanks to Tomasz and the rest of the dev team! I am now going ahead and
installing clamav-0.83 with this method on other boxes I run for
clients!!



-Wash

http://www.netmeister.org/news/learn2quote.html

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <[EMAIL PROTECTED]>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
Every program has two purposes -- one for which it was written and
another for which it wasn't.
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to