-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brad Morgan wrote:


>> Can someone please provide an example configure command or script that will
>> build ClamAV from source under Cygwin?


Before running configure you have to create user clamav and group clamavg or
adjust the following.  Also, I don't use curl but you may ommit the last
parameter if you want to.

./configure --prefix=/usr --sysconfdir=/etc --with-user=clamav \
- --with-group=clamavg --with-dbdir=/usr/share/clamav --without-libcurl

After this, you need to edit libtool, change lines 120, 122, 124 so that they
start with:

      \$CC -shared -Wl,

The shared option is needed to allow the library to be compiled into a dll
(again you may opt to only use static libraries).

That's it, other than to say that clamav is included in the Cygwin package
list... it has not been updated to 0.88 (I think) but it shouldn't take long.

Regards.
- --
René Berber
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkPIScYACgkQL3NNweKTRgx2fQCfTbK+QVbrCaUwE8krck3qM2OQ
y6oAoPh8RiyZrDaj+bKe6J1MnhGw4dZz
=YFcc
-----END PGP SIGNATURE-----

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to