[Clamav-users] make check fails building 0.96

2010-04-01 Thread Jason Bertoch
make check fails building 0.96 on CentOS 5.4 64-bit using:

./configure --prefix=/usr --sysconfdir=/etc --enable-milter \
--enable-llvm --enable-check --enable-clamdtop


Output of make & make check at pastebin:
http://pastebin.com/qCst5vgY



configure: Summary of detected features follows
  OS  : linux-gnu
  pthreads: yes (-lpthread)
configure: Summary of miscellaneous  features
  check   : -L/usr/lib64 -lcheck
  clamuko : yes
  fdpassing   : 1
  IPv6: yes
configure: Summary of optional tools
  clamdtop: -L/usr/lib64 -lncurses
  milter  : yes
configure: Summary of engine performance features)
  release mode: yes
  jit : yes
  mempool : yes
configure: Summary of engine detection features
  autoit_ea06 : yes
  bzip2   : ok
  zlib: /usr
  unrar   : yes


Any thoughts?

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


Re: [Clamav-users] make check fails building 0.96

2010-04-01 Thread Török Edwin
On 04/01/2010 05:06 PM, Jason Bertoch wrote:
> make check fails building 0.96 on CentOS 5.4 64-bit using:
> 
> ./configure --prefix=/usr --sysconfdir=/etc --enable-milter \
> --enable-llvm --enable-check --enable-clamdtop
> 
> 
> Output of make & make check at pastebin:
> http://pastebin.com/qCst5vgY

Please pastebin the contents of unit_tests/test-suite.log (or run make
check VERBOSE=1).

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


Re: [Clamav-users] make check fails building 0.96

2010-04-01 Thread Jason Bertoch
> -Original Message-
> From: clamav-users-boun...@lists.clamav.net [mailto:clamav-users-
> boun...@lists.clamav.net] On Behalf Of Török Edwin
> Sent: Thursday, April 01, 2010 11:03 AM
> 
> Please pastebin the contents of unit_tests/test-suite.log (or run make
> check VERBOSE=1).
> 

http://pastebin.com/d57qsB9R


FAIL: check_clamav (exit: 1)


ERROR: check version mismatch!
Version from header: 0.9.6
Version from library: 0.9.5
Make sure check.h and -lcheck are same version!

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


Re: [Clamav-users] make check fails building 0.96

2010-04-01 Thread Török Edwin
On 04/01/2010 06:23 PM, Jason Bertoch wrote:
>> -Original Message-
>> From: clamav-users-boun...@lists.clamav.net [mailto:clamav-users-
>> boun...@lists.clamav.net] On Behalf Of Török Edwin
>> Sent: Thursday, April 01, 2010 11:03 AM
>>
>> Please pastebin the contents of unit_tests/test-suite.log (or run make
>> check VERBOSE=1).
>>
> 
> http://pastebin.com/d57qsB9R
> 
> 
> FAIL: check_clamav (exit: 1)
> 
> 
> ERROR: check version mismatch!
> Version from header: 0.9.6
> Version from library: 0.9.5
> Make sure check.h and -lcheck are same version!

There's the problem: you have the headers from check 0.9.6 installed,
but the libraries from check 0.9.5.

Make sure you don't have duplicate check packages on your system (like
one installed by your distribution into /usr, and one you installed
yourself in /usr/local).

find /usr -name check.h
find /usr -name libcheck.a

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


Re: [Clamav-users] make check fails building 0.96

2010-04-01 Thread Jason Bertoch
> -Original Message-
> From: clamav-users-boun...@lists.clamav.net [mailto:clamav-users-
> boun...@lists.clamav.net] On Behalf Of Török Edwin
> Sent: Thursday, April 01, 2010 11:25 AM
>
> > ERROR: check version mismatch!
> > Version from header: 0.9.6
> > Version from library: 0.9.5
> > Make sure check.h and -lcheck are same version!
> 
> There's the problem: you have the headers from check 0.9.6 installed,
> but the libraries from check 0.9.5.
> 
> Make sure you don't have duplicate check packages on your system (like
> one installed by your distribution into /usr, and one you installed
> yourself in /usr/local).
> 
> find /usr -name check.h
> find /usr -name libcheck.a
> 

We had this (or a similar) problem in a previous release.  If I recall
correctly, it was related to the system being 64-bit, and check stopped looking
for the 64-bit library once it found the 32-bit library.

# find /usr -name check.h
/usr/include/check.h

# find /usr -name libcheck.a
/usr/lib/libcheck.a
/usr/lib64/libcheck.a


I'm removing both versions, reinstalling only 64-bit, recompiling as we speak,
and will report the results.  I originally ran into the "check" problem with the
release of 0.94, but no problems since.

http://lurker.clamav.net/message/20080902.184430.c6dffbc7.en.html



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


Re: [Clamav-users] make check fails building 0.96

2010-04-01 Thread Török Edwin
On 04/01/2010 06:55 PM, Jason Bertoch wrote:
>> -Original Message-
>> From: clamav-users-boun...@lists.clamav.net [mailto:clamav-users-
>> boun...@lists.clamav.net] On Behalf Of Török Edwin
>> Sent: Thursday, April 01, 2010 11:25 AM
>>
>>> ERROR: check version mismatch!
>>> Version from header: 0.9.6
>>> Version from library: 0.9.5
>>> Make sure check.h and -lcheck are same version!
>> There's the problem: you have the headers from check 0.9.6 installed,
>> but the libraries from check 0.9.5.
>>
>> Make sure you don't have duplicate check packages on your system (like
>> one installed by your distribution into /usr, and one you installed
>> yourself in /usr/local).
>>
>> find /usr -name check.h
>> find /usr -name libcheck.a
>>
> 
> We had this (or a similar) problem in a previous release.  If I recall
> correctly, it was related to the system being 64-bit, and check stopped 
> looking
> for the 64-bit library once it found the 32-bit library.

Then it should have failed to link, and not report the version mismatch
at runtime.

> 
> # find /usr -name check.h
> /usr/include/check.h
> 
> # find /usr -name libcheck.a
> /usr/lib/libcheck.a
> /usr/lib64/libcheck.a
> 
> 
> I'm removing both versions, reinstalling only 64-bit, recompiling as we speak,
> and will report the results. 

OK.

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


Re: [Clamav-users] make check fails building 0.96

2010-04-01 Thread Jason Bertoch
> -Original Message-
> From: clamav-users-boun...@lists.clamav.net [mailto:clamav-users-
> boun...@lists.clamav.net] On Behalf Of Török Edwin
> Sent: Thursday, April 01, 2010 12:08 PM
> >
> > I'm removing both versions, reinstalling only 64-bit, recompiling as we 
> > speak, and will report the results.
> 

Although libcheck.a was removed between trials, there was a libcheck.so still
hanging around.

Thanks for the assistance, Torok.

/Jason

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