Skip to content

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

Closed

Description

@buzzbo

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

Activity

  1. added
    windowsIssues and PRs related to the Windows platform.
    buildIssues and PRs related to Node.js builds or CI infrastructure.
    on Jan 15, 2016
  2. mscdex commented on Jan 15, 2016

    @mscdex
    Contributor

    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.

  3. silverwind commented on Jan 16, 2016

    @silverwind
    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!

  4. aLoyalStudent commented on Apr 30, 2016

    @aLoyalStudent

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

  5. kirkins commented on Dec 1, 2016

    @kirkins

    would also appreciate a solution to this.

  6. silverwind commented on Dec 1, 2016

    @silverwind
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to Node.js builds or CI infrastructure.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions