On 14 Nov 2010, at 12:54 am, TR Shaw wrote:
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 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
configure:4029: checking whether the C compiler works
configure:4051: gcc conftest.c >&5
ld: library not found for -lcrt1.10.6.o
First thing to do is make sure you're using the most recent version of
the publicly available developer tools from http://developer.apple.com
and reinstall them before trying again. Looks like a required library
may be missing.
Also, for what it's worth, I've not been able to do a vanilla ./
configure for a while now...that said, I've not tried it without any
extra flags for a while, but I'm fairly sure you need to specify the
location of gcc-4.2 as well as g++-4.2. If you're using bash as your
shell, try configuring with this:
CC="/usr/bin/gcc-4.2" CXX="/usr/bin/g++-4.2" CFLAGS="-O2 -g -
D_FILE_OFFSET_BITS=64" CXXFLAGS="-O2 -g -D_FILE_OFFSET_BITS=64" ./
configure --disable-dependency-tracking --enable-llvm --enable-
clamdtop --with-user=_clamav --with-group=_clamav
Mark
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml