On Nov 13, 2010, at 7:46 PM, Larry Stone wrote:

> On 11/13/10 5:35 PM, TR Shaw at ts...@oitc.com wrote:
> 
>> I just got around to compiling 0.96.4 and no joy. My configure command no
>> longer is working properly. I have xcode install and my search path is
>> 
>> /Developer/usr/share:/Developer/usr/sbin:/Developer/usr/lib:/Developer/usr/bin
>> :/Library/Frameworks/GDAL.framework/Programs:/usr/bin:/bin:/usr/sbin:/sbin:/us
>> r/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin
>> 
>> Running on 10.6
>> 
>> Any help would be appreciated,
> 
> No problem for me. Did you ever think that the specific error message you
> are getting might just possibly be relevant and worth posting (sarcasm
> intended)? I doubt the path has anything to do with it (except maybe to
> break things) as I have not modified my path to include any of that junk you
> have and my compile worked just fine.
> 
> -- 
Well

Raven:clamav-0.96.4 tshaw$ ./configure
checking build system type... i386-apple-darwin10.5.0
checking host system type... i386-apple-darwin10.5.0
checking target system type... i386-apple-darwin10.5.0
creating target.h - canonical system defines
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for gawk... (cached) awk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/Users/tshaw/Sites/clamav/clamav-0.96.4':
configure: error: C compiler cannot create executables
See `config.log' for more details

config.log saysd:

configure:3733: checking for gcc
configure:3749: found /Developer/usr/bin/gcc
configure:3760: result: gcc
configure:3989: checking for C compiler version
configure:3998: gcc --version >&5
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4009: $? = 0
configure:3998: gcc -v >&5
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5664~105/src/configure --disable-checking 
--enable-werror --prefix=/usr --mandir=/share/man 
--enable-languages=c,objc,c++,obj-c++ 
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib 
--build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- 
--host=x86_64-apple-darwin10 --target=i686-apple-darwin10 
--with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5664)
configure:4009: $? = 0
configure:3998: gcc -V >&5
gcc-4.2: argument to `-V' is missing
configure:4009: $? = 1
configure:3998: gcc -qversion >&5
i686-apple-darwin10-gcc-4.2.1: no input files
configure:4009: $? = 1
configure:4029: checking whether the C compiler works
configure:4051: gcc    conftest.c  >&5
ld: library not found for -lcrt1.10.6.o
collect2: ld returned 1 exit status
configure:4055: $? = 1
configure:4093: result: no



_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to