Skip to content

Instantly share code, notes, and snippets.

@hardlifeofapo
Created March 19, 2013 15:10
Show Gist options
  • Save hardlifeofapo/5196921 to your computer and use it in GitHub Desktop.
Save hardlifeofapo/5196921 to your computer and use it in GitHub Desktop.
Errors when installing node-couchbase
Kara:nyan apolion$ npm install couchbase
npm http GET https://registry.npmjs.org/couchbase
npm http 304 https://registry.npmjs.org/couchbase
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/bindings
npm http 200 https://registry.npmjs.org/bindings
npm http 200 https://registry.npmjs.org/request
> couchbase@0.0.11 install /Users/apolion/nyan/node_modules/couchbase
> node-gyp rebuild
gyp WARN EACCES user "apolion" does not have permission to access the dev dir "/Users/apolion/.node-gyp/0.8.21"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/var/folders/5_/qpdzmlzn6tl84qdf6qm1wj2h0000gp/T/.node-gyp"
gyp http GET http://nodejs.org/dist/v0.8.21/node-v0.8.21.tar.gz
gyp http 200 http://nodejs.org/dist/v0.8.21/node-v0.8.21.tar.gz
CXX(target) Release/obj.target/couchbase_impl/src/args.o
In file included from ../src/args.cc:2:
In file included from ../src/couchbase_impl.h:55:
../src/args.h:92:22: warning: 'Couchnode::MGetArgs::sync' hides overloaded virtual function [-Woverloaded-virtual]
virtual void sync(const MGetArgs &other) {
^
../src/args.h:44:22: note: hidden overloaded virtual function 'Couchnode::CommonArgs::sync' declared here
virtual void sync(const CommonArgs &) { }
^
../src/args.cc:28:9: warning: unused variable 'nw' [-Wunused-variable]
int nw = s->WriteUtf8(*strp, -1, NULL, v8::String::NO_NULL_TERMINATION);
^
2 warnings generated.
CXX(target) Release/obj.target/couchbase_impl/src/couchbase_impl.o
In file included from ../src/couchbase_impl.cc:21:
In file included from ../src/couchbase_impl.h:55:
../src/args.h:92:22: warning: 'Couchnode::MGetArgs::sync' hides overloaded virtual function [-Woverloaded-virtual]
virtual void sync(const MGetArgs &other) {
^
../src/args.h:44:22: note: hidden overloaded virtual function 'Couchnode::CommonArgs::sync' declared here
virtual void sync(const CommonArgs &) { }
^
1 warning generated.
CXX(target) Release/obj.target/couchbase_impl/src/namemap.o
In file included from ../src/namemap.cc:17:
In file included from ../src/couchbase_impl.h:55:
../src/args.h:92:22: warning: 'Couchnode::MGetArgs::sync' hides overloaded virtual function [-Woverloaded-virtual]
virtual void sync(const MGetArgs &other) {
^
../src/args.h:44:22: note: hidden overloaded virtual function 'Couchnode::CommonArgs::sync' declared here
virtual void sync(const CommonArgs &) { }
^
1 warning generated.
CXX(target) Release/obj.target/couchbase_impl/src/notify.o
In file included from ../src/notify.cc:2:
In file included from ../src/couchbase_impl.h:55:
../src/args.h:92:22: warning: 'Couchnode::MGetArgs::sync' hides overloaded virtual function [-Woverloaded-virtual]
virtual void sync(const MGetArgs &other) {
^
../src/args.h:44:22: note: hidden overloaded virtual function 'Couchnode::CommonArgs::sync' declared here
virtual void sync(const CommonArgs &) { }
^
1 warning generated.
CXX(target) Release/obj.target/couchbase_impl/src/operations.o
In file included from ../src/operations.cc:17:
In file included from ../src/couchbase_impl.h:55:
../src/args.h:92:22: warning: 'Couchnode::MGetArgs::sync' hides overloaded virtual function [-Woverloaded-virtual]
virtual void sync(const MGetArgs &other) {
^
../src/args.h:44:22: note: hidden overloaded virtual function 'Couchnode::CommonArgs::sync' declared here
virtual void sync(const CommonArgs &) { }
^
1 warning generated.
CXX(target) Release/obj.target/couchbase_impl/src/cas.o
In file included from ../src/cas.cc:2:
In file included from ../src/couchbase_impl.h:55:
../src/args.h:92:22: warning: 'Couchnode::MGetArgs::sync' hides overloaded virtual function [-Woverloaded-virtual]
virtual void sync(const MGetArgs &other) {
^
../src/args.h:44:22: note: hidden overloaded virtual function 'Couchnode::CommonArgs::sync' declared here
virtual void sync(const CommonArgs &) { }
^
1 warning generated.
CC(target) Release/obj.target/couchbase_impl/io/common.o
../io/common.c:284:40: warning: unused variable 'evstate' [-Wunused-variable]
struct lcb_luv_evstate_st *evstate = sock->evstate + ii;
^
1 warning generated.
CC(target) Release/obj.target/couchbase_impl/io/socket.o
CC(target) Release/obj.target/couchbase_impl/io/read.o
CC(target) Release/obj.target/couchbase_impl/io/write.o
CC(target) Release/obj.target/couchbase_impl/io/timer.o
CC(target) Release/obj.target/couchbase_impl/io/plugin-libuv.o
../io/plugin-libuv.c:13:16: warning: unused variable 'l' [-Wunused-variable]
uv_loop_t *l = cookie->loop;
^
../io/plugin-libuv.c:50:13: warning: unused function 'sync_loop_run' [-Wunused-function]
static void sync_loop_run(struct lcb_io_opt_st *iops)
^
../io/plugin-libuv.c:62:13: warning: unused function 'sync_loop_stop' [-Wunused-function]
static void sync_loop_stop(struct lcb_io_opt_st *iops)
^
3 warnings generated.
CC(target) Release/obj.target/couchbase_impl/io/util/lcb_luv_yolog.o
../io/util/lcb_luv_yolog.c:91:1: warning: missing field 'o_alt' initializer [-Wmissing-field-initializers]
};
^
../io/util/lcb_luv_yolog.c:97:1: warning: missing field 'cb' initializer [-Wmissing-field-initializers]
};
^
../io/util/lcb_luv_yolog.c:1372:32: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
if (fread(buf, 1, fsz, fp) == -1) {
~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
../io/util/lcb_luv_yolog.c:1675:13: warning: implicit declaration of function '_stricmp' is invalid in C99 [-Wimplicit-function-declaration]
if (strcasecmp(contexts[ii].prefix, name) == 0 ) {
^
../io/util/lcb_luv_yolog.c:1642:20: note: expanded from macro 'strcasecmp'
#define strcasecmp _stricmp
^
../io/util/lcb_luv_yolog.c:2104:11: warning: missing field 'parent' initializer [-Wmissing-field-initializers]
] = { { 0 } };
^
5 warnings generated.
CC(target) Release/obj.target/couchbase_impl/io/util/hexdump.o
SOLINK_MODULE(target) Release/couchbase_impl.node
SOLINK_MODULE(target) Release/couchbase_impl.node: Finished
couchbase@0.0.11 node_modules/couchbase
├── bindings@1.0.0
└── request@2.11.4
Kara:nyan apolion$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment