Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Feb 2006 23:13:31 +0300
From:      Boris Samorodov <bsam@ipt.ru>
To:        "Christopher C. McHugh" <cmchugh@captel.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Clamav 0.88 make problem
Message-ID:  <17056324@srv.sem.ipt.ru>
In-Reply-To: <43F5DB21.4070502@captel.com> (Christopher C. McHugh's message of "Fri, 17 Feb 2006 09:18:09 -0500")
References:  <43F5D851.4080105@captel.com> <43F5DB21.4070502@captel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17056324>