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
Failing to find ffi.h on RHEL4 build #50
Comments
Hmm, seems strange. It looks like the bundled libffi isn't getting compiled for some reason:
I'm not exactly sure what could cause that. What happens if you follow the "build manually" instruction in the README? |
err, these older README instructions rather... |
Thanks - but still fails on the last step. The build of the static lib seems to work, although I cant seem to find it afterwards...
|
node-ffi is looking for |
Also, make sure |
Many Thanks - I had "ar" aliased to something else - oops. I now have libffi.a built but its now failing on the node-gyp build. Looks like the node-gyp configure command cleans out the ffi.h produced earlier (in ./deps/libffi/x86_64-unknown-linux-gnu/include/ffi.h). But even if I skip the configure command, it still seems to not use that one anyway. I have tried the npm install again (with ar unaliased, but it fails in the same way). Any thoughts on what this might be? Cheers,
|
Can you try invoking node-gyp with |
Well, I'm gonna close this since it seems to be a problem with your setup. But perhaps try out the v1.0.0-alpha release. It seemed to build correctly on all the platforms I tested except Windows: $ npm install ffi |
Hi - thanks for the update. Not had a chance to try either of your suggestions. Hopefully next week will be a good week for that :) Many thanks for the help. |
Hi,
Given my lack of success with a windows install of node-ffi, I am trying the manual option - grabbed the node-ffi code and trying to build with node-gyp, but it seems to be failing to find ffi.h, from within ffi.h ...
The text was updated successfully, but these errors were encountered: