-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Trying to configure node-gyp with WSL #1346
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
Comments
Try |
Thanks @bzoz, Tried that and it's still giving the Here is what I entered:
And my
|
I meant something like The |
@spences10 Did it work? |
You're right @bzoz I didn't check that 🙃 And you're right again the binary is in the Forgive my ignorance I thought that there would be a symlink if I added a location from the I'll try this again and let you know. Thanks for the help 👍 |
I'm not sure if this is any help, first I added the correct path:
It took me to the Python repl, so I
Then I checked
|
@spences10 Drop the parens in |
Thanks @bnoordhuis I now get a different error:
So, making progress 😄 |
You need to be inside the directory of the add-on (native module) you want to build (or pass |
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/home/linuxbrew/.linuxbrew/Cellar/gcc/5.4.0/libexec/gcc/x86_64-unknown-linux-gnu/5.4.0/lto-wrapp
er
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/gcc/5.4.0 --enable-languages=c,c++,objc,ob
j-c++,fortran --program-suffix=-5 --with-gmp=/home/linuxbrew/.linuxbrew/opt/gmp --with-mpfr=/home/linuxbrew/.linuxbr
ew/opt/mpfr --with-mpc=/home/linuxbrew/.linuxbrew/opt/libmpc --with-isl=/home/linuxbrew/.linuxbrew/opt/isl --enable
-stage1-checking --enable-checking=release --enable-lto --with-build-config=bootstrap-debug --disable-werror --with-
pkgversion='Homebrew gcc 5.4.0' --with-bugurl=https://github.com/Homebrew/homebrew/issues --with-boot-ldflags='-stat
ic-libstdc++ -static-libgcc ' --disable-nls --disable-multilib
Thread model: posix
gcc version 5.4.0 (Homebrew gcc 5.4.0)
npm install -g semantic-release-cli
Verbose output (from npm or node-gyp):
When I try set the python env variable with either:
or
I get the help text pop up, like it's an invalid command:
I have tried to keep everything on WSL for developement but always seem to run into issues with node-gyp
Any advice greatly appreciated
Here is my
whereis
details:The text was updated successfully, but these errors were encountered: