alex1818 / serf

Automatically exported from code.google.com/p/serf
Apache License 2.0
0 stars 0 forks source link

configure fails on OS X #106

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
serf-1.2.1 rmann$ ./configure
checking for chosen layout... Serf
checking for working mkdir -p... yes
checking build system type... x86_64-apple-darwin12.4.0
checking host system type... x86_64-apple-darwin12.4.0
checking target system type... x86_64-apple-darwin12.4.0

Configuring Apache Portable Runtime library...

checking for APR... yes
  setting CC to "/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc"
  setting CPP to "/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc -E"
  setting APR_LIBTOOL to "/usr/share/apr-1/build-1/libtool"
  setting CFLAGS to " "
  setting CPPFLAGS to " -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK"
  setting LDFLAGS to " "
  setting LTFLAGS to "--silent"

Configuring Apache Portable Runtime Utility library...

checking for APR-util... yes
checking for gcc... 
/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bi
n/cc
checking whether the C compiler works... no
configure: error: in `/Users/rmann/Downloads/serf-1.2.1':
configure: error: C compiler cannot create executables
See `config.log' for more details

Config.log:

configure:3377: checking for gcc
configure:3404: result: 
/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bi
n/cc
configure:3633: checking for C compiler version
configure:3642: 
/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bi
n/cc --version >&5
./configure: line 3644: 
/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bi
n/cc: No such file or directory

For some reason, perhaps due to installation of Xcode 5 Developer Preview, serf 
is looking for tools inside 
/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/, but 
no such subdirectory exists. It should be looking in 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/.

Original issue reported on code.google.com by jetfo...@gmail.com on 11 Jun 2013 at 4:55