Re: [Clamav-users] Problems installing 0.95.3

2009-11-08 Thread jef moskot

On Sun, 8 Nov 2009, Török Edwin wrote:

You should apply the patch with:
patch -p1 

Ah, thank you!  The "-p1" was the necessary voodoo.

It wasn't on the download page or on the Bug #1737 page, which is where 
you are directed for more information.


I didn't think to look on the wiki.  It might be worth moving that line up 
to the download page, just to be a bit more helpful.


Thanks again.

Jeffrey Moskot
System Administrator
j...@math.miami.edu___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Re: [Clamav-users] Problems installing 0.95.3

2009-11-08 Thread Török Edwin
On 2009-11-08 00:58, jef moskot wrote:
> Will a patched version of the installation package be made publically
> available?  We don't have git installed and there are many system
> complaints when a patch attempt is made.  (Maybe due to the "--git"
> option in the diff lines?)
>
> Installing git didn't make the error magically go away, and rather
> than starting a whole new line of investigation, I thought it'd be
> worthwhile to ask if a clean version will be available soon.
>
> Alternately, a "regular" patch file would presumably also do the job. 
> I have no idea what "regular" would mean in this context.  We use
> FreeBSD 7.1, so that colors my conception of what "regular" is, but
> other patches work fine.
>
> I apologize for my ignorance and/or if this is a stupid request.
>
>

You should apply the patch with:
patch -p1 https://wiki.clamav.net/bin/view/Main/UpgradeNotes0953

Best regards,
--Edwin



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


Re: [Clamav-users] Problems installing 0.95.3

2009-11-07 Thread jef moskot
Will a patched version of the installation package be made publically 
available?  We don't have git installed and there are many system 
complaints when a patch attempt is made.  (Maybe due to the "--git" option 
in the diff lines?)


Installing git didn't make the error magically go away, and rather than 
starting a whole new line of investigation, I thought it'd be worthwhile 
to ask if a clean version will be available soon.


Alternately, a "regular" patch file would presumably also do the job.  I 
have no idea what "regular" would mean in this context.  We use FreeBSD 
7.1, so that colors my conception of what "regular" is, but other patches 
work fine.


I apologize for my ignorance and/or if this is a stupid request.

Jeffrey Moskot
System Administrator
j...@math.miami.edu
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] Problems installing 0.95.3

2009-10-29 Thread dborg
clamav-0.95.3 now compiles and installs on FreeBSD 7.0 after applying the patch.

http://git.clamav.net/gitweb?p=clamav-devel.git;a=commitdiff_plain;h=6238a5ca06c07931b2f6ace62601ef43807df8e2;hp=55d97736bd289b53c93b652d88e5acd1886ec1bc

Thanks very much to everyone for your help.

Regards,

Daniel



This email was sent from Netspace Webmail: http://www.netspace.net.au

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


Re: [Clamav-users] Problems installing 0.95.3

2009-10-29 Thread Rick Cooper
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 11:02 AM To: ClamAV users ML
Subject: Re: [Clamav-users] Problems installing 0.95.3

> Bug #1738 raised.


Sorry about that I just got back to where I could pickup the thread again,
thanks



> 
> FAS
> 
> Török Edwin wrote:
>> On 2009-10-29 15:37, 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.
>>> 
>> 
>> Can you open a bug at bugs.clamav.net so we can track this?
>> 
>> 
>> Best regards,
>> --Edwin
>> ___
>> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
>> http://www.clamav.net/support/ml
> ___
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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


Re: [Clamav-users] Problems installing 0.95.3

2009-10-29 Thread Francis Stevens

Bug #1738 raised.

FAS

Török Edwin wrote:

On 2009-10-29 15:37, 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.
  


Can you open a bug at bugs.clamav.net so we can track this?


Best regards,
--Edwin
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

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


Re: [Clamav-users] Problems installing 0.95.3

2009-10-29 Thread Bill Landry
Török Edwin wrote:
> On 2009-10-29 16:33, Bill Landry wrote:
>> Török Edwin wrote:
>>   
>>> On 2009-10-29 16:27, Bill Landry wrote:
>>> 
 That didn't resolve the issue for me on Fedora 10.  Here is my configure
 entry:

   
   
>>> 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
>>> 
>> I'll give that a try, but I do already have the latest version of git
>> installed:
>>
>> yum install git
>>
>> Package git-1.6.0.6-4.fc10.i386 already installed and latest version
>>
>>   
> 
> It includes the _SC_PAGESIZE fix too, its a combined diff for 2 commits
> (unfortunately it only shows the log message of the first one).

Builds and installs cleanly on Fedora 10 with the patch.

Thanks,

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


Re: [Clamav-users] Problems installing 0.95.3

2009-10-29 Thread Török Edwin
On 2009-10-29 16:33, Bill Landry wrote:
> Török Edwin wrote:
>   
>> On 2009-10-29 16:27, Bill Landry wrote:
>> 
>>> That didn't resolve the issue for me on Fedora 10.  Here is my configure
>>> entry:
>>>
>>>   
>>>   
>> 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
>> 
>
> I'll give that a try, but I do already have the latest version of git
> installed:
>
> yum install git
>
> Package git-1.6.0.6-4.fc10.i386 already installed and latest version
>
>   

It includes the _SC_PAGESIZE fix too, its a combined diff for 2 commits
(unfortunately it only shows the log message of the first one).

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


Re: [Clamav-users] Problems installing 0.95.3

2009-10-29 Thread Francis Stevens

Rick,

Thank's for that, it has fixed my install problem. Will you raise the 
bug report or should I?


FAS

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


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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

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


Re: [Clamav-users] Problems installing 0.95.3

2009-10-29 Thread Bill Landry
Török Edwin wrote:
> On 2009-10-29 16:27, Bill Landry wrote:
>> That didn't resolve the issue for me on Fedora 10.  Here is my configure
>> entry:
>>
>>   
> 
> 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

I'll give that a try, but I do already have the latest version of git
installed:

yum install git

Package git-1.6.0.6-4.fc10.i386 already installed and latest version

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


Re: [Clamav-users] Problems installing 0.95.3

2009-10-29 Thread Bill Landry
Bill Landry wrote:
> 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

Oops, never mind, I see you set "--libdir".  Haven't tried that yet...

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


Re: [Clamav-users] Problems installing 0.95.3

2009-10-29 Thread Török Edwin
On 2009-10-29 16:27, Bill Landry wrote:
> That didn't resolve the issue for me on Fedora 10.  Here is my configure
> entry:
>
>   

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
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] Problems installing 0.95.3

2009-10-29 Thread Bill Landry
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


Re: [Clamav-users] Problems installing 0.95.3

2009-10-29 Thread Török Edwin
On 2009-10-29 15:37, 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.
>   

Can you open a bug at bugs.clamav.net so we can track this?


Best regards,
--Edwin
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] Problems installing 0.95.3

2009-10-29 Thread Rick Cooper
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


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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


Re: [Clamav-users] Problems installing 0.95.3

2009-10-29 Thread Francis Stevens



Török Edwin wrote:

On 2009-10-29 12:42, Francis Stevens wrote:

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"


Which RedHat version, is it a RHEL?


It's an old system based on Redhat 7.2 but with a new kernel and some 
updated libraries.








It looks like a mismatch between the prefix specified during configure,
and the prefix specified during make install.
Perhaps it is a mismatch between /usr/local/lib and /usr/local/lib64.
What is the exact command-line you used to invoke configure?


./configure -sysconfdir=/etc \
-with-user=vscan \
-with-group=vscan \


What is the exact command-line used for make and make install?


make

make install



What does this command output:
grep libdir libclamav/*.la


[r...@charlie clamav-0.95.3]# grep libdir libclamav/*.la
libclamav/libclamav.la:libdir='/usr/local/lib/'
libclamav/libclamav_internal_utils.la:libdir=''
libclamav/libclamav_internal_utils_nothreads.la:libdir=''
libclamav/libclamunrar.la:libdir='/usr/local/lib/'
libclamav/libclamunrar_iface.la:libdir='/usr/local/lib/'
[r...@charlie clamav-0.95.3]#


FAS


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


Re: [Clamav-users] Problems installing 0.95.3

2009-10-29 Thread Török Edwin
On 2009-10-29 12:42, Francis Stevens wrote:
> 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"

Which RedHat version, is it a RHEL?

>
> 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:
>

It looks like a mismatch between the prefix specified during configure,
and the prefix specified during make install.
Perhaps it is a mismatch between /usr/local/lib and /usr/local/lib64.
What is the exact command-line you used to invoke configure?
What is the exact command-line used for make and make install?

What does this command output:
grep libdir libclamav/*.la

Best regards,
--Edwin
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] Problems installing 0.95.3

2009-10-29 Thread Francis Stevens

some progress...

I have copied the Makefile from libclamav/ for 0.95.2 to replace the 
Makefile in the same folder for 0.95.3 and the "make install" now works 
without error, but what I can't be sure of since I messed with the 
Makefile is that everything is installed properly...


FAS

Francis Stevens wrote:
This may be misleading but the corresponding snippet from the "make 
install" for 0.95.2 is:


make[3]: Entering directory `/root/email/clamav-0.95.2/libclamav/lzma'
make[4]: Entering directory `/root/email/clamav-0.95.2/libclamav/lzma'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/email/clamav-0.95.2/libclamav/lzma'
make[3]: Leaving directory `/root/email/clamav-0.95.2/libclamav/lzma'
Making install in .
make[3]: Entering directory `/root/email/clamav-0.95.2/libclamav'
make[4]: Entering directory `/root/email/clamav-0.95.2/libclamav'
test -z "/usr/local/lib/" || /bin/mkdir -p "/usr/local/lib/"
 /bin/sh ../libtool   --mode=install /usr/bin/install -c 
'libclamunrar.la' '/usr/local/lib//libclamunrar.la'
libtool: install: /usr/bin/install -c .libs/libclamunrar.so.6.0.4 
/usr/local/lib//libclamunrar.so.6.0.4
libtool: install: (cd /usr/local/lib/ && { ln -s -f 
libclamunrar.so.6.0.4 libclamunrar.so.6 || { rm -f libclamunrar.so.6 && 
ln -s libclamunrar.so.6.0.4 libclamunrar.so.6; }; })
libtool: install: (cd /usr/local/lib/ && { ln -s -f 
libclamunrar.so.6.0.4 libclamunrar.so || { rm -f libclamunrar.so && ln 
-s libclamunrar.so.6.0.4 libclamunrar.so; }; })

libt

see that the call to libtool has a different argument list, in the case 
of 0.95.2 only libclamunrar.la whereas for 0.95.3 it is libclamunrar.la
libclamunrar_iface.la libclamav.la. For 0.95.2 the second two libraries 
are installed individually, is it this bundling that is causing the 
problem? If only I understood advanced Makefiles I might stand a chance 
of making this change...


FAS

Francis Stevens wrote:
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?

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

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

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


Re: [Clamav-users] Problems installing 0.95.3

2009-10-29 Thread Francis Stevens
This may be misleading but the corresponding snippet from the "make 
install" for 0.95.2 is:


make[3]: Entering directory `/root/email/clamav-0.95.2/libclamav/lzma'
make[4]: Entering directory `/root/email/clamav-0.95.2/libclamav/lzma'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/email/clamav-0.95.2/libclamav/lzma'
make[3]: Leaving directory `/root/email/clamav-0.95.2/libclamav/lzma'
Making install in .
make[3]: Entering directory `/root/email/clamav-0.95.2/libclamav'
make[4]: Entering directory `/root/email/clamav-0.95.2/libclamav'
test -z "/usr/local/lib/" || /bin/mkdir -p "/usr/local/lib/"
 /bin/sh ../libtool   --mode=install /usr/bin/install -c 
'libclamunrar.la' '/usr/local/lib//libclamunrar.la'
libtool: install: /usr/bin/install -c .libs/libclamunrar.so.6.0.4 
/usr/local/lib//libclamunrar.so.6.0.4
libtool: install: (cd /usr/local/lib/ && { ln -s -f 
libclamunrar.so.6.0.4 libclamunrar.so.6 || { rm -f libclamunrar.so.6 && 
ln -s libclamunrar.so.6.0.4 libclamunrar.so.6; }; })
libtool: install: (cd /usr/local/lib/ && { ln -s -f 
libclamunrar.so.6.0.4 libclamunrar.so || { rm -f libclamunrar.so && ln 
-s libclamunrar.so.6.0.4 libclamunrar.so; }; })

libt

see that the call to libtool has a different argument list, in the case 
of 0.95.2 only libclamunrar.la whereas for 0.95.3 it is libclamunrar.la
libclamunrar_iface.la libclamav.la. For 0.95.2 the second two libraries 
are installed individually, is it this bundling that is causing the 
problem? If only I understood advanced Makefiles I might stand a chance 
of making this change...


FAS

Francis Stevens wrote:
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?

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

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