Skip to content

Instantly share code, notes, and snippets.

@aral
Created December 27, 2013 17:56
Show Gist options
  • Save aral/8150400 to your computer and use it in GitHub Desktop.
Save aral/8150400 to your computer and use it in GitHub Desktop.
If you are having trouble building Camlistore on OS X (Mavericks, but also perhaps earlier versions), try this.
If the error you are getting when you type:
go run make.go
is along the lines of:
camlistore.org/third_party/code.google.com/p/rsc/fuse
# camlistore.org/third_party/code.google.com/p/rsc/fuse
clang: error: argument unused during compilation: '-fno-eliminate-unused-debug-types'
Error building main binaries: exit status 2
exit status 1
Then try the following:
export CC=clang
This fixed it for me.
Solution courtesy of Brad Fitzpatrick (@bradfitz)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment