bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

clamscan installation under CygWin


From: Rikard Froberg
Subject: clamscan installation under CygWin
Date: Fri, 26 Sep 2003 21:11:08 +0200

Hi,
installing clamscan 0.60 under CygWin (win2k) fails during
make.

This is posible to work around by moving a declaration of
a variable out of a #IFNDEF block.

This is what I did to get around it:

$ grep -n newdir freshclam/freshclam.c
41:        char *newdir;
44:     //char *newdir;
99:     newdir = getargl(opt, "datadir");
101:    newdir = VIRUSDBDIR;
103:    if(chdir(newdir)) {
104:    mprintf("Can't change dir to %s\n", newdir);
107:    mprintf("Current working dir is %s\n", newdir);

That is:
1) Creating a declaration of newdir outside of the #IFNDEF block
by declaring newdir on line 41
2) Commenting out the old (misplaced?) declaration
3) saving and running make again.

Make exited with an error message of newdir being undeclared on
line 99.

Sorry if this bug has already been reported (I found no searchable
bugdatabase for clamscan) and pardon for my ignorance of makefiles
etc.

Best regards

Rikard
------------------------

Rikard Froberg
Smorkullegarden 5
437 30  LINDOME
031 99 14 40 - 0739 15 59 23

_______________________________________________________
Skicka gratis SMS!
http://www.passagen.se






reply via email to

[Prev in Thread] Current Thread [Next in Thread]