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
{{ message }}
Repository navigation
windows 7 cygwin64 installation, Make fails at tools/gyp_node.py #4716
Trying to compile on Cygwin64. Am I missing a dependency or something?
/home/me/git/node$ make
...sometime later
/usr/bin/python tools/gyp_node.py -f make
gyp: name 'MSVS_VERSION' is not defined while evaluating condition 'MSVS_VERSION < "2015"' in /home/me/git/node/deps/uv/uv.gyp
gyp: name 'MSVS_VERSION' is not defined while evaluating condition '(OS=="win" and MSVS_VERSION>="2012") or llvm_version>="3.3" or gas_version>="2.23"' in /home/me/git/node/deps/openssl/openssl.gyp
Makefile:53: recipe for target 'out/Makefile' failed
make: *** [out/Makefile] Error 1
As far as I know, cygwin isn't really supported at least as far as compiling goes. You will need to use vcbuild.bat and have the MSVC compiler installed.
Cygwin is currently unsupported and even if you get it to compile, process.platform will be win32 which results in a lot of wrong assumptions all over the code base. I suggest to just compile a native Windows build and use something like alias node='cmd /c node' inside your Cygwin shell to let it to run outside the Cygwin environment (same for npm).
Of course, if someone feels strong about supporting Cygwin, we're open for pull requests. It might be quite a bit of work, though!
Activity
mscdex commentedon Jan 15, 2016
As far as I know, cygwin isn't really supported at least as far as compiling goes. You will need to use vcbuild.bat and have the MSVC compiler installed.
silverwind commentedon Jan 16, 2016
Cygwin is currently unsupported and even if you get it to compile,
process.platformwill bewin32which results in a lot of wrong assumptions all over the code base. I suggest to just compile a native Windows build and use something likealias node='cmd /c node'inside your Cygwin shell to let it to run outside the Cygwin environment (same fornpm).Of course, if someone feels strong about supporting Cygwin, we're open for pull requests. It might be quite a bit of work, though!
aLoyalStudent commentedon Apr 30, 2016
have you get the answer?I have the same error.
kirkins commentedon Dec 1, 2016
would also appreciate a solution to this.
silverwind commentedon Dec 1, 2016
As said, it's currently an unsupported platform, but we're of course open to low-impact patches that fix the Cygwin build.