[Clamav-users] 0.96rc1 LibClamAV Warning: JIT not compiled in

2010-03-11 Thread Noel Jones
I installed clam 0.96rc1 on a FreeBSD 5.3 test server.  "make" 
seemed to run normally.


When I scan any file with clamscan, I get:
# clamscan /etc/motd
LibClamAV Warning: JIT not compiled in
/etc/motd: OK

--- SCAN SUMMARY ---
Known viruses: 727277
Engine version: 0.96rc1
Scanned directories: 0
Scanned files: 1
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 7.176 sec (0 m 7 s)

What am I missing?

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


Re: [Clamav-users] 0.96rc1 LibClamAV Warning: JIT not compiled in

2010-03-11 Thread Török Edwin
On 03/11/2010 07:42 PM, Noel Jones wrote:
> I installed clam 0.96rc1 on a FreeBSD 5.3 test server.  "make" seemed to
> run normally.
> 
> When I scan any file with clamscan, I get:
> # clamscan /etc/motd
> LibClamAV Warning: JIT not compiled in
> /etc/motd: OK
> 
> --- SCAN SUMMARY ---
> Known viruses: 727277
> Engine version: 0.96rc1
> Scanned directories: 0
> Scanned files: 1
> Infected files: 0
> Data scanned: 0.00 MB
> Data read: 0.00 MB (ratio 0.00:1)
> Time: 7.176 sec (0 m 7 s)
> 
> What am I missing?

See the optional requirements in clamdoc.pdf, make sure you have at
least g++ 4.2 installed.

config.log in libclamav/c++ should tell you exactly why JIT support was
not compiled in.

Best regards,
--Edwin

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


Re: [Clamav-users] 0.96rc1 LibClamAV Warning: JIT not compiled in

2010-03-11 Thread Noel Jones

On 3/11/2010 11:49 AM, Török Edwin wrote:

On 03/11/2010 07:42 PM, Noel Jones wrote:

I installed clam 0.96rc1 on a FreeBSD 5.3 test server.  "make" seemed to
run normally.

When I scan any file with clamscan, I get:
# clamscan /etc/motd
LibClamAV Warning: JIT not compiled in
/etc/motd: OK

--- SCAN SUMMARY ---
Known viruses: 727277
Engine version: 0.96rc1
Scanned directories: 0
Scanned files: 1
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 7.176 sec (0 m 7 s)

What am I missing?


See the optional requirements in clamdoc.pdf, make sure you have at
least g++ 4.2 installed.

config.log in libclamav/c++ should tell you exactly why JIT support was
not compiled in.


I see no mention of JIT in that log, but I expect it's because 
of my older g++ 3.4.2.  I'll investigate upgrading.




Best regards,
--Edwin



Thanks.

  -- Noel Jones

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


Re: [Clamav-users] 0.96rc1 LibClamAV Warning: JIT not compiled in

2010-03-13 Thread George R . Kasica
>On Fri, 12 Mar 2010 23:32:19 +0200, you wrote:

>On 03/12/2010 10:46 PM, George R. Kasica wrote:
>> We've compiled and are running here as well with Red Hat EL4 (gcc
>> 3.4.6-11.el4_8.1) and Red Hat EL5 (gcc 4.1.2-46.el5_4.2) both of which
>> are the latest released versions of gcc from Red Had RPMs and are
>> seeing the same JIT failures...how new are you expecting the gcc to
>> be? 
>
>Minimum 4.1.3.
>4.1.2 is listed as a broken version here (although not exactly the
>version you have, -42 is listed, you have -46)
>http://llvm.org/docs/GettingStarted.html#brokengcc
>
>You can try to use --enable-llvm (it will ignore the gcc version then),
>and see if make check passes.
>If so let me know to automatically enable the JIT on that compiler version.
>
>There is a 4.4.0 gcc available for RHEL5 too that works.
>
>> 
>> There's no way that our environment is going to be able to put
>> something newer out than what is released by the Distro
>> vendor.that it falls back to another mode is fine, but there's an
>> awful lot of RHEL5 out there that I'm betting is running that rev of
>> gcc that will see this error.
>
>That warning will be downgraded to a debug message.


Neither will compile cleanly with the --enable-llvm switch, both fail
make on RH EL4 and RH EL5 shown above.

George
-- 
===[George R. Kasica]===+1 262 677 0766
President   +1 206 374 6482 FAX 
Netwrx Consulting Inc.  Jackson, WI USA 
http://www.netwrx1.com
geor...@netwrx1.com
ICQ #12862186
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] 0.96rc1 LibClamAV Warning: JIT not compiled in

2010-03-15 Thread Syed Zubair
I am also getting this warning in OS X 10.4.11 with 'freshclam'. Also
the earlier line
'clamd' successfully notified is missing. The database however is
being  updated.
Cheers
> --
>
> Message: 2
> Date: Sat, 13 Mar 2010 16:58:24 -0600
> From: George R. Kasica 
> Subject: Re: [Clamav-users] 0.96rc1 LibClamAV Warning: JIT not
>        compiled in
> To: ClamAV users ML 
> Cc: ClamAV users ML 
> Message-ID: <026op5lu091qkjleh7tlqv3vllq15tb...@4ax.com>
> Content-Type: text/plain; charset=us-ascii
>
>>On Fri, 12 Mar 2010 23:32:19 +0200, you wrote:
>
>>On 03/12/2010 10:46 PM, George R. Kasica wrote:
>>> We've compiled and are running here as well with Red Hat EL4 (gcc
>>> 3.4.6-11.el4_8.1) and Red Hat EL5 (gcc 4.1.2-46.el5_4.2) both of which
>>> are the latest released versions of gcc from Red Had RPMs and are
>>> seeing the same JIT failures...how new are you expecting the gcc to
>>> be?
>>
>>Minimum 4.1.3.
>>4.1.2 is listed as a broken version here (although not exactly the
>>version you have, -42 is listed, you have -46)
>>http://llvm.org/docs/GettingStarted.html#brokengcc
>>
>>You can try to use --enable-llvm (it will ignore the gcc version then),
>>and see if make check passes.
>>If so let me know to automatically enable the JIT on that compiler version.
>>
>>There is a 4.4.0 gcc available for RHEL5 too that works.
>>
>>>
>>> There's no way that our environment is going to be able to put
>>> something newer out than what is released by the Distro
>>> vendor.that it falls back to another mode is fine, but there's an
>>> awful lot of RHEL5 out there that I'm betting is running that rev of
>>> gcc that will see this error.
>>
>>That warning will be downgraded to a debug message.
>
>
> Neither will compile cleanly with the --enable-llvm switch, both fail
> make on RH EL4 and RH EL5 shown above.
>
> George
> --
> ===[George R. Kasica]===        +1 262 677 0766
> President                       +1 206 374 6482 FAX
> Netwrx Consulting Inc.          Jackson, WI USA
> http://www.netwrx1.com
> geor...@netwrx1.com
> ICQ #12862186
>
>
> --
>
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml