>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@netwrx1.com
ICQ #12862186
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml