Re: [clamav-users] Error in Make -

2016-04-13 Thread kk nair
Thanks guys. Because of a dependency of our existing system on older version of 
openssl we are trying an older version of clam. Make did work with 0.98.1 
version. Hopefully once we get a confirmation on openssl update we can move on 
to latest clam.

Regards,
Kk

-Original Message-
From: "Steven Morgan" 
Sent: ‎14-‎04-‎2016 03:08 AM
To: "ClamAV users ML" 
Subject: Re: [clamav-users] Error in Make -

Yes, gmake is recommended (although bsd make generally works except for
'make check'). At mbox.c:2816, I have:

break;

Mine is in the function rfc2047(), not rfc1341(). What is your version of
ClamAV? Is it possible that your mbox.c is corrupted?

Steve
___
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
___
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Re: [clamav-users] Error in Make - How to get patch 59d05bf.patch

2016-04-13 Thread Steven Morgan
I think the patch he's talking about is here:

https://bugzilla.clamav.net/attachment.cgi?id=5481&action=diff

Although it is for an old version of ClamAV (0.98). Is that the version you
are using?

Steve
___
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] Error in Make -

2016-04-13 Thread Steven Morgan
Yes, gmake is recommended (although bsd make generally works except for
'make check'). At mbox.c:2816, I have:

break;

Mine is in the function rfc2047(), not rfc1341(). What is your version of
ClamAV? Is it possible that your mbox.c is corrupted?

Steve
___
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] Error in Make -

2016-04-13 Thread Richard Conto
Which "make" are you using?  Does Clam-AV require GNU Make as well?  You
might be able to install that as "gmake".  (GNU Make and BSD Make aren't
entirely compatible - I'm not sure where AIX Make lies on that spectrum.)


--- Richard Conto

DNA Sequencing Core
Biomedical Research Core Facilities
Medical School Administration Office of Research
NCRC Bldg 14 room 168 -- (734) 764-7620

On Wed, Apr 13, 2016 at 2:29 PM, Krishnakumar Nair 
wrote:

> Thanks for the update Steve. But its error again with gcc in make.
>
> Please share your valuable inputs.
>
> clam build 0.98/Aix6.1/gcc4.8.3
> Error --
> mbox.c: In function 'rfc1341':
> mbox.c:2816: error: called object '1' is not a function
> make: The error code from the last command is 1.
>
>
> Regards,
> kk
>
> On Wed, Apr 13, 2016 at 7:57 PM, Steven Morgan 
> wrote:
>
> > Hi,
> >
> > gcc is needed to compile ClamAV on AIX. Web search "gcc aix" to get info
> on
> > installing gcc.
> >
> > Steve
> > ___
> > Help us build a comprehensive ClamAV guide:
> > https://github.com/vrtadmin/clamav-faq
> >
> > http://www.clamav.net/contact.html#ml
> >
> ___
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
>
___
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] Error in Make - How to get patch 59d05bf.patch

2016-04-13 Thread Krishnakumar Nair
We have found a mailer @
http://www.gossamer-threads.com/lists/clamav/users/59376

Please share how we can get the patch (#59d05bf.patch)

Regards,
kk

On Wed, Apr 13, 2016 at 11:59 PM, Krishnakumar Nair 
wrote:

> Thanks for the update Steve. But its error again with gcc in make.
>
> Please share your valuable inputs.
>
> clam build 0.98/Aix6.1/gcc4.8.3
> Error --
> mbox.c: In function 'rfc1341':
> mbox.c:2816: error: called object '1' is not a function
> make: The error code from the last command is 1.
>
>
> Regards,
> kk
>
> On Wed, Apr 13, 2016 at 7:57 PM, Steven Morgan 
> wrote:
>
>> Hi,
>>
>> gcc is needed to compile ClamAV on AIX. Web search "gcc aix" to get info
>> on
>> installing gcc.
>>
>> Steve
>> ___
>> Help us build a comprehensive ClamAV guide:
>> https://github.com/vrtadmin/clamav-faq
>>
>> http://www.clamav.net/contact.html#ml
>>
>
>
___
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] Error in Make -

2016-04-13 Thread Krishnakumar Nair
Thanks for the update Steve. But its error again with gcc in make.

Please share your valuable inputs.

clam build 0.98/Aix6.1/gcc4.8.3
Error --
mbox.c: In function 'rfc1341':
mbox.c:2816: error: called object '1' is not a function
make: The error code from the last command is 1.


Regards,
kk

On Wed, Apr 13, 2016 at 7:57 PM, Steven Morgan 
wrote:

> Hi,
>
> gcc is needed to compile ClamAV on AIX. Web search "gcc aix" to get info on
> installing gcc.
>
> Steve
> ___
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
>
___
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] Error in Make -

2016-04-13 Thread Steven Morgan
Hi,

gcc is needed to compile ClamAV on AIX. Web search "gcc aix" to get info on
installing gcc.

Steve
___
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] Error in Make -

2016-04-13 Thread Krishnakumar Nair
Hi Team,
This is a critical blocking issue in ClamAV installation on AIX6.1 CC is
xlC. Please share if any clues.



Regards,
kk

On Wed, Apr 13, 2016 at 12:29 PM, Krishnakumar Nair 
wrote:

> Please share inputs on this issue while we run make after configure.
>
> CCLD libclamunrar_iface.la
> CC libclamav_la-matcher-ac.lo
> "clamav.h", line 170.3: 1506-191 (E) The character # is not a valid C
> source character.
> "/usr/include/sys/atomic_op.h", line 123.1: 1506-1419 (W) Pragma mc_func
> must appear in global scope.
> "/usr/include/sys/atomic_op.h", line 123.1: 1506-224 (W) Incorrect pragma
> ignored.
> "/usr/include/sys/atomic_op.h", line 126.1: 1506-1419 (W) Pragma mc_func
> must appear in global scope.
> "/usr/include/sys/atomic_op.h", line 126.1: 1506-224 (W) Incorrect pragma
> ignored.
> "/usr/include/sys/atomic_op.h", line 129.1: 1506-1419 (W) Pragma mc_func
> must appear in global scope.
> "/usr/include/sys/atomic_op.h", line 129.1: 1506-224 (W) Incorrect pragma
> ignored.
> "/usr/include/sys/atomic_op.h", line 132.1: 1506-1419 (W) Pragma mc_func
> must appear in global scope.
> "/usr/include/sys/atomic_op.h", line 132.1: 1506-224 (W) Incorrect pragma
> ignored.
> "/usr/include/sys/atomic_op.h", line 137.23: 1506-045 (W) Undeclared
> identifier _safe_fetch.
> "clamav.h", line 170.1: 1506-046 (S) Syntax error.
> make: The error code from the last command is 1.
>
>
> Stop.
> make: The error code from the last command is 1.
>
>
> Stop.
> make: The error code from the last command is 2.
>
>
> Stop.
> make: The error code from the last command is 1.
>
>
> Stop.
> make: The error code from the last command is 2.
>
>
> Stop.
> uxhazcaw1:root:[/home/clamav/clamav-0.99] # make check
> Making check in libltdl
> make check-am
> Target "check-am" is up to date.
> Making check in libclamav
> make check-recursive
> CC libclamav_la-matcher-ac.lo
> "clamav.h", line 170.3: 1506-191 (E) The character # is not a valid C
> source character.
> "/usr/include/sys/atomic_op.h", line 123.1: 1506-1419 (W) Pragma mc_func
> must appear in global scope.
> "/usr/include/sys/atomic_op.h", line 123.1: 1506-224 (W) Incorrect pragma
> ignored.
> "/usr/include/sys/atomic_op.h", line 126.1: 1506-1419 (W) Pragma mc_func
> must appear in global scope.
> "/usr/include/sys/atomic_op.h", line 126.1: 1506-224 (W) Incorrect pragma
> ignored.
> "/usr/include/sys/atomic_op.h", line 129.1: 1506-1419 (W) Pragma mc_func
> must appear in global scope.
> "/usr/include/sys/atomic_op.h", line 129.1: 1506-224 (W) Incorrect pragma
> ignored.
> "/usr/include/sys/atomic_op.h", line 132.1: 1506-1419 (W) Pragma mc_func
> must appear in global scope.
> "/usr/include/sys/atomic_op.h", line 132.1: 1506-224 (W) Incorrect pragma
> ignored.
> "/usr/include/sys/atomic_op.h", line 137.23: 1506-045 (W) Undeclared
> identifier _safe_fetch.
> "clamav.h", line 170.1: 1506-046 (S) Syntax error.
> make: The error code from the last command is 1.
>
> Regards,
> kk
>
___
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


[clamav-users] Error in Make -

2016-04-13 Thread Krishnakumar Nair
Please share inputs on this issue while we run make after configure.

CCLD libclamunrar_iface.la
CC libclamav_la-matcher-ac.lo
"clamav.h", line 170.3: 1506-191 (E) The character # is not a valid C
source character.
"/usr/include/sys/atomic_op.h", line 123.1: 1506-1419 (W) Pragma mc_func
must appear in global scope.
"/usr/include/sys/atomic_op.h", line 123.1: 1506-224 (W) Incorrect pragma
ignored.
"/usr/include/sys/atomic_op.h", line 126.1: 1506-1419 (W) Pragma mc_func
must appear in global scope.
"/usr/include/sys/atomic_op.h", line 126.1: 1506-224 (W) Incorrect pragma
ignored.
"/usr/include/sys/atomic_op.h", line 129.1: 1506-1419 (W) Pragma mc_func
must appear in global scope.
"/usr/include/sys/atomic_op.h", line 129.1: 1506-224 (W) Incorrect pragma
ignored.
"/usr/include/sys/atomic_op.h", line 132.1: 1506-1419 (W) Pragma mc_func
must appear in global scope.
"/usr/include/sys/atomic_op.h", line 132.1: 1506-224 (W) Incorrect pragma
ignored.
"/usr/include/sys/atomic_op.h", line 137.23: 1506-045 (W) Undeclared
identifier _safe_fetch.
"clamav.h", line 170.1: 1506-046 (S) Syntax error.
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 2.


Stop.
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 2.


Stop.
uxhazcaw1:root:[/home/clamav/clamav-0.99] # make check
Making check in libltdl
make check-am
Target "check-am" is up to date.
Making check in libclamav
make check-recursive
CC libclamav_la-matcher-ac.lo
"clamav.h", line 170.3: 1506-191 (E) The character # is not a valid C
source character.
"/usr/include/sys/atomic_op.h", line 123.1: 1506-1419 (W) Pragma mc_func
must appear in global scope.
"/usr/include/sys/atomic_op.h", line 123.1: 1506-224 (W) Incorrect pragma
ignored.
"/usr/include/sys/atomic_op.h", line 126.1: 1506-1419 (W) Pragma mc_func
must appear in global scope.
"/usr/include/sys/atomic_op.h", line 126.1: 1506-224 (W) Incorrect pragma
ignored.
"/usr/include/sys/atomic_op.h", line 129.1: 1506-1419 (W) Pragma mc_func
must appear in global scope.
"/usr/include/sys/atomic_op.h", line 129.1: 1506-224 (W) Incorrect pragma
ignored.
"/usr/include/sys/atomic_op.h", line 132.1: 1506-1419 (W) Pragma mc_func
must appear in global scope.
"/usr/include/sys/atomic_op.h", line 132.1: 1506-224 (W) Incorrect pragma
ignored.
"/usr/include/sys/atomic_op.h", line 137.23: 1506-045 (W) Undeclared
identifier _safe_fetch.
"clamav.h", line 170.1: 1506-046 (S) Syntax error.
make: The error code from the last command is 1.

Regards,
kk
___
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [Clamav-users] error in make install "libtool: install: `' is not a directory"

2010-07-29 Thread Laurent HENRY
Oh my !!!
really sorry, i did a too quick copy/paste

hopefully you have better eyes than me !

thank you very much


Le Thursday 29 July 2010 17:26:32 Shawn Bakhtiar, vous avez écrit :
> Bojoure!
>
> You are referencing root ( / ) as the library directory. Not sure what
> -libdir is for but I am pretty sure you should not be building to the root
> directory.
>
> Try changing it to --libdir=/usr/lib or --libdir=/usr/local/lib which are
> the traditional locations.
>
> Shawn
>
> > From: laurent.he...@ehess.fr
> > To: clamav-users@lists.clamav.net
> > Date: Thu, 29 Jul 2010 15:24:32 +0200
> > Subject: [Clamav-users] error in make install "libtool: install: `' is
> > not a   directory"
> >
> > Hello,
> >
> >  i am using clamav by compiling it from sources.
> > I am having a 0.96 version compiling and working fine on a Linux Opensuse
> > 11.1 x64
> >
> > While trying to install from 0.96.1 sources with this configure:
> > ./configure --with-user=mail --with-group=mail --enable-clamdtop
> > --enable-bigstack --sysconfdir=/etc --libdir=/
> >
> > the make install goes wrong with:
> > [...]
> > make[3]: entrant dans le répertoire « /root/clamav-0.96.1/libclamav »
> >   GENversion.h.tmp
> >   GENversion.h
> > make[4]: entrant dans le répertoire « /root/clamav-0.96.1/libclamav »
> >   GENversion.h.tmp
> >   GENversion.h
> > test -z "/" || /bin/mkdir -p "/"
> >  /bin/sh ../libtool   --mode=install /usr/bin/install -c  
> > libclamunrar.la libclamunrar_iface.la libclamav.la '/'
> > libtool: install: `' is not a directory
> > libtool: install: Try `libtool --help --mode=install' for more
> > information. make[4]: *** [install-libLTLIBRARIES] Erreur 1
> > make[4]: quittant le répertoire « /root/clamav-0.96.1/libclamav »
> > make[3]: *** [install-am] Erreur 2
> > make[3]: quittant le répertoire « /root/clamav-0.96.1/libclamav »
> > make[2]: *** [install-recursive] Erreur 1
> > make[2]: quittant le répertoire « /root/clamav-0.96.1/libclamav »
> > make[1]: *** [install] Erreur 2
> > make[1]: quittant le répertoire « /root/clamav-0.96.1/libclamav »
> > make: *** [install-recursive] Erreur 1
> >
> >
> > Does anyone exprienced something similar ?
> > ___
> > Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> > http://www.clamav.net/support/ml
>
> ___
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml



-- 
Laurent HENRY
Administrateur Systèmes & Réseaux
Responsable du CRI/RSSI
EHESS - CRI
54 Bd Raspail
75006 Paris
Secrétariat du CRI: 01 49 54 23 08
Tel: 01 49 54 23 61
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] error in make install "libtool: install: `' is not a directory"

2010-07-29 Thread Shawn Bakhtiar

Bojoure!

You are referencing root ( / ) as the library directory. Not sure what -libdir 
is for but I am pretty sure you should not be building to the root directory.

Try changing it to --libdir=/usr/lib or --libdir=/usr/local/lib which are the 
traditional locations.

Shawn


> From: laurent.he...@ehess.fr
> To: clamav-users@lists.clamav.net
> Date: Thu, 29 Jul 2010 15:24:32 +0200
> Subject: [Clamav-users] error in make install "libtool: install: `' is not a  
> directory"
> 
> Hello, 
> 
>  i am using clamav by compiling it from sources.
> I am having a 0.96 version compiling and working fine on a Linux Opensuse 
> 11.1 
> x64
> 
> While trying to install from 0.96.1 sources with this configure:
> ./configure --with-user=mail --with-group=mail --enable-clamdtop 
> --enable-bigstack --sysconfdir=/etc --libdir=/
> 
> the make install goes wrong with:
> [...]
> make[3]: entrant dans le répertoire « /root/clamav-0.96.1/libclamav »
>   GENversion.h.tmp
>   GENversion.h
> make[4]: entrant dans le répertoire « /root/clamav-0.96.1/libclamav »
>   GENversion.h.tmp
>   GENversion.h
> test -z "/" || /bin/mkdir -p "/"
>  /bin/sh ../libtool   --mode=install /usr/bin/install -c   libclamunrar.la 
> libclamunrar_iface.la libclamav.la '/'
> libtool: install: `' is not a directory
> libtool: install: Try `libtool --help --mode=install' for more information.
> make[4]: *** [install-libLTLIBRARIES] Erreur 1
> make[4]: quittant le répertoire « /root/clamav-0.96.1/libclamav »
> make[3]: *** [install-am] Erreur 2
> make[3]: quittant le répertoire « /root/clamav-0.96.1/libclamav »
> make[2]: *** [install-recursive] Erreur 1
> make[2]: quittant le répertoire « /root/clamav-0.96.1/libclamav »
> make[1]: *** [install] Erreur 2
> make[1]: quittant le répertoire « /root/clamav-0.96.1/libclamav »
> make: *** [install-recursive] Erreur 1
> 
> 
> Does anyone exprienced something similar ?
> ___
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml
  
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


[Clamav-users] error in make install "libtool: install: `' is not a directory"

2010-07-29 Thread Laurent HENRY
Hello, 

 i am using clamav by compiling it from sources.
I am having a 0.96 version compiling and working fine on a Linux Opensuse 11.1 
x64

While trying to install from 0.96.1 sources with this configure:
./configure --with-user=mail --with-group=mail --enable-clamdtop 
--enable-bigstack --sysconfdir=/etc --libdir=/

the make install goes wrong with:
[...]
make[3]: entrant dans le répertoire « /root/clamav-0.96.1/libclamav »
  GENversion.h.tmp
  GENversion.h
make[4]: entrant dans le répertoire « /root/clamav-0.96.1/libclamav »
  GENversion.h.tmp
  GENversion.h
test -z "/" || /bin/mkdir -p "/"
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libclamunrar.la 
libclamunrar_iface.la libclamav.la '/'
libtool: install: `' is not a directory
libtool: install: Try `libtool --help --mode=install' for more information.
make[4]: *** [install-libLTLIBRARIES] Erreur 1
make[4]: quittant le répertoire « /root/clamav-0.96.1/libclamav »
make[3]: *** [install-am] Erreur 2
make[3]: quittant le répertoire « /root/clamav-0.96.1/libclamav »
make[2]: *** [install-recursive] Erreur 1
make[2]: quittant le répertoire « /root/clamav-0.96.1/libclamav »
make[1]: *** [install] Erreur 2
make[1]: quittant le répertoire « /root/clamav-0.96.1/libclamav »
make: *** [install-recursive] Erreur 1


Does anyone exprienced something similar ?
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Re: [Clamav-users] error in make

2010-04-18 Thread Jim Preston

On Apr 18, 2010, at 12:46 PM, neidorff wrote:


On 4/18/10, Jim Preston  wrote:


Chuck Swiger wrote:


On Apr 18, 2010, at 7:14 AM, neidorff wrote:


Thanks.  That did help.  Now I'm getting a problem starting the  
daemon.

The
error that I am getting is:

[r...@neidorff ~]# /etc/init.d/clamd start
Starting Clam AV daemon: ERROR: Missing argument for option at  
line 33

ERROR: Can't open/parse the config file /usr/local/etc/clamd.conf
[FAILED]
I've checked the clamd.conf file. It looks fine.




The problem isn't in your /etc/init.d/clamd startup script,  
although that
seems to believe clamd.conf should be under /etc rather than /usr/ 
local/etc

(and they should agree).  Instead do something like:

emacs +33 /usr/local/etc/clamd.conf

...to check on the specific line.

My guess is that it is something like "LogTime" which should be  
"LogTime

yes" nowadays.

Regards,




SOLVED!!!
Many thanks for all the help.  I fixed the path issues.  Also, I  
found the
new syntax for clamd.conf in the man page, corrected the file,  
removed some
deprecated stuff, replaced the old version of freshclam (which  
didn't get
upgraded with the install of 0.96) and now the system is working  
happily.

Mark (after 3 days without the server working, I am very releived!!!)


Glad you got it going.

Jim
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] error in make

2010-04-18 Thread neidorff
On 4/18/10, Jim Preston  wrote:
>
> Chuck Swiger wrote:
>
>> On Apr 18, 2010, at 7:14 AM, neidorff wrote:
>>
>>
>>> Thanks.  That did help.  Now I'm getting a problem starting the daemon.
>>>  The
>>> error that I am getting is:
>>>
>>> [r...@neidorff ~]# /etc/init.d/clamd start
>>> Starting Clam AV daemon: ERROR: Missing argument for option at line 33
>>> ERROR: Can't open/parse the config file /usr/local/etc/clamd.conf
>>>  [FAILED]
>>> I've checked the clamd.conf file. It looks fine.
>>>
>>>
>>
>> The problem isn't in your /etc/init.d/clamd startup script, although that
>> seems to believe clamd.conf should be under /etc rather than /usr/local/etc
>> (and they should agree).  Instead do something like:
>>
>>  emacs +33 /usr/local/etc/clamd.conf
>>
>> ...to check on the specific line.
>>
>> My guess is that it is something like "LogTime" which should be "LogTime
>> yes" nowadays.
>>
>> Regards,
>>
>>
>
> SOLVED!!!
Many thanks for all the help.  I fixed the path issues.  Also, I found the
new syntax for clamd.conf in the man page, corrected the file, removed some
deprecated stuff, replaced the old version of freshclam (which didn't get
upgraded with the install of 0.96) and now the system is working happily.
Mark (after 3 days without the server working, I am very releived!!!)
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] error in make

2010-04-18 Thread Jim Preston

Chuck Swiger wrote:

On Apr 18, 2010, at 7:14 AM, neidorff wrote:
  

Thanks.  That did help.  Now I'm getting a problem starting the daemon.  The
error that I am getting is:

[r...@neidorff ~]# /etc/init.d/clamd start
Starting Clam AV daemon: ERROR: Missing argument for option at line 33
ERROR: Can't open/parse the config file /usr/local/etc/clamd.conf
  [FAILED]
I've checked the clamd.conf file. It looks fine.



The problem isn't in your /etc/init.d/clamd startup script, although that seems 
to believe clamd.conf should be under /etc rather than /usr/local/etc (and they 
should agree).  Instead do something like:

  emacs +33 /usr/local/etc/clamd.conf

...to check on the specific line.

My guess is that it is something like "LogTime" which should be "LogTime yes" 
nowadays.

Regards,
  


Yes, the default (if you have been upgrading for a long-time or maybe 
from the distro rpms???) used to be /etc/clamd.conf. It could also be... 
he has it symlinked to the one in the usr directory which is what I did 
rather than change the init script..


Jim
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] error in make

2010-04-18 Thread Chuck Swiger
On Apr 18, 2010, at 7:14 AM, neidorff wrote:
> Thanks.  That did help.  Now I'm getting a problem starting the daemon.  The
> error that I am getting is:
> 
> [r...@neidorff ~]# /etc/init.d/clamd start
> Starting Clam AV daemon: ERROR: Missing argument for option at line 33
> ERROR: Can't open/parse the config file /usr/local/etc/clamd.conf
>   [FAILED]
> I've checked the clamd.conf file. It looks fine.

The problem isn't in your /etc/init.d/clamd startup script, although that seems 
to believe clamd.conf should be under /etc rather than /usr/local/etc (and they 
should agree).  Instead do something like:

  emacs +33 /usr/local/etc/clamd.conf

...to check on the specific line.

My guess is that it is something like "LogTime" which should be "LogTime yes" 
nowadays.

Regards,
-- 
-Chuck

___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] error in make

2010-04-18 Thread Jim Preston

neidorff wrote:

Thanks.  That did help.  Now I'm getting a problem starting the daemon.  The
error that I am getting is:

[r...@neidorff ~]# /etc/init.d/clamd start
Starting Clam AV daemon: ERROR: Missing argument for option at line 33
ERROR: Can't open/parse the config file /usr/local/etc/clamd.conf
   [FAILED]
I've checked the clamd.conf file. It looks fine.  permissions are 644.  I've
tried owner as root, clamav and qscand. No change. I've put some "echo"
statements in /etc/init.d/clamd to verify that it is running and where the
error is coming from.  Here are the relavent lines:

start() {
# Find user to run as
CLAMUSER=`grep ^User /etc/clamd.conf | cut -d ' ' -f2`
if [ -z $CLAMUSER ] ; then
   CLAMUSER="clamav"
fi
# Lets start up
echo -n $"Starting Clam AV daemon: "
LANG= daemon --user $CLAMUSER /usr/local/sbin/clamd
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/clamd
return $RETVAL
}
Line 33 is "return $RETVAL.
Can anyone please help me get my clamav working again?
Thanks,
Mark
That error is not in the init script, it is being generated from the 
clamd.conf file and is not a permission issue but a failure to parse the 
file. The error is that it does not understand the option on line 33 of  
/usr/local/etc/clamd.conf


What do you have on this line? In the default clamd.conf (new one 
distributed with 0.96) it is:


# Default: no

which is not a problem. Check your clamd.conf and if you can't see what 
is wrong, paste the contents (or partial contents) and I will see if I 
can determine what it does not like.


Jim


___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] error in make

2010-04-18 Thread neidorff
Thanks.  That did help.  Now I'm getting a problem starting the daemon.  The
error that I am getting is:

[r...@neidorff ~]# /etc/init.d/clamd start
Starting Clam AV daemon: ERROR: Missing argument for option at line 33
ERROR: Can't open/parse the config file /usr/local/etc/clamd.conf
   [FAILED]
I've checked the clamd.conf file. It looks fine.  permissions are 644.  I've
tried owner as root, clamav and qscand. No change. I've put some "echo"
statements in /etc/init.d/clamd to verify that it is running and where the
error is coming from.  Here are the relavent lines:

start() {
# Find user to run as
CLAMUSER=`grep ^User /etc/clamd.conf | cut -d ' ' -f2`
if [ -z $CLAMUSER ] ; then
   CLAMUSER="clamav"
fi
# Lets start up
echo -n $"Starting Clam AV daemon: "
LANG= daemon --user $CLAMUSER /usr/local/sbin/clamd
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/clamd
return $RETVAL
}
Line 33 is "return $RETVAL.
Can anyone please help me get my clamav working again?
Thanks,
Mark
On 4/17/10, Török Edwin  wrote:
>
> On 04/17/2010 06:14 PM, neidorff wrote:
>
>> On 4/17/10, neidorff  wrote:
>>
>>>
>>> On 4/17/10, Török Edwin  wrote:
>>>
>>>  On 04/17/2010 05:12 PM, neidorff wrote:

  Help, please.
>
> My system is old--Fedora Core 3--but it has been working as a mail
> server
> (qmail from and upgraded from qmailrocks) for years without trouble.
>  Now
> in
> the position of having to install new clamav.  Followed the
> instructions--uninstalled old clamav.  Now building new.  (upgraded
> packages
> as needed, already)
> configure went fine.
> I got the  output below
>   CXXlibclamavcxx_la-bytecode2llvm.lo
> cc1plus: error: unrecognized command line option
> "-Wno-missing-field-initializers"
>
>
 Did you specify --enable-llvm to configure?
 If not it should have automatically disabled it on such an old compiler.

 Try rerunning configure with --disable-llvm, and see if make works then.


>>> Many thanks.  That fixed the problem.  I have run configure, make and
>>> (#)make install without issue.
>>>
>>>
>> AckI skoke too soon.  The clamd daemon is not running.  When I try to
>> manually start it, it complains about:
>> Starting Clam AV daemon: /usr/local/sbin/clamd: error while loading shared
>> libraries: libclamav.so.6: cannot open shared object file: No such file or
>> directory
>>
>
> Run ldconfig, that'll create the appropriate symlinks.
>
>
>
> --Edwin
> ___
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml
>
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] error in make

2010-04-17 Thread Török Edwin

On 04/17/2010 06:14 PM, neidorff wrote:

On 4/17/10, neidorff  wrote:


On 4/17/10, Török Edwin  wrote:


On 04/17/2010 05:12 PM, neidorff wrote:


Help, please.

My system is old--Fedora Core 3--but it has been working as a mail server
(qmail from and upgraded from qmailrocks) for years without trouble.  Now
in
the position of having to install new clamav.  Followed the
instructions--uninstalled old clamav.  Now building new.  (upgraded
packages
as needed, already)
configure went fine.
I got the  output below
   CXXlibclamavcxx_la-bytecode2llvm.lo
cc1plus: error: unrecognized command line option
"-Wno-missing-field-initializers"



Did you specify --enable-llvm to configure?
If not it should have automatically disabled it on such an old compiler.

Try rerunning configure with --disable-llvm, and see if make works then.



Many thanks.  That fixed the problem.  I have run configure, make and
(#)make install without issue.



AckI skoke too soon.  The clamd daemon is not running.  When I try to
manually start it, it complains about:
Starting Clam AV daemon: /usr/local/sbin/clamd: error while loading shared
libraries: libclamav.so.6: cannot open shared object file: No such file or
directory


Run ldconfig, that'll create the appropriate symlinks.


--Edwin
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] error in make

2010-04-17 Thread neidorff
On 4/17/10, neidorff  wrote:
>
> On 4/17/10, Török Edwin  wrote:
>
>> On 04/17/2010 05:12 PM, neidorff wrote:
>>
>>> Help, please.
>>>
>>> My system is old--Fedora Core 3--but it has been working as a mail server
>>> (qmail from and upgraded from qmailrocks) for years without trouble.  Now
>>> in
>>> the position of having to install new clamav.  Followed the
>>> instructions--uninstalled old clamav.  Now building new.  (upgraded
>>> packages
>>> as needed, already)
>>> configure went fine.
>>> I got the  output below
>>>   CXXlibclamavcxx_la-bytecode2llvm.lo
>>> cc1plus: error: unrecognized command line option
>>> "-Wno-missing-field-initializers"
>>>
>>
>> Did you specify --enable-llvm to configure?
>> If not it should have automatically disabled it on such an old compiler.
>>
>> Try rerunning configure with --disable-llvm, and see if make works then.
>>
>
> Many thanks.  That fixed the problem.  I have run configure, make and
> (#)make install without issue.
>

AckI skoke too soon.  The clamd daemon is not running.  When I try to
manually start it, it complains about:
Starting Clam AV daemon: /usr/local/sbin/clamd: error while loading shared
libraries: libclamav.so.6: cannot open shared object file: No such file or
directory

Looking in the clamav compile tree, I see that libclamav.so.6 has been
created, but not installed in either the /lib or the /usr/lib tree. Where
should I copy the file to make this installation work?
Thanks again,
Mark
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] error in make

2010-04-17 Thread neidorff
On 4/17/10, Török Edwin  wrote:

> On 04/17/2010 05:12 PM, neidorff wrote:
>
>> Help, please.
>>
>> My system is old--Fedora Core 3--but it has been working as a mail server
>> (qmail from and upgraded from qmailrocks) for years without trouble.  Now
>> in
>> the position of having to install new clamav.  Followed the
>> instructions--uninstalled old clamav.  Now building new.  (upgraded
>> packages
>> as needed, already)
>> configure went fine.
>> I got the  output below
>>   CXXlibclamavcxx_la-bytecode2llvm.lo
>> cc1plus: error: unrecognized command line option
>> "-Wno-missing-field-initializers"
>>
>
> Did you specify --enable-llvm to configure?
> If not it should have automatically disabled it on such an old compiler.
>
> Try rerunning configure with --disable-llvm, and see if make works then.
>

Many thanks.  That fixed the problem.  I have run configure, make and
(#)make install without issue.
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] error in make

2010-04-17 Thread Török Edwin

On 04/17/2010 05:12 PM, neidorff wrote:

Help, please.

My system is old--Fedora Core 3--but it has been working as a mail server
(qmail from and upgraded from qmailrocks) for years without trouble.  Now in
the position of having to install new clamav.  Followed the
instructions--uninstalled old clamav.  Now building new.  (upgraded packages
as needed, already)
configure went fine.
I got the  output below when I ran make (as a user, not as root).  I don't
know what I need to fix to get the "make" to work.  Please help me get this
working.
If you need more information to help me, please let me know what to
provide.  I'll get it posted right away.

Many thanks,
Mark
   CXXlibclamavcxx_la-bytecode2llvm.lo
cc1plus: error: unrecognized command line option
"-Wno-missing-field-initializers"


Did you specify --enable-llvm to configure?
If not it should have automatically disabled it on such an old compiler.

Try rerunning configure with --disable-llvm, and see if make works then.

Best regards,
--Edwin
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


[Clamav-users] error in make

2010-04-17 Thread neidorff
Help, please.

My system is old--Fedora Core 3--but it has been working as a mail server
(qmail from and upgraded from qmailrocks) for years without trouble.  Now in
the position of having to install new clamav.  Followed the
instructions--uninstalled old clamav.  Now building new.  (upgraded packages
as needed, already)
configure went fine.
I got the  output below when I ran make (as a user, not as root).  I don't
know what I need to fix to get the "make" to work.  Please help me get this
working.
If you need more information to help me, please let me know what to
provide.  I'll get it posted right away.

Many thanks,
Mark
*** output of make command ***
make  all-recursive
make[1]: Entering directory `/home/mark/clamav/clamav-0.96'
Making all in libltdl
make[2]: Entering directory `/home/mark/clamav/clamav-0.96/libltdl'
make  all-am
make[3]: Entering directory `/home/mark/clamav/clamav-0.96/libltdl'
  CC dlopen.lo
  CCLD   dlopen.la
  CC libltdlc_la-preopen.lo
  CC libltdlc_la-lt__alloc.lo
  CC libltdlc_la-lt_dlloader.lo
  CC libltdlc_la-lt_error.lo
  CC libltdlc_la-ltdl.lo
  CC libltdlc_la-slist.lo
  CC lt__strl.lo
  CCLD   libltdlc.la
make[3]: Leaving directory `/home/mark/clamav/clamav-0.96/libltdl'
make[2]: Leaving directory `/home/mark/clamav/clamav-0.96/libltdl'
Making all in libclamav
make[2]: Entering directory `/home/mark/clamav/clamav-0.96/libclamav'
make  all-recursive
make[3]: Entering directory `/home/mark/clamav/clamav-0.96/libclamav'
Making all in c++
make[4]: Entering directory `/home/mark/clamav/clamav-0.96/libclamav/c++'
make  all-am
make[5]: Entering directory `/home/mark/clamav/clamav-0.96/libclamav/c++'
  CXXlibclamavcxx_la-bytecode2llvm.lo
cc1plus: error: unrecognized command line option
"-Wno-missing-field-initializers"
cc1plus: error: unrecognized command line option "-Wno-variadic-macros"
make[5]: *** [libclamavcxx_la-bytecode2llvm.lo] Error 1
make[5]: Leaving directory `/home/mark/clamav/clamav-0.96/libclamav/c++'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/mark/clamav/clamav-0.96/libclamav/c++'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/mark/clamav/clamav-0.96/libclamav'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/mark/clamav/clamav-0.96/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mark/clamav/clamav-0.96'
make: *** [all] Error 2
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml