On Friday, September 5, 2003, at 02:00 PM, Nigel Horne wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 05 Sep 2003 7:31 pm, Bill Shupp wrote:

I'm trying to compile clamv 0.60 on Mac OS X, but am getting this error:

You don't say which version of MAC OS/X, but on 10.1 you need to modify libclamav/zziplib/strc.c.


At the top before #include <ctype.h> add:

#ifndef C_DARWIN

at the end of the file att

#endif

I'd be surprised if this doesn't also help on other versions of MAC OS.

I'm using OS X 10.2.6. And your suggestion allowed it to compile successfully. However, I did get another error related to ld:


ld: table of contents for archive: /usr/lib/libbz2.a is out of date; rerun ranlib(1) (can't load from it)
make[1]: *** [clamscan] Error 1
make: *** [all-recursive] Error 1


But this fixed it:

sudo ranlib /usr/lib/libbz2.a

Thanks for your assistance,

Bill Shupp
MerchBox



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to