Rick Cooper wrote:
> ----Original Message----
> From: clamav-users-boun...@lists.clamav.net
> [mailto:clamav-users-boun...@lists.clamav.net] On Behalf Of Francis Stevens
> Sent: Thursday, October 29, 2009 6:43 AM To: ClamAV users ML
> Subject: [Clamav-users] Problems installing 0.95.3
> 
>> I'm trying to install 0.95.3 on a RedHat system currently running 0.95.2
>> and am getting the following error from "make install"
>>
>> make[4]: Entering directory `/root/email/clamav-0.95.3/libclamav'
>> test -z "/usr/local/lib/" || /bin/mkdir -p "/usr/local/lib/"
>>   /bin/sh ../libtool   --mode=install /usr/bin/install -c
>> libclamunrar.la libclamunrar_iface.la libclamav.la '/usr/local/lib/'
>> libtool: install: /usr/bin/install -c .libs/libclamunrar.so.6.0.5
>> /usr/local/lib/libclamunrar.so.6.0.5
>> libtool: install: (cd /usr/local/lib && { ln -s -f libclamunrar.so.6.0.5
>> libclamunrar.so.6 || { rm -f libclamunrar.so.6 && ln -s
>> libclamunrar.so.6.0.5 libclamunrar.so.6; }; })
>> libtool: install: (cd /usr/local/lib && { ln -s -f libclamunrar.so.6.0.5
>> libclamunrar.so || { rm -f libclamunrar.so && ln -s
>> libclamunrar.so.6.0.5 libclamunrar.so; }; })
>> libtool: install: /usr/bin/install -c .libs/libclamunrar.lai
>> /usr/local/lib/libclamunrar.la
>> libtool: install: error: cannot install `libclamunrar_iface.la' to a
>> directory not ending in /usr/local/lib/
>> make[4]: *** [install-libLTLIBRARIES] Error 1
>> make[4]: Leaving directory `/root/email/clamav-0.95.3/libclamav'
>> make[3]: *** [install-am] Error 2
>> make[3]: Leaving directory `/root/email/clamav-0.95.3/libclamav'
>> make[2]: *** [install-recursive] Error 1
>> make[2]: Leaving directory `/root/email/clamav-0.95.3/libclamav'
>> make[1]: *** [install] Error 2
>> make[1]: Leaving directory `/root/email/clamav-0.95.3/libclamav'
>> make: *** [install-recursive] Error 1
>>
>> I can't make out why it is failing, after the failure /usr/local/lib
>> contains:
>>
>> libclamunrar.la
>> libclamunrar.so.6.0.5
>> libclamunrar.so
>> libclamunrar.so.6
>>
>> the "make" didn't return any errors and I can reinstall 0.95.2 without
>> problems (using "make install").
>>
>> Does anyone have any ideas what the problem might be?
> 
> 
> I got around this by adding --libdir=/usr/local/lib to the configure line.
> Yes that is the default but it did infact allow the install to complete
> correctly. This was not a problem in 0.95.2.
> 
> Rick

That didn't resolve the issue for me on Fedora 10.  Here is my configure
entry:

./configure --with-dbdir=/var/lib/clamav --with-user=amavis
--with-group=amavis

I still get the following during make:

In file included from matcher.h:29,
                 from others.h:22,
                 from matcher-bm.c:30:
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 `/home/bill/Download/clamav-0.95.3/libclamav'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/bill/Download/clamav-0.95.3/libclamav'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/bill/Download/clamav-0.95.3/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bill/Download/clamav-0.95.3'
make: *** [all] Error 2

Bill
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to