-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Build fails on NetBSD #1334
Comments
For 1) what does For 4) which compiler are you using? Which C++ libraries were used to build node? What does ldd /path/to/node say? |
I have posted a full build log from my FreeBSD box https://gist.github.com/9986820a7b186de0eb39 And all the symbols are position-independent (due to By the way here are my private FreeBSD ports - those are used to build the binaries for FreeBSD in an automated way. Please note I am building libsass first as the library and then link it to node-sass statically (to let people just download one binding file). |
Can you check if nodejs/node-gyp#856 fixes it? You might install the |
Fixes: sass/node-sass#1334 PR-URL: #856 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Thanks! nodejs/node-gyp#856 did fix the compile issue and I now have node-sass running on my NetBSD image. I still had the problem described in 1), but this seems like it's a node issue rather than a node-sass issue:
|
Sounds like there is isn't anything we can do. Can we close this @saper? |
@xzyfer I think this can be considered fully solved once we bump node-gyp dependency to not yet released 3.2.2 |
I'm trying to install node-sass on NetBSD 7.0 w/ Node 5.2.0, but have run into a number of errors. Full platform details in a gist under the heading [0].
Here's a list of what I've tried and the end result for each. You can find the complete terminal output for each step under the matching numbered heading ([1], [2], etc.) in the gist.
npm install node-sass
, the build fails withreturn binding.lstat(pathModule._makeLong(path));
. Similar issue reported in Can't install node-sass during deployment #1138.node-sass
repo and get the same error as above when runningnpm install
./usr/pkg/bin/node scripts/install.js
to eliminate the path issue. That got me to a 404 error as there is no pre-built binding for NetBSD./usr/pkg/bin/node scripts/build.js
. This got pretty far into the build before failing at the linking stage. It's a similar error to installation fails to compile on ubuntu x86_64 #11, but I'm not usingwaf
as far as I know.This pretty much exhausts my troubleshooting ideas as I'm not sure how (or what) to recompile with -fPIC. Any suggestions on what to try next, or am I out of luck for NetBSD?
The text was updated successfully, but these errors were encountered: