[clamav-users] Problem configuring clamav-0.99

Todd Aiken todd.aiken at ubishops.ca
Mon Dec 7 18:25:48 UTC 2015


-----Original Message-----


From: clamav-users <clamav-users-bounces at lists.clamav.net> on behalf of "atik at cerist.dz" <atik at cerist.dz>
Reply-To: ClamAV users ML <clamav-users at lists.clamav.net>
Date: Monday, December 7, 2015 at 12:25 PM
To: ClamAV users ML <clamav-users at lists.clamav.net>
Subject: Re: [clamav-users] Problem configuring clamav-0.99

>checking bzlib.h presence... yes
>checking for bzlib.h... yes
>checking for CVE-2008-1372... linkfailed
>configure: WARNING: ****** Unable to link bzip2 testcase
>configure: WARNING: ****** You may be affected by CVE-2008-1372 bug, but I
>need to be able to link a testcase to verify
>configure: WARNING: ****** It is recommended to fix your build environment
>so that we can run the testcase!
>configure: WARNING: ****** Please do not report stability problems to the
>ClamAV developers!
>checking for CVE-2010-0405... linkfailed
>configure: WARNING: ****** Unable to link bzip2 testcase
>configure: WARNING: ****** You may be affected by CVE-2010-0405 bug, but I
>need to be able to link a testcase to verify
>configure: WARNING: ****** It is recommended to fix your build environment
>so that we can run the testcase!
>configure: WARNING: ****** Please do not report stability problems to the
>ClamAV developers!
>checking for getaddrinfo... no

-snip-

>checking for type aligning via __attribute__((aligned))... yes
>checking that structure packing works... no
>configure: error: Structure packing seems to be available, but is not
>working with this compiler

I am having the exact same issue with trying to compile on an old Slackware server (running Slackware 10.2.0).  I had to install an updated version of pcre in order to get past a different compiling issue, and installed the new version to /usr/local/pcre with the configure parameter --prefix=/usr/local/pcre, but when I try to configure clamav-0.99 using --with-pcre=/usr/local/pcre, I get this same structure error.  Here is the full configure line I am using for clamav-0.99:

./configure --prefix=/usr --sysconfdir=/etc --disable-llvm --disable-ipv6 --with-openssl=/usr/local/ssl --with-pcre=/usr/local/pcre

Removing --with-pcre=/usr/local/pcre, configure completes successfully, but then I get this when I run make:

CC     libclamav_la-matcher-pcre.lo
matcher-pcre.c: In function `cli_pcre_scanbuf':
matcher-pcre.c:740: error: `PCRE_ERROR_RECURSIONLIMIT' undeclared (first use in this function)
matcher-pcre.c:740: error: (Each undeclared identifier is reported only once
matcher-pcre.c:740: error: for each function it appears in.)
make[4]: *** [libclamav_la-matcher-pcre.lo] Error 1
make[4]: Leaving directory `/usr/src/software/clamav-0.99/libclamav'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/software/clamav-0.99/libclamav'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/software/clamav-0.99/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/software/clamav-0.99'
make: *** [all] Error 2

(This is with PCRE version 6.4 that came with Slackware 10.2.0)

As with the original poster, clamav-0.98.7 compiled fine on this same server and is currently running there.


Thanks.


Todd A. Aiken
Systems Analyst & Administrator
ITS Department
BISHOP'S UNIVERSITY
2600 College Street
Sherbrooke, Quebec
CANADA   J1M 1Z7






More information about the clamav-users mailing list