Skip to content
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

Closed
timotheecour opened this issue May 31, 2015 · 4 comments
Closed

LIBCONFIG_INCLUDE_DIR-NOTFOUND #952

timotheecour opened this issue May 31, 2015 · 4 comments

Comments

@timotheecour
Copy link

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

@dnadlinger
Copy link
Member

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.

@timotheecour
Copy link
Author

export CMAKE_PREFIX_PATH=/path/to/homebrew/ does the trick!

@dnadlinger
Copy link
Member

Okay, good to know. Could you please add it to our wiki for future reference, if you have not already?

@timotheecour
Copy link
Author

just ran into this again and found that bug which saved me... just updated https://wiki.dlang.org/Building_LDC_from_source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants