Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-16 Thread Joel Esler (jesler)
On May 13, 2014, at 4:24 AM, Al Varnell mailto:alvarn...@mac.com>> wrote: On Tue, May 13, 2014 at 01:04 AM, James Lee wrote: (Please don't top post.) Please leave moderation functions to the moderators. There could possibly be a rule preventing it, but I’m unaware of any and there are example

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-13 Thread James Lee
On 13/05/2014 09:24, Al Varnell wrote: On Tue, May 13, 2014 at 01:04 AM, James Lee wrote: (Please don't top post.) Please leave moderation functions to the moderators. There could possibly be a rule preventing it, but I’m unaware of any and there are examples in this thread of Sourcefire con

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-13 Thread Al Varnell
On Tue, May 13, 2014 at 01:04 AM, James Lee wrote: > > (Please don't top post.) Please leave moderation functions to the moderators. There could possibly be a rule preventing it, but I’m unaware of any and there are examples in this thread of Sourcefire contributors top posting. For technica

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-13 Thread James Lee
On 12/05/2014 21:33, Lawrence K. Chen, P.Eng. wrote: So, what's the definitive answer. To what question? (Please don't top post.) The OP's question relating to "Can't allocate memory" has been answered. James. ___ Help us build a comprehensiv

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-12 Thread Lawrence K. Chen, P.Eng.
So, what's the definitive answer. I gave up late Friday night on getting it working on Solaris for the weekend maintenance window. Though the last thing I tried was to force "-D__EXTENSIONS__" in...and caught a glimpse of it finally finishing its compile as I was securing my workstation. I a

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-12 Thread Martin Preen
James Lee wrote: On 10/05/2014 17:34, Shawn Webb wrote: Hello, The attached two patches will make building (with gcc) I'm not but.. and running on Solaris work. when using gcc configure sets HAVE_ATTRIB_PACKED=1 and the problem doesn't exist, ie, no patch is needed for gcc. In fact no pa

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-10 Thread James Lee
On 10/05/2014 17:34, Shawn Webb wrote: Hello, The attached two patches will make building (with gcc) I'm not but.. and running on Solaris work. when using gcc configure sets HAVE_ATTRIB_PACKED=1 and the problem doesn't exist, ie, no patch is needed for gcc. In fact no patches need for c

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-10 Thread Shawn Webb
Hey All, The attached two patches will make building (with gcc) and running on Solaris work. I've also pasted them to the below linked sites in case the attachments don't go through. The patches ought to be applied in order. Patch 1: http://ix.io/ceV (001-clamav-solaris.patch) Patch 2: http://ix.

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-10 Thread James Lee
On 10/05/2014 11:22, James Lee wrote: I think it is intended to call this via cl_initialize_crypto(), except it's not called. "__attribute__((constructor))" works, compiler tested, but not here. ... Please don't take this as final, it's just a hint towards the problem. Indeed it's the usual

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-10 Thread James Lee
May 8 07:44:31 mailhost freshclam[3924]: [ID 702911 mail.error] Verification: Can't allocate memory "Can't allocate memory" is the wrong message; it's not short of memory. The problem is failure to initialise openssl by calling OpenSSL_add_all_digests() resulting in EVP_get_digestbyname()

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-09 Thread James Lee
On 09/05/2014 14:56, Joel Esler (jesler) wrote: Hello, Don't get over excited about Sparc, freshclam has the same problem on i386 Solaris. ... May 8 07:41:13 mailhost freshclam[3924]: [ID 702911 mail.info] freshclam daemon 0.98.3 (OS: solaris2.10, ARCH: i386, CPU: i386) May 8 07:41:13 mai

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-09 Thread Martin Preen
Lars Hecking wrote: I've been building with static openssl for a while as well, and am still using gcc 3.4.6 as I couldn't get newer versions to compile - although it seems possible, and I'll try again; maybe using gcc 4.7 or 4.6. Well, 4.7.3 doesn't build for me. Trying 4.6.4 now. Us

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-09 Thread Joel Esler (jesler)
On May 8, 2014, at 12:50 PM, Dennis Peterson mailto:denni...@inetnw.com>> wrote: On 5/8/14, 9:00 AM, Dennis Peterson wrote: On 5/8/14, 8:23 AM, Shawn Webb wrote: Hey Martin, Is there a way you can get to me main.cvd.broken? I'm wondering if the change to OpenSSL for hashing has somehow changed p

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-09 Thread Joel Esler (jesler)
On May 8, 2014, at 12:00 PM, Dennis Peterson mailto:denni...@inetnw.com>> wrote: On 5/8/14, 8:23 AM, Shawn Webb wrote: Hey Martin, Is there a way you can get to me main.cvd.broken? I'm wondering if the change to OpenSSL for hashing has somehow changed parsing CVDs and CLDs on big-endian machines

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-08 Thread Dennis Peterson
On 5/8/14, 9:00 AM, Dennis Peterson wrote: On 5/8/14, 8:23 AM, Shawn Webb wrote: Hey Martin, Is there a way you can get to me main.cvd.broken? I'm wondering if the change to OpenSSL for hashing has somehow changed parsing CVDs and CLDs on big-endian machines running Solaris. I thoroughly teste

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-08 Thread Pierre Dehaen
On 8 May 2014 at 11:23, Shawn Webb wrote: > On Thu, May 8, 2014 at 11:13 AM, Martin Preen < > Is there a way you can get to me main.cvd.broken? I'm wondering if the > change to OpenSSL for hashing has somehow changed parsing CVDs and CLDs on > big-endian machines running Solaris. I thoroughly test

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-08 Thread Peter Bonivart
On Thu, May 8, 2014 at 5:23 PM, Shawn Webb wrote: > I can install Solaris on this sparc64 machine as early as next week. OpenCSW provides a complete Solaris build farm if you're interested, we used to host automatic builds for ClamAV before Sourcefire aquired it. http://www.opencsw.org/extend-it

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-08 Thread Dennis Peterson
On 5/8/14, 8:23 AM, Shawn Webb wrote: Hey Martin, Is there a way you can get to me main.cvd.broken? I'm wondering if the change to OpenSSL for hashing has somehow changed parsing CVDs and CLDs on big-endian machines running Solaris. I thoroughly tested the code on a sparc64 machine (an old SunF

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-08 Thread Martin Preen
Shawn Webb wrote: On Thu, May 8, 2014 at 11:13 AM, Martin Preen < pr...@informatik.uni-freiburg.de> wrote: Hello, after building 0.98.3 on Solaris 10 (Sparc) I got some error messages from freshclam. The first run: ERROR: Corrupted database file /var/clamav/main.cvd: Can't allocate memory Cor

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-08 Thread Martin Preen
Shawn Webb wrote: On Thu, May 8, 2014 at 11:13 AM, Martin Preen < pr...@informatik.uni-freiburg.de> wrote: Hello, after building 0.98.3 on Solaris 10 (Sparc) I got some error messages from freshclam. The first run: ERROR: Corrupted database file /var/clamav/main.cvd: Can't allocate memory Cor

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-08 Thread Shawn Webb
On Thu, May 8, 2014 at 11:13 AM, Martin Preen < pr...@informatik.uni-freiburg.de> wrote: > Hello, > after building 0.98.3 on Solaris 10 (Sparc) I got some error > messages from freshclam. > > The first run: > > ERROR: Corrupted database file /var/clamav/main.cvd: Can't allocate memory > Corrupted