[Clamav-users] Building Mandriva 2009.1 RPMS
Last night I attempted to build the 0.95.3 RPMS for Mandriva 2009.1 and ran into a problem. I kept getting this error: 1 out of 1 hunk FAILED -- saving rejects to file clamav-milter/clamav-milter.c.rej error: Bad exit status from /home/chris/rpm/tmp/rpm-tmp.zGMW7n (%prep) The output of the above mentioned file is: @@ -287,7 +287,7 @@ int main(int argc, char **argv) { if((opt = optget(opts, "PidFile"))->enabled) { FILE *fd; - mode_t old_umask = umask(0006); + mode_t old_umask = umask(0022); if((fd = fopen(opt->strarg, "w")) == NULL) { logg("!Can't save PID in file %s\n", opt->strarg); A suggestion from Bill Randle set me straight and it's possible that others trying to build 0.95.3 for Mandriva have run into the same problem so I'll post a link to pastbin below where I've posted the updated clamav-0.95rc1-umask.patch which worked for me, please mind the path in the patch it's from my system so you'll be asked where to apply the patch. What we discovered is that in the clam-milter.c file for 95.2 there was this statement: - mode_t old_umask = umask(0006); and it was changed with the above patch to this + mode_t old_umask = umask(0022); in 0.95.3 the lines in the clam-milter.c file are different: if((opt = optget(opts, "PidFile"))->enabled) { FILE *fd; mode_t old_umask = umask(0002); thus I created a new patch with the following two lines: - mode_t old_umask = umask(0002); + mode_t old_umask = umask(0022); The link below is to the updated clamav-0.95rc1-umask.patch that I made last night. Note - I do not run the milter so I don't know whether or not it was built properly however the RPMs were built with no errors. http://pastebin.com/m46e62e61 The unofficial packages for 2009.1 are available at Bill's site http://www.neocat.org/ftp/pub/RPMS/2009.1/i586/ Chris -- KeyID 0xE372A7DA98E6705C signature.asc Description: This is a digitally signed message part ___ 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
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
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] Apparently Old .cld files block new .cvd updates. Security Fail ?
* Nathan Gibbs wrote: > OK, will do. > > Bug 1739. signature.asc Description: OpenPGP digital signature ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] Apparently Old .cld files block new .cvd updates. Security Fail ?
* Tomasz Kojm wrote: > On Thu, 29 Oct 2009 09:26:47 -0500 Nathan Gibbs > wrote: > >> In the process of rolling out the new 0.95.3 upgrade, we noticed >> several error messages about the virus DB's being out of date. >> This was odd as our clam engines update from a local mirror that >> pulls updates from the clamav infrastructure approx. every hour. >> Upon further investigation, the outdated DB showed up in our >> monitoring system and clamdtop. It appears that .cld files left >> over from before the switch to a local mirror took precedence over >> the newer .cvd files. > > The old .cld files don't take precedence, they get loaded together > with the new .cvd files. Ok, so we were running the newer cvd's although the engine was displaying the older DB info. > libclamav displays the outdated warning for each db separately. > Here are the warnings I got when manually restarted the clamd's after the upgrade. Oct 29 10:53:06 host1 clamd: LibClamAV Warning: ** Oct 29 10:53:06 host1 clamd: LibClamAV Warning: *** The virus database is older than 7 days! *** Oct 29 10:53:06 host1 clamd: LibClamAV Warning: *** Please update it as soon as possible.*** Oct 29 10:53:06 host1 clamd: LibClamAV Warning: ** It doesn't tell me where ( which file ) the problem is, just that I have one. I check the monitoring system to get more info and find. System Status Engine DB Date host1 Running 0.95.3 9874Thu Oct 8 06:24:12 2009 Stats for host1 are POOLS: 1 host2 Running 0.95.3 9959Thu Oct 8 06:24:12 2009 Stats for host2 are POOLS: 1 host3 Running 0.95.3 9959Thu Oct 8 06:24:12 2009 Stats for host3 are POOLS: 1 host4 Running 0.95.3 9959Thu Oct 29 02:55:08 2009 Stats for host4 are POOLS: 1 hostX Running 0.95.3 9961Thu Oct 8 06:24:12 2009 Stats for hostX are POOLS: 1 ... etc. host4 gets the updates from the clamav infrastructure. Everything else gets them from host4. At that point, things didn't look good. In summary, it looked really bad, but wasn't much of a big deal. I crapped my pants for nothing. Time to go change:-) LOL >> 2. Modify the freshclam software to delete main.cld & daily.cld if >> ScriptedUpdates is off. > > This can be done, please open a request at bugs.clamav.net > OK, will do. -- But there's no sense crying over every mistake. You just keep on trying till you run out of cake. And the Science gets done. And you make an income. For the people who are still alive. signature.asc Description: OpenPGP digital signature ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] [Bulk] Unable to compile clamav-0.95.3 on FreeBSD 6.2-RELEASE
On Thu, 29 Oct 2009 18:35:39 +0400 George Eliozov replied: > Hi, > Just try to update my Clam AV and receive problem, listed below, > Any ideas? "git: not found" - git? Unless there is some compelling reason that you must install from source, simply update your FreeBSD port's tree and install from there. Personally, I would use a ports manager like 'portmanager' to handle the job. Use it with the '-u -p -l -y' options, and everything will be updated correctly. Just my 2¢. -- Jerry ges...@yahoo.com |=== |=== |=== |=== | Wonderful day. Your hangover just makes it seem terrible. ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
[Clamav-users] Version: 0.95.3 now in FreeBSD ports tree
A simple heads up that both the 'clamav-0.95.3' and the 'clamav-devel-20091029' snapshot are now available in the FreeBSD ports system. -- Jerry ges...@yahoo.com |=== |=== |=== |=== | Computer programs expand so as to fill the core available. ___ 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
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
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
[Clamav-users] Unable to compile clamav-0.95.3 on FreeBSD 6.2-RELEASE
Hi, Just try to update my Clam AV and receive problem, listed below, Any ideas? "git: not found" - git? libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma -I../libltdl -DWARN_DLOPEN_FAIL -I/usr/local/include -I/usr/local/include -DSEARCH_LIBDIR=\"/usr/local/lib/elf\" -g -O2 -MT libclamav_la-uniq.lo -MD -MP -MF .deps/libclamav_la-uniq.Tpo -c uniq.c -o libclamav_la-uniq.o >/dev/null 2>&1 mv -f .deps/libclamav_la-uniq.Tpo .deps/libclamav_la-uniq.Plo git: not found *** Error code 127 Stop in /common/distrib/FreeBSD/configs/installscripts/antivirus/clamav/clamav-0.95. 3/libclamav. *** Error code 1 Stop in /common/distrib/FreeBSD/configs/installscripts/antivirus/clamav/clamav-0.95. 3/libclamav. *** Error code 1 Stop in /common/distrib/FreeBSD/configs/installscripts/antivirus/clamav/clamav-0.95. 3/libclamav. *** Error code 1 Stop in /common/distrib/FreeBSD/configs/installscripts/antivirus/clamav/clamav-0.95. 3. *** Error code 1 Stop in /common/distrib/FreeBSD/configs/installscripts/antivirus/clamav/clamav-0.95. 3. ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] Apparently Old .cld files block new .cvd updates. Security Fail ?
On Thu, 29 Oct 2009 09:26:47 -0500 Nathan Gibbs wrote: > In the process of rolling out the new 0.95.3 upgrade, we noticed several > error messages about the virus DB's being out of date. This was odd as > our clam engines update from a local mirror that pulls updates from the > clamav infrastructure approx. every hour. Upon further investigation, > the outdated DB showed up in our monitoring system and clamdtop. It > appears that .cld files left over from before the switch to a local > mirror took precedence over the newer .cvd files. The old .cld files don't take precedence, they get loaded together with the new .cvd files. libclamav displays the outdated warning for each db separately. > 2. Modify the freshclam software to delete main.cld & daily.cld if > ScriptedUpdates is off. This can be done, please open a request at bugs.clamav.net Thanks, -- oo. Tomasz Kojm (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg \..._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Thu Oct 29 15:38:44 CET 2009 ___ 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
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
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
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
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
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
[Clamav-users] Apparently Old .cld files block new .cvd updates. Security Fail ?
In the process of rolling out the new 0.95.3 upgrade, we noticed several error messages about the virus DB's being out of date. This was odd as our clam engines update from a local mirror that pulls updates from the clamav infrastructure approx. every hour. Upon further investigation, the outdated DB showed up in our monitoring system and clamdtop. It appears that .cld files left over from before the switch to a local mirror took precedence over the newer .cvd files. We set up our local mirror according to the faq in addition to getting some clarification on this list. This was a definite fail as follows. 1. Our clam engines ran for almost a month with outdated virus DB's. 2. We failed to notice. 3. The clam engines failed to notify us until manually restarted. Recommendations 1. At the least update the faq on local mirrors to say that .cld's should be manually removed. 2. Modify the freshclam software to delete main.cld & daily.cld if ScriptedUpdates is off. 3. Modify the clam engine to not load .cld's if a newer .cvd is present. Has anybody else run into this when switching to a local mirror? -- But there's no sense crying over every mistake. You just keep on trying till you run out of cake. And the Science gets done. And you make an income. For the people who are still alive. signature.asc Description: OpenPGP digital signature ___ 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
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
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
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
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] clamav-0.95.3 error at make state
On 2009-10-29 15:23, nikos wrote: > Hello list > I'm trying to install new version of clam on a fedora8 mail server and > when i run make I take the following errors: > > 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 `/root/Download/clamav-0.95.3/libclamav' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/root/Download/clamav-0.95.3/libclamav' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/root/Download/clamav-0.95.3/libclamav' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/Download/clamav-0.95.3' > make: *** [all] Error 2 > > The version of kernel is 2.6.26.8-57.fc8 and the system run 64bit fedora. > The previous version of clam clamav-0.95.2 run without problems > > Can somebody help me? > Apply this patch for now: 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
[Clamav-users] clamav-0.95.3 error at make state
Hello list I'm trying to install new version of clam on a fedora8 mail server and when i run make I take the following errors: 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 `/root/Download/clamav-0.95.3/libclamav' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/root/Download/clamav-0.95.3/libclamav' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/Download/clamav-0.95.3/libclamav' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/Download/clamav-0.95.3' make: *** [all] Error 2 The version of kernel is 2.6.26.8-57.fc8 and the system run 64bit fedora. The previous version of clam clamav-0.95.2 run without problems Can somebody help me? Thank you, Nikos ___ 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
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
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
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
[Clamav-users] clamav-0.95.3 on FreeBSD
I spoke too soon this morning. The FreeBSD clamav port maintainer just informed me that he has patches for the new version and is testing them now. Hopefully, it will be in the ports system shortly. -- Jerry ges...@yahoo.com |=== |=== |=== |=== | Let thy maid servant be faithful, strong, and homely. Benjamin Franklin ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] clamav-0.95.3 fails to compile in Fedora 10
On Thu, 29 Oct 2009 09:55:15 - (GMT), Steve Basford wrote > > Hi > > > > same Error on FreeBSD 4.10 > > This fix was added yesterday, so that might be the issue: > > http://git.clamav.net/gitweb?p=clamav-devel.git;a=commitdiff;h=e889924a70e881e0d74ade2b53b5255b94523161 > > ie: > > unistd.h - standard symbolic constants and types: > (int getpagesize(void); (LEGACY)) > > Cheers, > > Steve > Sanesecurity > > ___ > Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net > http://www.clamav.net/support/ml Yep. That did the trick. (I wonder why Fedora 11 didn't have the issue???) Anyway thanks for the input. -- Bill Maidment Maidment Enterprises Pty Ltd www.maidment.vu Consultant to Elgas Ltd Phone: 02 9904 3364 ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
[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? FAS ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] clamav-0.95.3 fails to compile in Fedora 10
> Hi > > same Error on FreeBSD 4.10 This fix was added yesterday, so that might be the issue: http://git.clamav.net/gitweb?p=clamav-devel.git;a=commitdiff;h=e889924a70e881e0d74ade2b53b5255b94523161 ie: unistd.h - standard symbolic constants and types: (int getpagesize(void); (LEGACY)) Cheers, Steve Sanesecurity ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] [Bulk] Problem compiling clamav-0.95.3 on FreeBSD 7.0
On Thu, 29 Oct 2009 12:41:34 +1100 db...@netspace.net.au db...@netspace.net.au replied: > Hoping someone can help with a problem I am having compiling > clamav-0.95.3 on FreeBSD 7.0 > > uname -a > FreeBSD mail-in2. 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun > Feb 24 19:59:52 UTC 2008 > r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > The server is pretty much all default with nothing special running on > it. > > I run ./configure as I have done many time before on version > upgrades... All goes well. Then on a make I get this. I use FreeBSD myself. Why are you attempting to compile it from source? It is available in the ports tree and installs without any problems. You could use a package manager like 'portmanager', my favorite, if you want to automate the process and insure that all dependencies were updated as needed. -- Jerry ges...@yahoo.com |=== |=== |=== |=== | Many people are secretly interested in life. ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] clamav-0.95.3 fails to compile in Fe dora 10
Hi same Error on FreeBSD 4.10 ./configure runs fine make produces the Error In file included from matcher.h:28, from others.h:21, from pe.c:40: others.h: In function `cli getpagesize': others.h:363: ` SC PAGESIZE' undeclared (first use in this function) others.h:363: (Each undeclared identifier is reported only once others.h:363: for each function it appears in.) - Original Message - From: b...@maidment.vu To: clamav-users@lists.clamav.net Sent: Thu, 29 Oct 2009 09:04:18 Subject: [Clamav-users] clamav-0.95.3 fails to compile in Fedora 10 Hi The new 0.95.3 fails to compile in Fedora 10, but does compile OK in Fedora 11. The Git snapshot does compile in Fedora 10, so obviously it has been fixed there. Will a 0.95.3.1 release be imminent? Cheers Bill This is on a 64 bit machine. Compile error details: libtool: compile: gcc -DHAVE CONFIG H -I. -I.. -I.. -I./nsis -I./lzma -I../libltdl -DWARN DLOPEN FAIL -DSEARCH LIBDIR=\"/usr/local/lib64\" -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: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 -- Bill Maidment Maidment Enterprises Pty Ltd www.maidment.vu Consultant to Elgas Ltd Phone: 02 9904 3364 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
[Clamav-users] clamav-0.95.3 fails to compile in Fedora 10
Hi The new 0.95.3 fails to compile in Fedora 10, but does compile OK in Fedora 11. The Git snapshot does compile in Fedora 10, so obviously it has been fixed there. Will a 0.95.3.1 release be imminent? Cheers Bill This is on a 64 bit machine. Compile error details: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma -I../libltdl -DWARN_DLOPEN_FAIL -DSEARCH_LIBDIR=\"/usr/local/lib64\" -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: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 -- Bill Maidment Maidment Enterprises Pty Ltd www.maidment.vu Consultant to Elgas Ltd Phone: 02 9904 3364 ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
[Clamav-users] clamav-0.95.3 fails to compile in Fedora 10
Hi The new 0.95.3 fails to compile in Fedora 10, but does compile OK in Fedora 11. The Git snapshot does compile in Fedora 10, so obviously it has been fixed there. Will a 0.95.3.1 release be imminent? Cheers Bill -- Bill Maidment Maidment Enterprises Pty Ltd www.maidment.vu Consultant to Elgas Ltd Phone: 02 9904 3364 ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml