HI Steve/Todd

i did it, of course by the help of mister Steve

1)   i have installed the latest pcre  from source pcre-8.36.tar.gz

2) find / -name libpcre.so.1 -print   ,  i found it in
(/usr/local/lib/libpcre.so.1) path

3) export LD_LIBRARY_PATH=/usr/local/lib

and i' ve launched the configuration

(./configure --disable-llvm --enable-check --enable-clamdtop
--with-user=clamav --with-group=clamav --enable-experimental ) my
configuration


(and bingo no errors)

( this could eventually help for the case of mister Todd)
thank you so much Steve/Todd  bye
--

ali atik


> HI Steve, thanks for your reply.
>
> I did install a new version of PCRE to the directory /usr/local/pcre
> (configured it with --prefix=/usr/local/prce so as to not interfere with
> the older installed pcre), and told clamav's configure to use it with the
> line --with-pcre=/usr/local/pcre.  This is what got me to the "configure:
> error: Structure packing seems to be available, but is not working with
> this compiler", which is the same issue that ali atik is having.
>
>
>
> Todd A. Aiken
> Systems Analyst & Administrator
> ITS Department
> BISHOP'S UNIVERSITY
> 2600 College Street
> Sherbrooke, Quebec
> CANADA   J1M 1Z7
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: clamav-users <clamav-users-boun...@lists.clamav.net> on behalf of
> Steven Morgan <smor...@sourcefire.com>
> Reply-To: ClamAV users ML <clamav-users@lists.clamav.net>
> Date: Wednesday, December 16, 2015 at 2:43 PM
> To: ClamAV users ML <clamav-users@lists.clamav.net>
> Subject: Re: [clamav-users] Problem configuring clamav-0.99
>
>>Todd,
>>
>>PCRE support is new in ClamAV 0.99 and ./configure looks for it by
>> default.
>>So in your case it found an old version of pcre which is incompatible
>> with
>>ClamAV 0.99. Minimum PCRE version checks have been added for the upcoming
>>0.99.1 release. For installing 0.99 on your system, you will either need
>> to
>>use './configure --with-pcre=no ...' or install a more current version of
>>PCRE.
>>
>>Steve
>>
>>On Mon, Dec 7, 2015 at 1:25 PM, Todd Aiken <todd.ai...@ubishops.ca>
>> wrote:
>>
>>> -----Original Message-----
>>>
>>>
>>> From: clamav-users <clamav-users-boun...@lists.clamav.net> on behalf of
>>> "
>>> a...@cerist.dz" <a...@cerist.dz>
>>> Reply-To: ClamAV users ML <clamav-users@lists.clamav.net>
>>> Date: Monday, December 7, 2015 at 12:25 PM
>>> To: ClamAV users ML <clamav-users@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.
>>>
> _______________________________________________
> 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

Reply via email to