You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
$ cd /usr/local
$ sudo ln -s /opt/boxen/homebrew/include include
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 as png is an optional dependency ATM.
The text was updated successfully, but these errors were encountered:
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
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: