On Thursday 15 March 2007 01:09 pm, Rob MacGregor wrote:
> 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.

libthr is only really usable on FreeBSD 6+.  You'll need to upgrade if you 
want to use that.

ClamAV 0.90.x is really only usable on FreeBSD 6+ using libthr.  There's 
something in the threading in 0.90.x that does not like libpthread on 
FreeBSD.

-- 
Freddie Cash, LPIC-2 CCNT CCLP      Network Support Technician
School District 73                  (250) 377-HELP [377-4357]
[EMAIL PROTECTED]
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to