Hello
It asked me to install libwww-perl from gslapt, first. I did. Later, again tried to install clamav. When the installation is about 85% through, suddenly, it says 'unable to compile clamav'
Unable to install clamav from sourcery
Re: Unable to install clamav from sourcery
Try slapt-src -i clamav
and post the exact error that comes up.
and post the exact error that comes up.


Re: Unable to install clamav from sourcery
When I ran the above command I received the following feedback:
You must have a "clamav" user and group in order to run this script.
Add them with something like this:
groupadd -g 210 clamav
useradd -u 210 -d /dev/null -s /bin/false -g clamav clamav
fakeroot -- sh clamav.SlackBuild Failed
It appears that after adding the group and user, it still needs "libmilter" (Required libmilter not found. Use --with-libmilter, fakeroot -- sh milter-greylist.SlackBuild Failed) which I was unable to locate. After a quick search online, it appears that others had this problem with clamav on "Slackware" going back to 2005 and the resolved it by installing the rpm version of clamav.
Gapan, any ideas? I don't use it myself, perhaps we need to include this libmilter from somewhere, or a binary of clamav for those who want it. We have "milter-greylist" in sourcery/slapt-src, however, it also requires this libmilter.
You must have a "clamav" user and group in order to run this script.
Add them with something like this:
groupadd -g 210 clamav
useradd -u 210 -d /dev/null -s /bin/false -g clamav clamav
fakeroot -- sh clamav.SlackBuild Failed
It appears that after adding the group and user, it still needs "libmilter" (Required libmilter not found. Use --with-libmilter, fakeroot -- sh milter-greylist.SlackBuild Failed) which I was unable to locate. After a quick search online, it appears that others had this problem with clamav on "Slackware" going back to 2005 and the resolved it by installing the rpm version of clamav.
Gapan, any ideas? I don't use it myself, perhaps we need to include this libmilter from somewhere, or a binary of clamav for those who want it. We have "milter-greylist" in sourcery/slapt-src, however, it also requires this libmilter.


Re: Unable to install clamav from sourcery
If it is available from SlackBuild.org then it will build on a Slackware installation. A Salix installation does not include all of the stock Slackware packages so at times when trying to build and installing a package using sourcery (Slapt-src) you may run into missing dependencies which are assumed to be installed by the slackbuild.ChuangTzu wrote:After a quick search online, it appears that others had this problem with clamav on "Slackware" going back to 2005 and the resolved it by installing the rpm version of clamav.
In this case the missing package is sendmail (which provides libmilter). So install sendmail with gslapt (or slapt-get) and then clamav will build and install.
Code: Select all
$ sudo slapt-get --install snedmail
(déjà vu all over again ==> http://forum.salixos.org/viewtopic.php? ... ail#p36512)
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
― George Orwell, 1984
Re: Unable to install clamav from sourcery
Very familiar with Slackware and Salix, just could not figure out what missing package would provide that lib. Makes sense now.
Thank You. LOL, I see why you had Deja vu.
And that should solve the problem for the OP as well.
Thank You. LOL, I see why you had Deja vu.
And that should solve the problem for the OP as well.