I've got a Windows NT system that I cannot build pty.js on. Is there instructions on how to do this?
MS Visual Studio 2010 SP1 Premium edition
Node v0.6.15 (used MSI installer)
Python 2.7.2 (used MSI installer)
MinGW (used MSI installer)
PYTHON=c:\python27\python.exe
NODE_PATH=C:\Progra~2\nodejs\node.exe
I've added pty.js to my package.json file and I can see it trying to build when I run npm install -d
. I've tried the install command in a standard command prompt, a visual studio command prompt, and a mingw command prompt.
C:\V2Source\trunk\product\applications\UcpPostDeploy\server>npm install -d
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info preinstall [email protected]
npm http GET https://registry.npmjs.org/pty.js
npm http 304 https://registry.npmjs.org/pty.js
npm info into C:\V2Source\trunk\product\applications\UcpPostDeploy\server [email protected]
npm info installOne [email protected]
npm info unbuild C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\pty.js
npm info preinstall [email protected]
npm info build C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\pty.js
npm info linkStuff [email protected]
npm info install [email protected]
> [email protected] install C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\pty.js
> node-gyp rebuild
C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\pty.js>node "C:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin\
\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
info it worked if it ends with ok
spawn C:\Python27\python.exe [ 'C:\\Users\\jclark\\.node-gyp\\0.6.15\\tools\\gyp_addon',
'binding.gyp',
'-IC:\\V2Source\\trunk\\product\\applications\\UcpPostDeploy\\server\\node_modules\\pty.js\\build\\config.gypi',
'-f',
'msvs',
'-G',
'msvs_version=2010' ]
spawn C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe [ 'build/binding.sln',
'/clp:Verbosity=minimal',
'/nologo',
'/p:Configuration=Release;Platform=Win32' ]
pty.cc
C:\Users\jclark\.node-gyp\0.6.15\src\node_object_wrap.h(57): warning C4251: 'node::ObjectWrap::handle_' : class 'v8::Persistent<T>' needs to have dll
-interface to be used by clients of class 'node::ObjectWrap' [C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\pty.js\build\p
ty.vcxproj]
with
[
T=v8::Object
]
..\src\pty.cc(20): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [C:\V2Source\trunk\product\applications\UcpPost
Deploy\server\node_modules\pty.js\build\pty.vcxproj]
ERR! Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
at Array.0 (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:176:25)
at EventEmitter._tickCallback (node.js:192:40)
ERR! not ok
npm info [email protected] Failed to exec install script
npm info unbuild C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\pty.js
npm info preuninstall [email protected]
npm info uninstall [email protected]
npm info postuninstall [email protected]
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! `cmd "/c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the pty.js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls pty.js
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-d"
npm ERR! cwd C:\V2Source\trunk\product\applications\UcpPostDeploy\server
npm ERR! node -v v0.6.15
npm ERR! npm -v 1.1.16
npm ERR! code ELIFECYCLE
npm ERR! message [email protected] install: `node-gyp rebuild`
npm ERR! message `cmd "/c" "node-gyp rebuild"` failed with 1
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\V2Source\trunk\product\applications\UcpPostDeploy\server\npm-debug.log
npm not ok
info it worked if it ends with ok
verbose cli [ 'C:\\Program Files (x86)\\nodejs\\\\node.exe',
verbose cli 'C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
verbose cli 'install',
verbose cli '-d' ]
info using [email protected]
info using [email protected]
verbose C:\Program Files (x86)\nodejs\\node.exe node symlink
verbose config file C:\Users\jclark\.npmrc
verbose config file C:\Program Files (x86)\nodejs\etc\npmrc
verbose config file C:\Program Files (x86)\nodejs\node_modules\npm\npmrc
verbose caching C:\V2Source\trunk\product\applications\UcpPostDeploy\server\package.json
verbose loadDefaults [email protected]
verbose readDependencies: using package.json deps
verbose where, deps [ 'C:\\V2Source\\trunk\\product\\applications\\UcpPostDeploy\\server',
verbose where, deps [ 'express', 'ejs', 'underscore', 'pty.js' ] ]
verbose from cache C:\V2Source\trunk\product\applications\UcpPostDeploy\server\package.json
info preinstall [email protected]
verbose caching C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\ejs\package.json
verbose caching C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\express\package.json
verbose caching C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\underscore\package.json
verbose from cache C:\V2Source\trunk\product\applications\UcpPostDeploy\server\package.json
verbose readDependencies: using package.json deps
verbose from cache C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\ejs\package.json
verbose from cache C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\express\package.json
verbose from cache C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\underscore\package.json
verbose already installed in C:\V2Source\trunk\product\applications\UcpPostDeploy\server skipping ejs@>= 0.0.1
verbose already installed in C:\V2Source\trunk\product\applications\UcpPostDeploy\server skipping underscore@>= 1.3.0
verbose cache add [ 'pty.js@>= 0.1.1', null ]
silly cache add: name, spec, args [ undefined, 'pty.js@>= 0.1.1', [ 'pty.js@>= 0.1.1', null ] ]
verbose parsed url { pathname: 'pty.js@', path: 'pty.js@', href: 'pty.js@' }
silly cache add: name, spec, args [ 'pty.js', '>= 0.1.1', [ 'pty.js', '>= 0.1.1' ] ]
verbose parsed url { pathname: '=', path: '=', href: '=' }
verbose addNamed [ 'pty.js', '>= 0.1.1' ]
verbose addNamed [ null, '>=0.1.1' ]
silly name, range, hasData [ 'pty.js', '>=0.1.1', false ]
verbose already installed in C:\V2Source\trunk\product\applications\UcpPostDeploy\server skipping [email protected]
verbose raw, before any munging pty.js
verbose url resolving [ 'https://registry.npmjs.org/', './pty.js' ]
verbose url resolved https://registry.npmjs.org/pty.js
verbose etag "C8UZ4QS2T14IVWKZN8LJ583A5"
http GET https://registry.npmjs.org/pty.js
http 304 https://registry.npmjs.org/pty.js
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
silly get cb etag: '"C8UZ4QS2T14IVWKZN8LJ583A5"',
silly get cb date: 'Thu, 03 May 2012 22:29:46 GMT',
silly get cb 'content-length': '0' } ]
verbose etag pty.js from cache
silly name, range, hasData 2 [ 'pty.js', '>=0.1.1', true ]
silly versions [ 'pty.js',
silly versions [ '0.0.1',
silly versions '0.0.2',
silly versions '0.0.3',
silly versions '0.0.4',
silly versions '0.0.5',
silly versions '0.0.6',
silly versions '0.0.6-1',
silly versions '0.0.7',
silly versions '0.0.8',
silly versions '0.0.9',
silly versions '0.1.0',
silly versions '0.1.1' ] ]
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8r-v83.6.6.24-win32-ia32-6.1.7601',
verbose bin dist { shasum: '8c91b44d6b3767c71d61901b44633c8cac909beb',
verbose bin dist tarball: 'http://registry.npmjs.org/pty.js/-/pty.js-0.1.1.tgz' } ]
verbose has bindings.gyp [ undefined,
verbose has bindings.gyp { file: 'C:\\Users\\jclark\\AppData\\Roaming\\npm-cache\\pty.js\\0.1.1\\package\\package.json',
verbose has bindings.gyp gypfile: true,
verbose has bindings.gyp contributors: false,
verbose has bindings.gyp serverjs: false,
verbose has bindings.gyp wscript: true } ]
verbose has wscript [ undefined,
verbose has wscript { file: 'C:\\Users\\jclark\\AppData\\Roaming\\npm-cache\\pty.js\\0.1.1\\package\\package.json',
verbose has wscript gypfile: true,
verbose has wscript contributors: false,
verbose has wscript serverjs: false,
verbose has wscript wscript: true } ]
verbose caching C:\Users\jclark\AppData\Roaming\npm-cache\pty.js\0.1.1\package\package.json
verbose loadDefaults [email protected]
silly resolved [ { name: 'pty.js',
silly resolved description: 'Pseudo terminals for node.',
silly resolved author: { name: 'Christopher Jeffrey' },
silly resolved version: '0.1.1',
silly resolved main: './index.js',
silly resolved repository: { type: 'git', url: 'git://github.com/chjj/pty.js.git' },
silly resolved homepage: 'https://github.com/chjj/pty.js',
silly resolved bugs: { url: 'https://github.com/chjj/pty.js/issues' },
silly resolved keywords: [ 'pty', 'tty', 'terminal' ],
silly resolved scripts: { test: 'node test', install: 'node-gyp rebuild' },
silly resolved tags: [ 'pty', 'tty', 'terminal' ],
silly resolved _id: '[email protected]',
silly resolved dependencies: {},
silly resolved devDependencies: {},
silly resolved optionalDependencies: {},
silly resolved engines: { node: '*' },
silly resolved _engineSupported: true,
silly resolved _npmVersion: '1.1.16',
silly resolved _nodeVersion: 'v0.6.15',
silly resolved _defaultsLoaded: true,
silly resolved _from: 'pty.js@>= 0.1.1' } ]
info into C:\V2Source\trunk\product\applications\UcpPostDeploy\server [email protected]
info installOne [email protected]
verbose from cache C:\Users\jclark\AppData\Roaming\npm-cache\pty.js\0.1.1\package\package.json
info unbuild C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\pty.js
verbose unpack C:\Users\jclark\AppData\Roaming\npm-cache\pty.js\0.1.1\package.tgz
silly gunzTarPerm modes [ '755', '644' ]
silly extracting entry package.json
silly modified mode [ 'package.json', 438, 420 ]
silly extracting entry .npmignore
silly modified mode [ '.npmignore', 438, 420 ]
silly extracting entry README.md
silly modified mode [ 'README.md', 438, 420 ]
silly extracting entry LICENSE
silly modified mode [ 'LICENSE', 438, 420 ]
silly extracting entry index.js
silly modified mode [ 'index.js', 438, 420 ]
silly extracting entry binding.gyp
silly modified mode [ 'binding.gyp', 438, 420 ]
silly extracting entry lib/pty.js
silly modified mode [ 'lib/pty.js', 438, 420 ]
silly extracting entry Makefile
silly modified mode [ 'Makefile', 438, 420 ]
silly extracting entry src/pty.cc
silly modified mode [ 'src/pty.cc', 438, 420 ]
silly extracting entry wscript
silly modified mode [ 'wscript', 438, 420 ]
verbose has bindings.gyp [ undefined,
verbose has bindings.gyp { file: 'C:\\V2Source\\trunk\\product\\applications\\UcpPostDeploy\\server\\node_modules\\pty.js\\package.json',
verbose has bindings.gyp gypfile: true,
verbose has bindings.gyp contributors: false,
verbose has bindings.gyp serverjs: false,
verbose has bindings.gyp wscript: true } ]
verbose has wscript [ undefined,
verbose has wscript { file: 'C:\\V2Source\\trunk\\product\\applications\\UcpPostDeploy\\server\\node_modules\\pty.js\\package.json',
verbose has wscript gypfile: true,
verbose has wscript contributors: false,
verbose has wscript serverjs: false,
verbose has wscript wscript: true } ]
verbose caching C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\pty.js\package.json
verbose loadDefaults [email protected]
info preinstall [email protected]
verbose from cache C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\pty.js\package.json
verbose readDependencies: using package.json deps
verbose from cache C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\pty.js\package.json
verbose readDependencies: using package.json deps
silly resolved []
verbose about to build C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\pty.js
info build C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\pty.js
verbose from cache C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\pty.js\package.json
verbose linkStuff [ false,
verbose linkStuff false,
verbose linkStuff false,
verbose linkStuff 'C:\\V2Source\\trunk\\product\\applications\\UcpPostDeploy\\server\\node_modules' ]
info linkStuff [email protected]
verbose linkBins [email protected]
verbose linkMans [email protected]
verbose rebuildBundles [email protected]
info install [email protected]
verbose unsafe-perm in lifecycle true
silly exec cmd "/c" "node-gyp rebuild"
silly spawning [ 'cmd',
silly spawning [ '/c', 'node-gyp rebuild' ],
silly spawning 'C:\\V2Source\\trunk\\product\\applications\\UcpPostDeploy\\server\\node_modules\\pty.js' ]
info [email protected] Failed to exec install script
info unbuild C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\pty.js
verbose from cache C:\V2Source\trunk\product\applications\UcpPostDeploy\server\node_modules\pty.js\package.json
info preuninstall [email protected]
info uninstall [email protected]
verbose unbuild [email protected] [ true,
verbose unbuild [email protected] 'C:\\V2Source\\trunk\\product\\applications\\UcpPostDeploy\\server\\node_modules',
verbose unbuild [email protected] 'C:\\V2Source\\trunk\\product\\applications\\UcpPostDeploy\\server\\node_modules' ]
info postuninstall [email protected]
ERR! [email protected] install: `node-gyp rebuild`
ERR! `cmd "/c" "node-gyp rebuild"` failed with 1
ERR!
ERR! Failed at the [email protected] install script.
ERR! This is most likely a problem with the pty.js package,
ERR! not with npm itself.
ERR! Tell the author that this fails on your system:
ERR! node-gyp rebuild
ERR! You can get their info via:
ERR! npm owner ls pty.js
ERR! There is likely additional logging output above.
ERR!
ERR! System Windows_NT 6.1.7601
ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-d"
ERR! cwd C:\V2Source\trunk\product\applications\UcpPostDeploy\server
ERR! node -v v0.6.15
ERR! npm -v 1.1.16
ERR! code ELIFECYCLE
ERR! message [email protected] install: `node-gyp rebuild`
ERR! message `cmd "/c" "node-gyp rebuild"` failed with 1
ERR! errno {}
verbose exit [ 1, true ]