Hi,
I'm not sure if this is solved in a newer development
version, so these instructions are mostly for those
like me trying to figure out how to get this compile
to work.
First, upgrade to the latest compiler, etc, using the
Cygwin installer. For reference, I used cygwin
1.5.4-1, gcc 3.2-3, make 3.80-1, and zlib
1.1.4-4. Next, edit the file /freshclam/freshclam.c
On or near line 41 is the code:
#ifndef C_CYGWIN
struct passwd *user;
char *newdir;
This needs to be modified (move the #ifndef line down)
to read:
struct passwd *user;
char *newdir;
#ifndef C_CYGWIN
This will resolve an error during compilation about
newdir not being defined. Finally, issue the
commands:
./configure --disable-clamav
make
make install
After this, clamscan seems to work, it found the test
viruses. However, freshclam did not appear to update.
It returned the error (after reading
and checking the md5 sums and downloading
viruses.db....done:
ERROR: The checksum of viruses.db database isn't ok.
Please check it yourself or try again.
The file dates for viruses.db and viruses2.db in the
\usr\local\share\clamav directory seem to indicate
that it did the update anyways.
Good luck,
Jeff
NOTE TO MODERATOR: Sorry for the duplicate message.
I sent the original to the list anonymously on 17 Sep,
but did not see it come through.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users