On 3/15/07, Rob MacGregor <[EMAIL PROTECTED]> wrote:
Right, complete re-write :)
The FreeBSD port uses the following arguments to configure:
'--with-dbdir=/var/db/clamav' '--with-zlib=/usr'
'--mandir=/usr/local/man' '--disable-zlib-vcheck' '--disable-clamuko'
'--disable-clamav' '--enable-bigstack' '--disable-gethostbyname_r'
'--enable-readdir_r' '--disable-dependency-tracking' '--with-libcurl'
'--prefix=/usr/local' '--build=i386-portbld-freebsd5.4'
'build_alias=i386-portbld-freebsd5.4' 'CC=cc' 'CFLAGS=-O -pipe '
'LDFLAGS= -L/usr/local/lib -lthr' 'CPPFLAGS=-I/usr/local/include '
'CXX=c++' 'CXXFLAGS=-O -pipe'
Further testing shows that, for FreeBSD 5.4 at least, the use of -lthr
(1:1 Threading Library) the result is instability. The second I added
that to the configure argument clamd started crashing.
Using the alternative -lpthread doesn't result in crashes.
I'm going to raise a PR with the FreeBSD maintainer (and drop a line
to freebsd-ports@), but others using (at least) FreeBSD 5.4 may want
to avoid 0.90.1 from ports until this is resolved.
--
Please keep list traffic on the list.
Rob MacGregor
Whoever fights monsters should see to it that in the process he
doesn't become a monster. Friedrich Nietzsche
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html