Hi

The FreeBSD clamav port maintainer has added a whole bunch of stuff to make
it 0.65_3 and this compiles and installed for me no problem now.

Thanks
---
Steve Crowder
e-mail: steve (at) crowders (dot) org
www:      www.crowders.org
PGP Fingerprint: 7AFA B1E3 C556 8393 E425  160F 943F F3B6 DA47 C49B


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Steve
Crowder
Sent: 06 December 2003 20:07
To: [EMAIL PROTECTED]
Subject: RE: [Clamav-users] clamav-0.65 FreeBSD 5.1 compile failure


Hi

CONFIGURE_ARGS= --with-dbdir=${DATADIR} \
                --disable-clamav \
                --enable-bigstack \
                --with-user=qmailq \
                --with-group=qmail
CFLAGS+=        -I${LOCALBASE}/include
LDFLAGS+=       ${PTHREAD_LIBS}
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
MAN1=           clamscan.1 freshclam.1 sigtool.1 clamdscan.1
MAN5=           clamav.conf.5
MAN8=           clamd.8 clamav-milter.8

CLAMD_SOCKET?=  /var/run/clamav/clamd

I added these two lines:
                --with-user=qmailq \
                --with-group=qmail

The rest is as per the FreeBSD ports makefile

---
Steve Crowder
e-mail: steve (at) crowders (dot) org
www:      www.crowders.org
PGP Fingerprint: 7AFA B1E3 C556 8393 E425  160F 943F F3B6 DA47 C49B


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Thomas
Lamy
Sent: 06 December 2003 19:23
To: [EMAIL PROTECTED]
Subject: Re: [Clamav-users] clamav-0.65 FreeBSD 5.1 compile failure


Steve Crowder wrote:

> Hi
>
> Anyone know a fix for this error? Is there some Makefile editing required?
>
> /ports/security/clamav/work/clamav-0.65/libclamav
>
/usr/local/lib/libclamav.so -lz -lbz2 -lc_r -Wl,--rpath -Wl,/usr/local/lib -
> Wl,--rpath -Wl,/usr/local/lib
> clamscan.o: In function `clamscan':
> clamscan.o(.text+0x7f): undefined reference to `cl_debug'
> manager.o: In function `scanmanager':
> manager.o(.text+0x244): undefined reference to `cl_strerror'
> manager.o(.text+0x515): undefined reference to `cl_gentemp'
> manager.o: In function `scancompressed':
> manager.o(.text+0xf38): undefined reference to `cl_gentemp'
> manager.o: In function `scandenied':
> manager.o(.text+0x17fb): undefined reference to `cl_gentemp'
> manager.o: In function `checkfile':
> manager.o(.text+0x1adf): undefined reference to `cl_strerror'
> manager.o: In function `checkstdin':
> manager.o(.text+0x1b7f): undefined reference to `cl_strerror'
> gmake[1]: *** [clamscan] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/security/clamav/work/clamav-0.65/clamscan'
> gmake: *** [all-recursive] Error 1
> *** Error code 2
>
> Stop in /usr/ports/security/clamav.
>
Which flags did you give configure?



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to