Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: users

clamav 0.95.3 doesn't make on Fedora Core 10

 

 

ClamAV users RSS feed   Index | Next | Previous | View Threaded


georgek at netwrx1

Oct 30, 2009, 5:00 PM

Post #1 of 3 (854 views)
Permalink
clamav 0.95.3 doesn't make on Fedora Core 10

./configure runs fine but fails make here:

/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I.. -I./nsis -I./lzma -I../libltdl -DWARN_DLOPEN_FAIL
-DSEARCH_LIBDIR=\"/usr/local/lib\" -g -O2 -fno-strict-aliasing -MT
libclamav_la-matcher-ac.lo -MD -MP -MF
.deps/libclamav_la-matcher-ac.Tpo -c -o libclamav_la-matcher-ac.lo
`test -f 'matcher-ac.c' || echo './'`matcher-ac.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma
-I../libltdl -DWARN_DLOPEN_FAIL -DSEARCH_LIBDIR=\"/usr/local/lib\" -g
-O2 -fno-strict-aliasing -MT libclamav_la-matcher-ac.lo -MD -MP -MF
.deps/libclamav_la-matcher-ac.Tpo -c matcher-ac.c -fPIC -DPIC -o
.libs/libclamav_la-matcher-ac.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma
-I../libltdl -DWARN_DLOPEN_FAIL -DSEARCH_LIBDIR=\"/usr/local/lib\" -g
-O2 -fno-strict-aliasing -MT libclamav_la-matcher-ac.lo -MD -MP -MF
.deps/libclamav_la-matcher-ac.Tpo -c matcher-ac.c -o
libclamav_la-matcher-ac.o >/dev/null 2>&1
mv -f .deps/libclamav_la-matcher-ac.Tpo
.deps/libclamav_la-matcher-ac.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I.. -I./nsis -I./lzma -I../libltdl -DWARN_DLOPEN_FAIL
-DSEARCH_LIBDIR=\"/usr/local/lib\" -g -O2 -fno-strict-aliasing -MT
libclamav_la-matcher-bm.lo -MD -MP -MF
.deps/libclamav_la-matcher-bm.Tpo -c -o libclamav_la-matcher-bm.lo
`test -f 'matcher-bm.c' || echo './'`matcher-bm.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma
-I../libltdl -DWARN_DLOPEN_FAIL -DSEARCH_LIBDIR=\"/usr/local/lib\" -g
-O2 -fno-strict-aliasing -MT libclamav_la-matcher-bm.lo -MD -MP -MF
.deps/libclamav_la-matcher-bm.Tpo -c matcher-bm.c -fPIC -DPIC -o
.libs/libclamav_la-matcher-bm.o
In file included from matcher.h:28,
from others.h:21,
from matcher-bm.c:29:
others.h: In function ‘cli_getpagesize’:
others.h:363: error: ‘_SC_PAGESIZE’ undeclared (first use in this
function)
others.h:363: error: (Each undeclared identifier is reported only once
others.h:363: error: for each function it appears in.)
make[4]: *** [libclamav_la-matcher-bm.lo] Error 1
make[4]: Leaving directory
`/home2/Linux-Software/clamav-0.95.3/libclamav'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home2/Linux-Software/clamav-0.95.3/libclamav'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home2/Linux-Software/clamav-0.95.3/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home2/Linux-Software/clamav-0.95.3'
make: *** [all] Error 2


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


georgek at netwrx1

Oct 30, 2009, 8:45 PM

Post #2 of 3 (800 views)
Permalink
Re: clamav 0.95.3 doesn't make on Fedora Core 10 [In reply to]

>On Fri, 30 Oct 2009 19:00:57 -0500, you wrote:

>./configure runs fine but fails make here:
>
>/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
>-I.. -I.. -I./nsis -I./lzma -I../libltdl -DWARN_DLOPEN_FAIL
>-DSEARCH_LIBDIR=\"/usr/local/lib\" -g -O2 -fno-strict-aliasing -MT
>libclamav_la-matcher-ac.lo -MD -MP -MF
>.deps/libclamav_la-matcher-ac.Tpo -c -o libclamav_la-matcher-ac.lo
>`test -f 'matcher-ac.c' || echo './'`matcher-ac.c
>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma
>-I../libltdl -DWARN_DLOPEN_FAIL -DSEARCH_LIBDIR=\"/usr/local/lib\" -g
>-O2 -fno-strict-aliasing -MT libclamav_la-matcher-ac.lo -MD -MP -MF
>.deps/libclamav_la-matcher-ac.Tpo -c matcher-ac.c -fPIC -DPIC -o
>.libs/libclamav_la-matcher-ac.o
>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma
>-I../libltdl -DWARN_DLOPEN_FAIL -DSEARCH_LIBDIR=\"/usr/local/lib\" -g
>-O2 -fno-strict-aliasing -MT libclamav_la-matcher-ac.lo -MD -MP -MF
>.deps/libclamav_la-matcher-ac.Tpo -c matcher-ac.c -o
>libclamav_la-matcher-ac.o >/dev/null 2>&1
>mv -f .deps/libclamav_la-matcher-ac.Tpo
>.deps/libclamav_la-matcher-ac.Plo
>/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
>-I.. -I.. -I./nsis -I./lzma -I../libltdl -DWARN_DLOPEN_FAIL
>-DSEARCH_LIBDIR=\"/usr/local/lib\" -g -O2 -fno-strict-aliasing -MT
>libclamav_la-matcher-bm.lo -MD -MP -MF
>.deps/libclamav_la-matcher-bm.Tpo -c -o libclamav_la-matcher-bm.lo
>`test -f 'matcher-bm.c' || echo './'`matcher-bm.c
>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma
>-I../libltdl -DWARN_DLOPEN_FAIL -DSEARCH_LIBDIR=\"/usr/local/lib\" -g
>-O2 -fno-strict-aliasing -MT libclamav_la-matcher-bm.lo -MD -MP -MF
>.deps/libclamav_la-matcher-bm.Tpo -c matcher-bm.c -fPIC -DPIC -o
>.libs/libclamav_la-matcher-bm.o
>In file included from matcher.h:28,
> from others.h:21,
> from matcher-bm.c:29:
>others.h: In function ‘cli_getpagesize’:
>others.h:363: error: ‘_SC_PAGESIZE’ undeclared (first use in this
>function)
>others.h:363: error: (Each undeclared identifier is reported only once
>others.h:363: error: for each function it appears in.)
>make[4]: *** [libclamav_la-matcher-bm.lo] Error 1
>make[4]: Leaving directory
>`/home2/Linux-Software/clamav-0.95.3/libclamav'
>make[3]: *** [all-recursive] Error 1
>make[3]: Leaving directory
>`/home2/Linux-Software/clamav-0.95.3/libclamav'
>make[2]: *** [all] Error 2
>make[2]: Leaving directory
>`/home2/Linux-Software/clamav-0.95.3/libclamav'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/home2/Linux-Software/clamav-0.95.3'
>make: *** [all] Error 2


I saw the following post on the web but somehow not the mailing list
regarding the above:

From: Török Edwin <edwintorok(at)gmail.com>
Date: Thu Oct 29 2009 - 10:29:42 EDT

That is another issue, it is fixed by the patch I posted in another
thread. Here it is again:
http://git.clamav.net/gitweb?p=clamav-devel.git;a=commitdiff_plain;h=6238a5ca06c07931b2f6ace62601ef43807df8e2;hp=55d97736bd289b53c93b652d88e5acd1886ec1bc

Best regards,
--Edwin

How would one apply this patch and would it do any good in my case as
I HAVE git installed.

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


georgek at netwrx1

Oct 30, 2009, 9:29 PM

Post #3 of 3 (798 views)
Permalink
Re: clamav 0.95.3 doesn't make on Fedora Core 10 [In reply to]

>On Fri, 30 Oct 2009 22:45:08 -0500, you wrote:

>>On Fri, 30 Oct 2009 19:00:57 -0500, you wrote:
>
>>./configure runs fine but fails make here:
>>
>>/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
>>-I.. -I.. -I./nsis -I./lzma -I../libltdl -DWARN_DLOPEN_FAIL
>>-DSEARCH_LIBDIR=\"/usr/local/lib\" -g -O2 -fno-strict-aliasing -MT
>>libclamav_la-matcher-ac.lo -MD -MP -MF
>>.deps/libclamav_la-matcher-ac.Tpo -c -o libclamav_la-matcher-ac.lo
>>`test -f 'matcher-ac.c' || echo './'`matcher-ac.c
>>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma
>>-I../libltdl -DWARN_DLOPEN_FAIL -DSEARCH_LIBDIR=\"/usr/local/lib\" -g
>>-O2 -fno-strict-aliasing -MT libclamav_la-matcher-ac.lo -MD -MP -MF
>>.deps/libclamav_la-matcher-ac.Tpo -c matcher-ac.c -fPIC -DPIC -o
>>.libs/libclamav_la-matcher-ac.o
>>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma
>>-I../libltdl -DWARN_DLOPEN_FAIL -DSEARCH_LIBDIR=\"/usr/local/lib\" -g
>>-O2 -fno-strict-aliasing -MT libclamav_la-matcher-ac.lo -MD -MP -MF
>>.deps/libclamav_la-matcher-ac.Tpo -c matcher-ac.c -o
>>libclamav_la-matcher-ac.o >/dev/null 2>&1
>>mv -f .deps/libclamav_la-matcher-ac.Tpo
>>.deps/libclamav_la-matcher-ac.Plo
>>/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
>>-I.. -I.. -I./nsis -I./lzma -I../libltdl -DWARN_DLOPEN_FAIL
>>-DSEARCH_LIBDIR=\"/usr/local/lib\" -g -O2 -fno-strict-aliasing -MT
>>libclamav_la-matcher-bm.lo -MD -MP -MF
>>.deps/libclamav_la-matcher-bm.Tpo -c -o libclamav_la-matcher-bm.lo
>>`test -f 'matcher-bm.c' || echo './'`matcher-bm.c
>>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma
>>-I../libltdl -DWARN_DLOPEN_FAIL -DSEARCH_LIBDIR=\"/usr/local/lib\" -g
>>-O2 -fno-strict-aliasing -MT libclamav_la-matcher-bm.lo -MD -MP -MF
>>.deps/libclamav_la-matcher-bm.Tpo -c matcher-bm.c -fPIC -DPIC -o
>>.libs/libclamav_la-matcher-bm.o
>>In file included from matcher.h:28,
>> from others.h:21,
>> from matcher-bm.c:29:
>>others.h: In function ‘cli_getpagesize’:
>>others.h:363: error: ‘_SC_PAGESIZE’ undeclared (first use in this
>>function)
>>others.h:363: error: (Each undeclared identifier is reported only once
>>others.h:363: error: for each function it appears in.)
>>make[4]: *** [libclamav_la-matcher-bm.lo] Error 1
>>make[4]: Leaving directory
>>`/home2/Linux-Software/clamav-0.95.3/libclamav'
>>make[3]: *** [all-recursive] Error 1
>>make[3]: Leaving directory
>>`/home2/Linux-Software/clamav-0.95.3/libclamav'
>>make[2]: *** [all] Error 2
>>make[2]: Leaving directory
>>`/home2/Linux-Software/clamav-0.95.3/libclamav'
>>make[1]: *** [all-recursive] Error 1
>>make[1]: Leaving directory `/home2/Linux-Software/clamav-0.95.3'
>>make: *** [all] Error 2
>
>
>I saw the following post on the web but somehow not the mailing list
>regarding the above:
>
>From: Török Edwin <edwintorok(at)gmail.com>
>Date: Thu Oct 29 2009 - 10:29:42 EDT
>
>That is another issue, it is fixed by the patch I posted in another
>thread. Here it is again:
>http://git.clamav.net/gitweb?p=clamav-devel.git;a=commitdiff_plain;h=6238a5ca06c07931b2f6ace62601ef43807df8e2;hp=55d97736bd289b53c93b652d88e5acd1886ec1bc
>
>Best regards,
>--Edwin
>
>How would one apply this patch and would it do any good in my case as
>I HAVE git installed.
>


Never mind.....Found the patch at the above URL, copied the text to a
file and got it applied with

patch -p1 < patch-0.95.3

and reran configure, make and make install without any problems.

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

ClamAV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.