Skip to content

Instantly share code, notes, and snippets.

@amcintyre99
Created June 14, 2014 02:23
Show Gist options
  • Save amcintyre99/d4ba9482460c8261b574 to your computer and use it in GitHub Desktop.
Save amcintyre99/d4ba9482460c8261b574 to your computer and use it in GitHub Desktop.
npm rebuild odbc
> [email protected] preinstall /home/andrew/dma/prd/node_modules/odbc
> node-gyp configure build
make: Entering directory `/home/andrew/dma/prd/node_modules/odbc/build'
CXX(target) Release/obj.target/odbc_bindings/src/odbc.o
../src/odbc.cpp: In static member function ‘static v8::Local<v8::Object> ODBC::GetSQLError(SQLSMALLINT, SQLHANDLE, char*)’:
../src/odbc.cpp:868:58: error: expected ‘)’ before ‘;’ token
str = String::Concat(str, String::New(errorMessage);
^
make: *** [Release/obj.target/odbc_bindings/src/odbc.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:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:807:12)
gyp ERR! System Linux 3.13.0-29-generic
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /home/andrew/dma/prd/node_modules/odbc
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment