Created
April 25, 2015 02:28
-
-
Save amcintyre99/9a15c6c4e0e0ad55190d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat /etc/*release | |
DISTRIB_ID=Ubuntu | |
DISTRIB_RELEASE=14.04 | |
DISTRIB_CODENAME=trusty | |
DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS" | |
NAME="Ubuntu" | |
VERSION="14.04.2 LTS, Trusty Tahr" | |
ID=ubuntu | |
ID_LIKE=debian | |
PRETTY_NAME="Ubuntu 14.04.2 LTS" | |
VERSION_ID="14.04" | |
HOME_URL="http://www.ubuntu.com/" | |
SUPPORT_URL="http://help.ubuntu.com/" | |
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" | |
$ uname -a | |
Linux quark 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux | |
$ sudo apt-get remove nodejs | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following packages were automatically installed and are no longer required: | |
linux-headers-3.13.0-46 linux-headers-3.13.0-46-generic | |
linux-image-3.13.0-46-generic linux-image-extra-3.13.0-46-generic rlwrap | |
Use 'apt-get autoremove' to remove them. | |
The following packages will be REMOVED: | |
nodejs | |
0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded. | |
After this operation, 25.6 MB disk space will be freed. | |
Do you want to continue? [Y/n] y | |
(Reading database ... 214069 files and directories currently installed.) | |
Removing nodejs (0.12.2-1nodesource1~trusty1) ... | |
Processing triggers for man-db (2.6.7.1-1ubuntu1) ... | |
$ sudo apt-get install nodejs | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following packages were automatically installed and are no longer required: | |
linux-headers-3.13.0-46 linux-headers-3.13.0-46-generic | |
linux-image-3.13.0-46-generic linux-image-extra-3.13.0-46-generic | |
Use 'apt-get autoremove' to remove them. | |
The following NEW packages will be installed: | |
nodejs | |
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded. | |
Need to get 0 B/5,195 kB of archives. | |
After this operation, 25.6 MB of additional disk space will be used. | |
Selecting previously unselected package nodejs. | |
(Reading database ... 211915 files and directories currently installed.) | |
Preparing to unpack .../nodejs_0.12.2-1nodesource1~trusty1_amd64.deb ... | |
Unpacking nodejs (0.12.2-1nodesource1~trusty1) ... | |
Processing triggers for man-db (2.6.7.1-1ubuntu1) ... | |
Setting up nodejs (0.12.2-1nodesource1~trusty1) ... | |
$ node -v | |
v0.12.2 | |
$ npm install odbc | |
| | |
> [email protected] 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 | |
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" "odbc" | |
npm ERR! node v0.12.2 | |
npm ERR! npm v2.7.4 | |
npm ERR! code ELIFECYCLE | |
npm ERR! [email protected] install: `node-gyp rebuild` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] 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