Created
November 9, 2012 17:05
-
-
Save shripadk/4046882 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ test sudo npm install test-sigar-gyp --verbose | |
npm info it worked if it ends with ok | |
npm verb cli [ '/Users/shripadk/node/bin/node', | |
npm verb cli '/Users/shripadk/node/bin/npm', | |
npm verb cli 'install', | |
npm verb cli 'test-sigar-gyp', | |
npm verb cli '--verbose' ] | |
npm info using [email protected] | |
npm info using [email protected] | |
npm verb read json /Users/shripadk/Test/package.json | |
npm verb read json /Users/shripadk/Test/node_modules/cookie/package.json | |
npm verb read json /Users/shripadk/Test/node_modules/ekg/package.json | |
npm verb read json /Users/shripadk/Test/node_modules/express/package.json | |
npm verb read json /Users/shripadk/Test/node_modules/i18n/package.json | |
npm verb read json /Users/shripadk/Test/node_modules/sigar/package.json | |
npm verb read json /Users/shripadk/Test/package.json | |
npm verb cache add [ 'test-sigar-gyp', null ] | |
npm verb parsed url { pathname: 'test-sigar-gyp', | |
npm verb parsed url path: 'test-sigar-gyp', | |
npm verb parsed url href: 'test-sigar-gyp' } | |
npm verb lock test-sigar-gyp /Users/shripadk/.npm/f5183407-test-sigar-gyp.lock | |
npm verb addNamed [ 'test-sigar-gyp', '' ] | |
npm verb addNamed [ null, '' ] | |
npm verb lock test-sigar-gyp@ /Users/shripadk/.npm/c1112494-test-sigar-gyp.lock | |
npm verb url raw test-sigar-gyp | |
npm verb url resolving [ 'https://registry.npmjs.org/', './test-sigar-gyp' ] | |
npm verb url resolved https://registry.npmjs.org/test-sigar-gyp | |
npm info trying registry request attempt 1 at 22:32:54 | |
npm verb etag "O34B7RZ1HP0IDDLV8RUDAK4K" | |
npm http GET https://registry.npmjs.org/test-sigar-gyp | |
npm http 304 https://registry.npmjs.org/test-sigar-gyp | |
npm verb etag test-sigar-gyp from cache | |
npm verb addNamed [ 'test-sigar-gyp', '0.0.2' ] | |
npm verb addNamed [ '0.0.2', '0.0.2' ] | |
npm verb lock [email protected] /Users/shripadk/.npm/515e16c9-test-sigar-gyp-0-0-2.lock | |
npm verb read json /Users/shripadk/.npm/test-sigar-gyp/0.0.2/package/package.json | |
npm info install [email protected] into /Users/shripadk/Test | |
npm info installOne [email protected] | |
npm verb from cache /Users/shripadk/.npm/test-sigar-gyp/0.0.2/package/package.json | |
npm info /Users/shripadk/Test/node_modules/test-sigar-gyp unbuild | |
npm verb read json /Users/shripadk/Test/node_modules/test-sigar-gyp/package.json | |
npm verb tar unpack /Users/shripadk/.npm/test-sigar-gyp/0.0.2/package.tgz | |
npm verb lock /Users/shripadk/Test/node_modules/test-sigar-gyp /Users/shripadk/.npm/6d2146df-Test-node-modules-test-sigar-gyp.lock | |
npm verb read json /Users/shripadk/Test/node_modules/test-sigar-gyp/package.json | |
npm info preinstall [email protected] | |
npm verb from cache /Users/shripadk/Test/node_modules/test-sigar-gyp/package.json | |
npm verb readDependencies using package.json deps | |
npm verb from cache /Users/shripadk/Test/node_modules/test-sigar-gyp/package.json | |
npm verb readDependencies using package.json deps | |
npm verb about to build /Users/shripadk/Test/node_modules/test-sigar-gyp | |
npm info build /Users/shripadk/Test/node_modules/test-sigar-gyp | |
npm verb from cache /Users/shripadk/Test/node_modules/test-sigar-gyp/package.json | |
npm verb linkStuff [ false, false, false, '/Users/shripadk/Test/node_modules' ] | |
npm info linkStuff [email protected] | |
npm verb linkBins [email protected] | |
npm verb linkMans [email protected] | |
npm verb rebuildBundles [email protected] | |
npm info install [email protected] | |
npm verb unsafe-perm in lifecycle false | |
> [email protected] install /Users/shripadk/Test/node_modules/test-sigar-gyp | |
> node-gyp rebuild | |
npm verb set uid from=0 to=501 | |
gyp info it worked if it ends with ok | |
gyp verb cli [ 'node', '/Users/shripadk/node/bin/node-gyp', 'rebuild' ] | |
gyp info using [email protected] | |
gyp info using [email protected] | darwin | x64 | |
gyp verb command rebuild [] | |
gyp verb command clean [] | |
gyp verb clean removing "build" directory | |
gyp verb command configure [] | |
gyp verb check python checking for Python executable "python" in the PATH | |
gyp verb `which` succeeded for `%s` python /usr/bin/python | |
gyp verb check python version `python -c "import platform; print platform.python_version();"` returned: "2.7.1\n" | |
gyp verb get node dir no --target version specified, falling back to host node version: v0.8.14 | |
gyp verb command install [ 'v0.8.14' ] | |
gyp verb install input version string "v0.8.14" | |
gyp verb installing legacy version? false | |
gyp verb install installing version: 0.8.14 | |
gyp verb install --ensure was passed, so won't reinstall if already installed | |
gyp verb install version is already installed, need to check "installVersion" | |
gyp verb got "installVersion" 9 | |
gyp verb needs "installVersion" 9 | |
gyp verb install version is good | |
gyp verb get node dir target node version installed: 0.8.14 | |
gyp verb build dir attempting to create "build" dir: /Users/shripadk/Test/node_modules/test-sigar-gyp/build | |
gyp verb build dir "build" dir needed to be created? /Users/shripadk/Test/node_modules/test-sigar-gyp/build | |
gyp verb config.gypi creating config file | |
gyp verb config.gypi writing out config file: /Users/shripadk/Test/node_modules/test-sigar-gyp/build/config.gypi | |
gyp verb gyp gyp format was not specified; forcing "make" | |
gyp info spawn python | |
gyp info spawn args [ '/Users/shripadk/.node-gyp/0.8.14/tools/gyp/gyp', | |
gyp info spawn args 'binding.gyp', | |
gyp info spawn args '-f', | |
gyp info spawn args 'make', | |
gyp info spawn args '-I', | |
gyp info spawn args '/Users/shripadk/Test/node_modules/test-sigar-gyp/build/config.gypi', | |
gyp info spawn args '-I', | |
gyp info spawn args '/Users/shripadk/node/lib/node_modules/node-gyp/addon.gypi', | |
gyp info spawn args '-I', | |
gyp info spawn args '/Users/shripadk/.node-gyp/0.8.14/common.gypi', | |
gyp info spawn args '-Dlibrary=shared_library', | |
gyp info spawn args '-Dvisibility=default', | |
gyp info spawn args '-Dnode_root_dir=/Users/shripadk/.node-gyp/0.8.14', | |
gyp info spawn args '-Dmodule_root_dir=/Users/shripadk/Test/node_modules/test-sigar-gyp', | |
gyp info spawn args '--depth=.', | |
gyp info spawn args '--generator-output', | |
gyp info spawn args 'build', | |
gyp info spawn args '-Goutput_dir=.' ] | |
configure.ac:6: installing `./config.sub' | |
configure.ac:5: installing `./missing' | |
configure.ac:5: installing `./install-sh' | |
configure.ac:6: installing `./config.guess' | |
bindings/lua/Makefile.am: installing `./depcomp' | |
darwin_sigar.c: In function 'sigar_os_sys_info_get': | |
darwin_sigar.c:3625:21: warning: multi-character character constant [-Wmultichar] | |
darwin_sigar.c:3626:21: warning: multi-character character constant [-Wmultichar] | |
darwin_sigar.c:3627:21: warning: multi-character character constant [-Wmultichar] | |
cpuinfo.c: In function 'main': | |
cpuinfo.c:33:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] | |
sigar_ps.c: In function 'main': | |
sigar_ps.c:33:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] | |
Traceback (most recent call last): | |
File "/Users/shripadk/.node-gyp/0.8.14/tools/gyp/gyp", line 18, in <module> | |
sys.exit(gyp.main(sys.argv[1:])) | |
File "/Users/shripadk/.node-gyp/0.8.14/tools/gyp/pylib/gyp/__init__.py", line 511, in main | |
return gyp_main(args) | |
File "/Users/shripadk/.node-gyp/0.8.14/tools/gyp/pylib/gyp/__init__.py", line 494, in gyp_main | |
options.circular_check) | |
File "/Users/shripadk/.node-gyp/0.8.14/tools/gyp/pylib/gyp/__init__.py", line 133, in Load | |
depth, generator_input_info, check, circular_check) | |
File "/Users/shripadk/.node-gyp/0.8.14/tools/gyp/pylib/gyp/input.py", line 2378, in Load | |
depth, check) | |
File "/Users/shripadk/.node-gyp/0.8.14/tools/gyp/pylib/gyp/input.py", line 384, in LoadTargetBuildFile | |
build_file_data, PHASE_EARLY, variables, build_file_path) | |
File "/Users/shripadk/.node-gyp/0.8.14/tools/gyp/pylib/gyp/input.py", line 1053, in ProcessVariablesAndConditionsInDict | |
build_file) | |
File "/Users/shripadk/.node-gyp/0.8.14/tools/gyp/pylib/gyp/input.py", line 1068, in ProcessVariablesAndConditionsInList | |
ProcessVariablesAndConditionsInDict(item, phase, variables, build_file) | |
File "/Users/shripadk/.node-gyp/0.8.14/tools/gyp/pylib/gyp/input.py", line 1027, in ProcessVariablesAndConditionsInDict | |
ProcessConditionsInDict(the_dict, phase, variables, build_file) | |
File "/Users/shripadk/.node-gyp/0.8.14/tools/gyp/pylib/gyp/input.py", line 904, in ProcessConditionsInDict | |
variables, build_file) | |
File "/Users/shripadk/.node-gyp/0.8.14/tools/gyp/pylib/gyp/input.py", line 982, in ProcessVariablesAndConditionsInDict | |
expanded = ExpandVariables(value, phase, variables, build_file) | |
File "/Users/shripadk/.node-gyp/0.8.14/tools/gyp/pylib/gyp/input.py", line 714, in ExpandVariables | |
(contents, p.returncode)) | |
Exception: Call to 'sudo cp -rp /Users/shripadk/Test/node_modules/test-sigar-gyp/deps/sigar /Users/shripadk/Test/node_modules/test-sigar-gyp/build/sigar && cd /Users/shripadk/Test/node_modules/test-sigar-gyp/build/sigar && sudo ./autogen.sh && sudo ./configure --prefix=/Users/shripadk/Test/node_modules/test-sigar-gyp/build/Release --with-pic && sudo make && sudo make install' returned exit status 0. while trying to load binding.gyp | |
gyp ERR! configure error | |
gyp ERR! stack Error: `gyp` failed with exit code: 1 | |
gyp ERR! stack at ChildProcess.onCpExit (/Users/shripadk/node/lib/node_modules/node-gyp/lib/configure.js:395:16) | |
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17) | |
gyp ERR! stack at Process._handle.onexit (child_process.js:678:10) | |
gyp ERR! System Darwin 11.2.0 | |
gyp ERR! command "node" "/Users/shripadk/node/bin/node-gyp" "rebuild" | |
gyp ERR! cwd /Users/shripadk/Test/node_modules/test-sigar-gyp | |
gyp ERR! node -v v0.8.14 | |
gyp ERR! node-gyp -v v0.7.3 | |
gyp ERR! not ok | |
npm info [email protected] Failed to exec install script | |
npm info /Users/shripadk/Test/node_modules/test-sigar-gyp unbuild | |
npm verb from cache /Users/shripadk/Test/node_modules/test-sigar-gyp/package.json | |
npm info preuninstall [email protected] | |
npm info uninstall [email protected] | |
npm verb true,/Users/shripadk/Test/node_modules,/Users/shripadk/Test/node_modules unbuild [email protected] | |
npm info postuninstall [email protected] | |
npm ERR! [email protected] install: `node-gyp rebuild` | |
npm ERR! `sh "-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 test-sigar-gyp 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 test-sigar-gyp | |
npm ERR! There is likely additional logging output above. | |
npm ERR! System Darwin 11.2.0 | |
npm ERR! command "/Users/shripadk/node/bin/node" "/Users/shripadk/node/bin/npm" "install" "test-sigar-gyp" "--verbose" | |
npm ERR! cwd /Users/shripadk/Test | |
npm ERR! node -v v0.8.14 | |
npm ERR! npm -v 1.1.65 | |
npm ERR! code ELIFECYCLE | |
npm verb exit [ 1, true ] | |
npm ERR! | |
npm ERR! Additional logging details can be found in: | |
npm ERR! /Users/shripadk/Test/npm-debug.log | |
npm ERR! not ok code 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment