Skip to content

Instantly share code, notes, and snippets.

@peterudo
Created August 15, 2011 21:51
Show Gist options
  • Save peterudo/1147960 to your computer and use it in GitHub Desktop.
Save peterudo/1147960 to your computer and use it in GitHub Desktop.
mbp-peter:~ peter$ sudo npm install glob
> glob@2.0.7 preinstall /Users/peter/node_modules/glob
> node-waf clean || true; node-waf configure build
Nothing to clean (project not configured)
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /Users/peter/local/node
'configure' finished successfully (0.040s)
Waf: Entering directory `/Users/peter/node_modules/glob/build'
[1/8] cxx: deps/glob/glob.c -> build/default/deps/glob/glob_1.o
[2/8] cxx: deps/fnmatch/fnmatch.c -> build/default/deps/fnmatch/fnmatch_2.o
[3/8] cxx: src/glob.cc -> build/default/src/glob_3.o
[4/8] cxx: deps/glob/glob.c -> build/default/deps/glob/glob_4.o
[5/8] cxx: deps/fnmatch/fnmatch.c -> build/default/deps/fnmatch/fnmatch_5.o
[6/8] cxx: src/glob.cc -> build/default/src/glob_6.o
../src/glob.cc: In function ‘v8::Handle<v8::Value> GlobAsync(const v8::Arguments&)’:
../src/glob.cc:150: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’
../src/glob.cc:150: error: initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)’
../src/glob.cc: In function ‘int EIO_Glob(eio_req*)’:
../src/glob.cc:87: warning: format ‘%i’ expects type ‘int’, but argument 3 has type ‘const char*’
../src/glob.cc: In function ‘int EIO_GlobAfter(eio_req*)’:
../src/glob.cc:101: warning: format ‘%i’ expects type ‘int’, but argument 3 has type ‘const char*’
../src/glob.cc:120: warning: format ‘%i’ expects type ‘int’, but argument 3 has type ‘glob_t*’
../src/glob.cc:120: warning: format ‘%i’ expects type ‘int’, but argument 3 has type ‘const char*’
../src/glob.cc:122: warning: format ‘%i’ expects type ‘int’, but argument 3 has type ‘glob_request*’
../src/glob.cc:122: warning: format ‘%i’ expects type ‘int’, but argument 3 has type ‘const char*’
../src/glob.cc: In function ‘v8::Handle<v8::Value> GlobAsync(const v8::Arguments&)’:
../src/glob.cc:142: warning: format ‘%i’ expects type ‘int’, but argument 3 has type ‘glob_request*’
../src/glob.cc:142: warning: format ‘%i’ expects type ‘int’, but argument 3 has type ‘const char*’
../src/glob.cc:150: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’
../src/glob.cc:150: error: initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)’
../src/glob.cc:151: warning: format ‘%i’ expects type ‘int’, but argument 3 has type ‘eio_req*’
../src/glob.cc:151: warning: format ‘%i’ expects type ‘int’, but argument 3 has type ‘const char*’
../src/glob.cc: In function ‘v8::Handle<v8::Value> GlobSync(const v8::Arguments&)’:
../src/glob.cc:170: warning: format ‘%i’ expects type ‘int’, but argument 3 has type ‘const char*’
../src/glob.cc:175: warning: format ‘%i’ expects type ‘int’, but argument 3 has type ‘const char*’
Waf: Leaving directory `/Users/peter/node_modules/glob/build'
Build failed:
-> task failed (err #1):
{task: cxx glob.cc -> glob_3.o}
-> task failed (err #1):
{task: cxx glob.cc -> glob_6.o}
npm ERR! error installing glob@2.0.7 Error: glob@2.0.7 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! error installing glob@2.0.7 `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR! error installing glob@2.0.7 at ChildProcess.<anonymous> (/Users/peter/local/node/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing glob@2.0.7 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing glob@2.0.7 at ChildProcess.onexit (child_process_legacy.js:246:12)
npm ERR! glob@2.0.7 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the glob@2.0.7 preinstall script.
npm ERR! This is most likely a problem with the glob package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf clean || true; node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls glob
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 10.8.0
npm ERR! command "node" "/Users/peter/local/node/bin/npm" "install" "glob"
npm ERR! cwd /Users/peter
npm ERR! node -v v0.5.4
npm ERR! npm -v 1.0.24
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/peter/npm-debug.log
npm not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment