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.

What does the config.log file say about this failure?

> ### 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
> 
> 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.

The clamav package uses explicitly "SetCC: %p/lib/gcc4.4/bin/gcc".

> 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

-- 
Martin



------------------------------------------------------------------------------

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

Reply via email to