Skip to content
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

windows 7 cygwin64 installation, Make fails at tools/gyp_node.py #4716

Closed
buzzbo opened this issue Jan 15, 2016 · 5 comments
Closed

windows 7 cygwin64 installation, Make fails at tools/gyp_node.py #4716

buzzbo opened this issue Jan 15, 2016 · 5 comments
Labels
build Issues and PRs related to build files or the CI. windows Issues and PRs related to the Windows platform.

Comments

@buzzbo
Copy link

buzzbo commented Jan 15, 2016

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
@mscdex mscdex added windows Issues and PRs related to the Windows platform. build Issues and PRs related to build files or the CI. labels Jan 15, 2016
@mscdex
Copy link
Contributor

mscdex commented 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
Copy link
Contributor

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!

@aLoyalStudent
Copy link

have you get the answer?I have the same error.

@kirkins
Copy link

kirkins commented Dec 1, 2016

would also appreciate a solution to this.

@silverwind
Copy link
Contributor

As said, it's currently an unsupported platform, but we're of course open to low-impact patches that fix the Cygwin build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. windows Issues and PRs related to the Windows platform.
Projects
None yet
Development

No branches or pull requests

5 participants