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

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to