-
Notifications
You must be signed in to change notification settings - Fork 53
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
Cannot find png.h with custom Homebrew root because Boxen #45
Comments
ghost
changed the title
Cannot find png.h with custom Homebrew root via Boxen
Cannot find png.h with custom Homebrew root because Boxen
Feb 18, 2015
ghost
mentioned this issue
Feb 18, 2015
What does |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a non-standard, but not-uncommon Homebrew config which causes this module to fail to build on OS X. Specifically, Homebrew is installed by Boxen under
/opt/boxen
instead of/usr/local
:I confess to being fairly ignorant how node extensions are built with gyp, but I would expect to see something like
-I/opt/boxen/homebrew/include
here:I can work around this issue with:
And then everything builds.
With some pointers on what I should change, I'm happy to submit a pull request that incorporates
brew --env
values into the build config. The failure is trivial for me to reproduce and currently not blocking aspng
is an optional dependency ATM.The text was updated successfully, but these errors were encountered: