On 6/5/07 8:23 PM, Paul Waterstraat - UC Davis Geology wrote:
running:

./configure --sysconfdir=/etc --with-user=clamav --with- group=clamav --enable-experimental

seems to run OK except for an anomaly while checking curl:

    checking for __gmpz_init in -lgmp... yes
checking for curl >= 7.10.0... ./configure: line 1: pkg-config: command not found
    7.10.2
    checking for recvmsg... yes

fwiw: curl --version

curl 7.10.2 (powerpc-apple-darwin7.0) libcurl/7.10.2 OpenSSL/ 0.9.7l zlib/1.1.4

subsequent make runs for a bit, then:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./unrar -I/usr/include -I/ usr/include -g -O2 -MT blob.lo -MD -MP -MF .deps/blob.Tpo -c blob.c - o blob.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./unrar -I/usr/include -I/usr/include -g -O2 -MT mbox.lo -MD -MP -MF ".deps/mbox.Tpo" -c -o mbox.lo mbox.c; \ then mv -f ".deps/mbox.Tpo" ".deps/mbox.Plo"; else rm -f ".deps/ mbox.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./unrar -I/usr/include -I/usr/ include -g -O2 -MT mbox.lo -MD -MP -MF .deps/mbox.Tpo -c mbox.c -fno- common -DPIC -o .libs/mbox.o
mbox.c: In function `do_checkURLs':
mbox.c:4104: error: `args' undeclared (first use in this function)
mbox.c:4104: error: (Each undeclared identifier is reported only once
mbox.c:4104: error: for each function it appears in.)
make[2]: *** [mbox.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Recommendations?
I haven't tried it yet, but a while back someone e-mailed me a solution. It's in the archives, but here it is again:

-------- Original Message --------
Subject: Re: [Clamav-users] Compiling 0.90.1 on Mac OS X Server 10.3
Date: Wed, 2 May 2007 15:07:48 +0200 (SAST)
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

Hi,

as you have been the first one asking in the clamav-users list about a
workaround:

Craig Hockenberry found out what went wrong.
https://wwws.clamav.net/bugzilla/show_bug.cgi?id=442

I removed every appearence of "-arch i386" in the whole source. Once
before and once after "./configure" (I think the latter is enough).
No problems to install and start 0.90.2 on Mac OS X Server 10.3 after this.

As I am no member of the clamav-list, could you please forward Craigs
solution to the others?

Regards
Frans




--
-------------------------------------
Dana Kashubeck
Systems Manager
Riemer Reporting Service Inc.
http://www.riemer.com

Phone: 440-835-2477 x. 125
Fax:   440-835-4594
-------------------------------------

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to