Skip to content

Instantly share code, notes, and snippets.

@willmot
Created July 7, 2012 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save willmot/3066516 to your computer and use it in GitHub Desktop.
Save willmot/3066516 to your computer and use it in GitHub Desktop.
brew install -v svn on 10.8 with Xcode 4.5 DP2
brew install -v svn
==> Installing subversion dependency: serf
==> Downloading http://serf.googlecode.com/files/serf-1.1.0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/serf-1.1.0.tar.bz2
/usr/bin/tar xf /Library/Caches/Homebrew/serf-1.1.0.tar.bz2
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/serf/1.1.0
./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/serf/1.1.0
checking for chosen layout... Serf
checking for working mkdir -p... yes
checking build system type... x86_64-apple-darwin12.0.0
checking host system type... x86_64-apple-darwin12.0.0
checking target system type... x86_64-apple-darwin12.0.0
Configuring Apache Portable Runtime library...
checking for APR... yes
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"
adding "-DDARWIN" to CPPFLAGS
adding "-DSIGPROCMASK_SETS_THREAD_MASK" to CPPFLAGS
setting LTFLAGS to "--silent"
Configuring Apache Portable Runtime Utility library...
checking for APR-util... yes
checking for gcc... /usr/bin/clang
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ISO C89... none needed
checking how to run the C preprocessor... /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc -E
configure: error: C preprocessor "/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc -E" fails sanity check
See `config.log' for more details.
config.log was copied to /Users/willmot/Library/Logs/Homebrew
==> Exit Status: 1
https://github.com/mxcl/master/blob/master/Library/Formula/serf.rb#L9
==> Build Environment
CPU: dual-core 64-bit penryn
OS X: 10.8-x86_64
Xcode: 4.5
X11: 2.7.2 @ /opt/X11
CC: /usr/bin/clang
CXX: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ => /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CPPFLAGS: -isystem /usr/local/include
LDFLAGS: -L/usr/local/lib
MACOSX_DEPLOYMENT_TARGET: 10.8
MAKEFLAGS: -j2
Error: Failed executing: ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/serf/1.1.0 (serf.rb:9)
If `brew doctor` does not, this may help you fix or report the issue:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
We saved the configure log:
~/Library/Logs/Homebrew/config.log
If you report the issue please paste the config.log here:
http://gist.github.com/
@wcharczuk
Copy link

also happening with xcode 4.5 dp3

@bastien
Copy link

bastien commented Jul 26, 2012

Same problem with XCode 4.4

@chauzer
Copy link

chauzer commented Jul 26, 2012

Im getting the same problem in XCode 4.3.3, OSX 10.7.4.

Tried installing serf by itself by running "port install -v serf" and getting the same issue.

@bastien
Copy link

bastien commented Jul 30, 2012

I ended up installing the 'command line tools' from XCode 4.4 on OSX 10.8, those include svn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment