Clamav 0.88 make problem

Boris Samorodov bsam at ipt.ru
Fri Feb 17 12:15:22 PST 2006


On Fri, 17 Feb 2006 09:18:09 -0500 Christopher C. McHugh wrote:

> I should also point out I am running FreeBSD 5.4

> Christopher C. McHugh wrote:
> > Hello all-
> >
> >    I am currently having an issue getting clamav port to make:
> >
> > ===>  Vulnerability check disabled, database not found
> > ===>  Found saved configuration for clamav-0.86.1
> > ===>  Extracting for clamav-0.88
> > => Checksum OK for clamav-0.88.tar.gz.
> > ===>  Patching for clamav-0.88
> > ===>  Applying extra patch
> > /usr/ports/security/clamav/files/extra-patch-libclamav__unrarlib.h
> > ===>  Applying FreeBSD patches for clamav-0.88
> > ===>   clamav-0.88 depends on shared library: gmp.6 - found
> > ===>  Configuring for clamav-0.88

Can't reproduce it:

# uname -srm
FreeBSD 5.4-STABLE i386

# cd /usr/ports/security/clamav
# make configure
-----
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for clamav-0.83
===>  Extracting for clamav-0.88
=> MD5 Checksum OK for clamav-0.88.tar.gz.
===>  Patching for clamav-0.88
===>  Applying extra patch /usr/ports/security/clamav/files/extra-patch-libclamav__unrarlib.h
===>  Applying FreeBSD patches for clamav-0.88
===>   clamav-0.88 depends on file: /usr/local/bin/libtool15 - found [1]
===>   clamav-0.88 depends on shared library: gmp.6 - found
===>  Configuring for clamav-0.88
[skip]
-----

Mind [1]. You don't have that line at your log. Your ports doesn't use
libtool15...

> > ===>  Building for clamav-0.88
> > ===>  *** WARNING ***
> >      Installed version of libclamav found.
> >      This might cause build problems.
> > make: cannot open Makefile.

...that's why needed makefile is not created. Look at
work/clamav-0.88. You won't find Makefile.

> > *** Error code 2
> >
> > Stop in /usr/ports/security/clamav.

> > The permissions on the makefile rw so i am unsure what it's problem
> > is.  Any thoughts??

The question is why doesn't your port make use of
"USE_AUTOTOOLS=libtool:15" option from the port's Makefile? Isn't it
commented?

I'd recommend:

Re-cvsup and
# portupgrade devel/libtool15
  (or make clean; make; make deinstall; make reinstall)
# cd /usr/ports/security/clamav
# make clean
# make


WBR
-- 
Boris B. Samorodov, Research Engineer
InPharmTech Co,     http://www.ipt.ru
Telephone & Internet Service Provider


More information about the freebsd-ports mailing list