Comments (3)
Switching back to the non-LLVM gcc seemed to fix it as well:
export CC=gcc-4.2
from levigo.
Thanks. Please email the golang-nuts list with this information (structuring it less as a bug report, of course) if it's not yet a known gotcha. You're correct that it's not a problem levigo has solely or one that it can solve on its own.
I ask for the email, because neither levigo, nor Go will be able to guess at a user's environment very well to handle this, so putting it in a bug report here is a little narrow in purview. I believe this will have to be solved by individual developers writing Go on Mavericks just knowing they need to add the directory in their environment's CFLAGS and CXXFLAGS or similar. Apple seems to be accidentally making it more difficult to be a systems engineer on OS X on a regular basis these days. Perhaps, that is in their best interest.
from levigo.
I encountered the same problem and found a solution.
I installed Xcode, homebrew and all releated libs with brew (go, levigo, etc). I tried to install imposm3 (which is as well a go package and depends on levigo) I got the same errors.
If you run $ gcc -v -x c++ -E -
you get something like this:
#include "..." search starts here:
#include <...> search starts here:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks (framework directory)
End of search list.
now i (re)installed the Xcode-Command-Line-Tools via $ xcode-select --install
and get the paths to /usr/local/include
and /usr/include
also listed in the search paths and I can install your package without any problems
from levigo.
Related Issues (20)
- It doesn't close the process when the program done HOT 21
- Why? HOT 3
- Build with current tip Go on darwin? HOT 3
- segmentation violation HOT 5
- How can I get comparator from options? HOT 1
- RFC: send LevelDB logs to Go via a pipe HOT 2
- Can't use iterator HOT 1
- Basho Leveldb Fork HOT 1
- `go vet` complain about example code
- leveldb.Open() causes to stop writing to file HOT 5
- Could not run it on Win32, I modified it, it would be nice, patch is as follows HOT 2
- getting keys / iterating over DB without knowing what the keys are HOT 2
- Build fail on golang 1.3.3 mac osx HOT 3
- How do i build levigo under windows? HOT 1
- Add support to this leveldb lib. HOT 1
- go build calls linker with seven -lleveldb flags
- WriteBatch.Delete() panics on empty key
- Dependency Dashboard
- Compiling issue on Ubuntu 12.10 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from levigo.