bcle/fuse4js

Compilation fails on CentOS 6.5 with nodejs-0.10.33-1.el6.x86_64 and fuse-devel-2.8.3-4.el6.x86_64

bcle opened this issue · 0 comments

bcle commented

npm install fuse4js
npm http GET https://registry.npmjs.org/fuse4js
npm http 304 https://registry.npmjs.org/fuse4js
npm http GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/nan

fuse4js@0.1.11 install /tmp/node_modules/fuse4js
node-gyp rebuild

make: Entering directory /tmp/node_modules/fuse4js/build' CXX(target) Release/obj.target/fuse4js/fuse4js.o ../fuse4js.cc: In function \u2018void* fuse_thread(void*)\u2019: ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::readlink\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::getdir\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::mknod\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::mkdir\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::unlink\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::rmdir\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::symlink\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::rename\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::link\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::chmod\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::chown\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::truncate\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::utime\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::open\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::read\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::write\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::statfs\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::flush\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::release\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::fsync\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::setxattr\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::getxattr\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::listxattr\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::removexattr\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::opendir\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::readdir\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::releasedir\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::fsyncdir\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::init\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::destroy\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::access\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::create\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::ftruncate\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::fgetattr\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::lock\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::utimens\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::bmap\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::flag_nullpath_ok\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::flag_reserved\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::ioctl\u2019 ../fuse4js.cc:384: warning: missing initializer for member \u2018fuse_operations::poll\u2019 ../fuse4js.cc: In function \u2018v8::Handle<v8::Value> ProcessReturnValue(const v8::Arguments&)\u2019: ../fuse4js.cc:446: warning: no return statement in function returning non-void ../fuse4js.cc: In function \u2018void DispatchOp(uv_async_t*, int)\u2019: ../fuse4js.cc:803: error: return-statement with a value, in function returning 'void' make: *** [Release/obj.target/fuse4js/fuse4js.o] Error 1 make: Leaving directory/tmp/node_modules/fuse4js/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Linux 2.6.32-504.8.1.el6.x86_64
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/node_modules/fuse4js
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v0.10.6
gyp ERR! not ok
npm ERR! weird error 1
npm ERR! not ok code 0