Hi,

On Jun 2, 2010, at 9:16 AM, Sean Lake wrote:

> Hello all,
> 
> In the wake of news about some spyware spreading for Macs, I decided to 
> finally get clamav installed. Sadly, there's a bit of an error during 
> compilation.
> 
> checking for gcc... /sw/lib/gcc4.4/bin/gcc
> checking whether the C compiler works... no
> configure: error: in `/sw/src/fink.build/clamav-0.96.1-11/clamav-0.96.1':
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> ### execution of /var/tmp/tmp.1.9NDjGo failed, exit code 77
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-clamav-0.96.1-11
> (Reading database ... 192209 files and directories currently installed.)
> Removing fink-buildlock-clamav-0.96.1-11 ...
> Failed: phase compiling: clamav-0.96.1-11 failed

It looks like the latest gcc44 update broke the compilation. I haven't had time 
to look into the details. But you could install the gcc44 from stable, i.e. do

fink install gcc44-4.4.1
fink install clamav

> Of course when I type "which gcc" I get /usr/bin/gcc, so I'm not sure why 
> it's going for the on in sw.

clamav explicitly uses a newer compiler than the stock compiler due to 
performance issues. There was also a bug in Apple's gcc which caused clamav to 
fail. (Not sure if that's still the case for 10.6, thought.)

> Version info:
> fink --version
> Package manager version: 0.29.10
> Distribution version: selfupdate-rsync Tue Jun  1 13:50:16 2010, 10.6, x86_64

BTW: the same problem is also present on 10.5.8 PPC according to other feedback 
I've got so far.

Remi
------------------------------------------------------------------------------

_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to