Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2008 12:14:24 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Juergen Fiedler <juergen@carroll.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ClamAV 0.93 on FreeBSD 4.11
Message-ID:  <EAF41B5E-08AB-4699-892C-4DE12787E7E7@mac.com>
In-Reply-To: <web-218789181@carroll.com>
References:  <web-218789181@carroll.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Juergen--

On Apr 17, 2008, at 9:49 AM, Juergen Fiedler wrote:
> I am trying to install ClamAV 0.93 on a FreeBSD 4.11 (i386)
> system. I have downloaded and untarred the port, but when I
> try to install it, I get an error message indicating that
> my gcc can't build executables.

This diff to the FreeBSD port Makefile was discussed on the ClamAV- 
users mailing list:

--- Makefile.orig       Wed Apr 16 10:59:51 2008
+++ Makefile    Wed Apr 16 11:37:41 2008
@@ -108,7 +108,7 @@
  .if ${OSVERSION} >= 601000
  PTHREAD_LIBS=  -lthr
  .else
-PTHREAD_LIBS=  -lpthread
+PTHREAD_LIBS=  -pthread
  .endif

  .if defined(WITH_ARC)

...and it seems to work fine for 4.11:

> +++ Started at Wed Apr 16 14:20:06 2008
> clamd daemon 0.93 (OS: freebsd4.11, ARCH: i386, CPU: i386)

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EAF41B5E-08AB-4699-892C-4DE12787E7E7>