Skip to content

Instantly share code, notes, and snippets.

@amcintyre99
Created April 24, 2015 21:34
Show Gist options
  • Save amcintyre99/f929d6bb7e4b64b2e966 to your computer and use it in GitHub Desktop.
Save amcintyre99/f929d6bb7e4b64b2e966 to your computer and use it in GitHub Desktop.
$ npm uninstall odbc
npm WARN uninstall not installed in /home/andrew/dma/prd/node_modules: "odbc"
$ npm install wankdanker/node-odbc#v1.0-fix-dynodbc
\
> odbc@1.1.0 install /home/andrew/dma/prd/node_modules/odbc
> node-gyp rebuild
make: Entering directory `/home/andrew/dma/prd/node_modules/odbc/build'
CXX(target) Release/obj.target/odbc_bindings/src/odbc.o
CXX(target) Release/obj.target/odbc_bindings/src/odbc_connection.o
../src/odbc_connection.cpp: In static member function ‘static void ODBCConnection::Query(const v8::FunctionCallbackInfo<v8::Value>&)’:
../src/odbc_connection.cpp:773:21: warning: variable ‘optionNoResultsKey’ set but not used [-Wunused-but-set-variable]
Local<String> optionNoResultsKey = NanNew(OPTION_NORESULTS);
^
CXX(target) Release/obj.target/odbc_bindings/src/odbc_statement.o
In file included from ../src/odbc_statement.cpp:18:0:
/home/andrew/.node-gyp/0.12.2/deps/v8/include/v8.h: In instantiation of ‘static void v8::NonCopyablePersistentTraits<T>::Uncompilable() [with O = v8::Object; T = v8::Object]’:
/home/andrew/.node-gyp/0.12.2/deps/v8/include/v8.h:592:17: required from ‘static void v8::NonCopyablePersistentTraits<T>::Copy(const v8::Persistent<S, M>&, v8::NonCopyablePersistentTraits<T>::NonCopyablePersistent*) [with S = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; T = v8::Object; v8::NonCopyablePersistentTraits<T>::NonCopyablePersistent = v8::Persistent<v8::Object>]’
/home/andrew/.node-gyp/0.12.2/deps/v8/include/v8.h:5826:21: required from ‘void v8::Persistent<T, M>::Copy(const v8::Persistent<S, M>&) [with S = v8::Object; M2 = v8::NonCopyablePersistentTraits<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>]’
/home/andrew/.node-gyp/0.12.2/deps/v8/include/v8.h:657:14: required from ‘v8::Persistent<T, M>::Persistent(const v8::Persistent<T, M>&) [with T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>]’
../src/odbc_statement.cpp:573:5: required from here
/home/andrew/.node-gyp/0.12.2/deps/v8/include/v8.h:167:37: error: cannot convert ‘v8::Primitive*’ to ‘v8::Object* volatile’ in assignment
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^
/home/andrew/.node-gyp/0.12.2/deps/v8/include/v8.h:596:5: note: in expansion of macro ‘TYPE_CHECK’
TYPE_CHECK(O, Primitive);
^
make: *** [Release/obj.target/odbc_bindings/src/odbc_statement.o] Error 1
make: Leaving directory `/home/andrew/dma/prd/node_modules/odbc/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/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 3.13.0-48-generic
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/andrew/dma/prd/node_modules/odbc
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm ERR! Linux 3.13.0-48-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "wankdanker/node-odbc#v1.0-fix-dynodbc"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ELIFECYCLE
npm ERR! odbc@1.1.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the odbc@1.1.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the odbc 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 odbc
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/andrew/dma/prd/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment