New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LIBCONFIG_INCLUDE_DIR-NOTFOUND #952
Comments
I don't think there is much we can do here. You need to take this up with the CMake team. We are just using the standard CMake functions for finding all the dependencies. |
export CMAKE_PREFIX_PATH=/path/to/homebrew/ does the trick! |
Okay, good to know. Could you please add it to our wiki for future reference, if you have not already? |
just ran into this again and found that bug which saved me... just updated https://wiki.dlang.org/Building_LDC_from_source |
installing from source fails:
LIBCONFIG_INCLUDE_DIR-NOTFOUND
LIBCONFIG_LIBRARY-NOTFOUND
'brew install libconfig' succeeded though but somehow the build system can't figure out where it is.
Note that I've installed homebrew in ~/homebrew (to avoid other conflicts) but it should just work, brew is in the path indeed and those files exist:
/Users/timothee/homebrew/include/libconfig.h
/Users/timothee/homebrew/lib/libconfig.dylib
it does work if I set those manually:
LIBCONFIG_INCLUDE_DIR=/Users/timothee/homebrew/include/
LIBCONFIG_LIBRARY=/Users/timothee/homebrew/lib/libconfig.dylib
The text was updated successfully, but these errors were encountered: