Skip to content

Instantly share code, notes, and snippets.

@jackp
Created May 11, 2012 22:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jackp/2662804 to your computer and use it in GitHub Desktop.
Save jackp/2662804 to your computer and use it in GitHub Desktop.
Fibers Install Error
[admin@0a9006c5-8dc0-48a0-add9-4f48bbb8d13b /var/www/node_modules]$ sudo npm -g install fibers
npm http GET https://registry.npmjs.org/fibers
npm http 304 https://registry.npmjs.org/fibers
npm http GET https://registry.npmjs.org/node-gyp
npm http 304 https://registry.npmjs.org/node-gyp
npm http GET https://registry.npmjs.org/ansi
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/fstream
npm http GET https://registry.npmjs.org/mkdirp/0.3.0
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/tar
npm http GET https://registry.npmjs.org/which
npm http 304 https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/ansi
npm http 304 https://registry.npmjs.org/mkdirp/0.3.0
npm http 304 https://registry.npmjs.org/fstream
npm http 304 https://registry.npmjs.org/graceful-fs
npm http 304 https://registry.npmjs.org/nopt
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/semver
npm http 304 https://registry.npmjs.org/tar
npm http 304 https://registry.npmjs.org/which
npm http GET https://registry.npmjs.org/abbrev
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/abbrev
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/block-stream
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/block-stream
npm http 304 https://registry.npmjs.org/inherits
> fibers@0.6.7 install /opt/local/lib/node_modules/fibers
> node ./build.js
info it worked if it ends with ok
spawn python [ '/root/.node-gyp/0.6.6/tools/gyp_addon',
'binding.gyp',
'-I/opt/local/lib/node_modules/fibers/build/config.gypi',
'-f',
'make' ]
spawn make [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory `/opt/local/lib/node_modules/fibers/build'
CXX(target) Release/obj.target/fibers-solaris-x64/src/fibers.o
CXX(target) Release/obj.target/fibers-solaris-x64/src/coroutine.o
../src/coroutine.cc:23:41: warning: converting to non-pointer type 'pthread_key_t {aka unsigned int}' from NULL [-Wconversion-null]
../src/coroutine.cc:24:40: warning: converting to non-pointer type 'pthread_key_t {aka unsigned int}' from NULL [-Wconversion-null]
../src/coroutine.cc: In constructor 'Coroutine::Coroutine()':
../src/coroutine.cc:87:46: warning: passing NULL to non-pointer argument 5 of 'void coro_create(coro_context*, coro_func, void*, void*, long int)' [-Wconversion-null]
../src/coroutine.cc: In destructor 'Coroutine::~Coroutine()':
../src/coroutine.cc:110:24: warning: statement has no effect [-Wunused-value]
CC(target) Release/obj.target/fibers-solaris-x64/src/libcoro/coro.o
SOLINK_MODULE(target) Release/obj.target/fibers-solaris-x64.node
SOLINK_MODULE(target) Release/obj.target/fibers-solaris-x64.node: Finished
COPY Release/fibers-solaris-x64.node
make: Leaving directory `/opt/local/lib/node_modules/fibers/build'
info done ok
Build succeeded but `fibers-sunos-x64.node` not found
npm ERR! error installing fibers@0.6.7
npm ERR! fibers@0.6.7 install: `node ./build.js`
npm ERR! `sh "-c" "node ./build.js"` failed with 1
npm ERR!
npm ERR! Failed at the fibers@0.6.7 install script.
npm ERR! This is most likely a problem with the fibers package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls fibers
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System SunOS 5.11
npm ERR! command "node" "/opt/local/bin/npm" "-g" "install" "fibers"
npm ERR! cwd /var/www/node_modules
npm ERR! node -v v0.6.6
npm ERR! npm -v 1.1.0-beta-4
npm ERR! code ELIFECYCLE
npm ERR! message fibers@0.6.7 install: `node ./build.js`
npm ERR! message `sh "-c" "node ./build.js"` failed with 1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /var/www/node_modules/npm-debug.log
npm not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment