[EMAIL PROTECTED] wrote:
Hi all,

Im trying to upgrade Clamav on FreeBSd 5.4, but I getting the following error. It happen using ports or portupgrade.

===>  Found saved configuration for clamav-0.85.1
=> clamav-0.87.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://easynews.dl.sourceforge.net/sourceforge/clamav/. clamav-0.87.1.tar.gz 100% of 4364 kB 164 kBps 00m00s
===>  Extracting for clamav-0.87.1
=> Checksum OK for clamav-0.87.1.tar.gz.
===>  Patching for clamav-0.87.1
===> Applying extra patch /usr/ports/security/clamav/files/extra-patch-libclamav__unrarlib.h
===>  Applying FreeBSD patches for clamav-0.87.1
===>   clamav-0.87.1 depends on shared library: gmp.6 - found
===>   clamav-0.87.1 depends on shared library: curl.3 - found
===>  Configuring for clamav-0.87.1
===>  Building for clamav-0.87.1
===>  *** WARNING ***
      Installed version of libclamav found.
      This might cause build problems.
make: cannot open Makefile.
*** Error code 2

That's odd. Are you sure you're running as root? And that you're not out of space on /usr? Permissions and space are the only things I can think of for why make can't open the Makefile.

Maybe there are leftovers from an old build messing things up.  Try:

cd /usr/ports/security/clamav
make deinstall
make clean
make install


Just to be really sure the ports tree entry is fine, you could also try:

rm -rf /usr/ports/security/clamav

and then cvsup the ports tree again (or however you update the ports tree).


Craig.
------
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to