Open jbarnamtu opened 9 years ago
sounds like you don't have make
installed on the machine where you got this error or that it isn't in the PATH of the user that is performing the install.
make is installed under /usr/bin
[root@node0180 openbadges-badgekit]# echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
this is RHEL 7 server...
On Tue, Aug 4, 2015 at 4:13 PM, Sam Shull notifications@github.com wrote:
sounds like you don't have make installed on the machine where you got this error or that it isn't in the PATH of the user that is performing the install.
— Reply to this email directly or view it on GitHub https://github.com/samshull/node-proxy/issues/40#issuecomment-127742822.
Jason Barna IT Services Information Technology Michigan Technological University
Try npm install node-proxy -g
. It appears that you have a problem with your tooling.
[root@node0180 openbadges-badgekit]# npm install node-proxy -g
node-proxy@0.9.0 install /usr/lib/node_modules/node-proxy node-gyp configure build
make: Entering directory /usr/lib/node_modules/node-proxy/build' CXX(target) Release/obj.target/nodeproxy/src/node-proxy.o make: g++: Command not found make: *** [Release/obj.target/nodeproxy/src/node-proxy.o] Error 127 make: Leaving directory
/usr/lib/node_modules/node-proxy/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.10.0-229.4.2.el7.x86_64
gyp ERR! command "node"
"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"configure" "build"
gyp ERR! cwd /usr/lib/node_modules/node-proxy
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm ERR! Linux 3.10.0-229.4.2.el7.x86_64
npm ERR! argv "node" "/usr/bin/npm" "install" "node-proxy" "-g"
npm ERR! node v0.12.7
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE
npm ERR! node-proxy@0.9.0 install: node-gyp configure build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-proxy@0.9.0 install script 'node-gyp configure
build'.
npm ERR! This is most likely a problem with the node-proxy package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls node-proxy
npm ERR! There is likely additional logging output above.
On Tue, Aug 4, 2015 at 4:18 PM, Sam Shull notifications@github.com wrote:
Try npm install node-proxy -g. It appears that you have a problem with your tooling.
— Reply to this email directly or view it on GitHub https://github.com/samshull/node-proxy/issues/40#issuecomment-127746090.
Jason Barna IT Services Information Technology Michigan Technological University
make: g++: Command not found
It has something to do with your tooling on that machine.
That did it... odd you would think it would be installed as part of gcc itself or when you installed nodejs from the repository...
On Tue, Aug 4, 2015 at 4:23 PM, Sam Shull notifications@github.com wrote:
https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#debian-and-ubuntu-based-linux-distributions See the section on RHEL using yum
— Reply to this email directly or view it on GitHub https://github.com/samshull/node-proxy/issues/40#issuecomment-127748084.
Jason Barna IT Services Information Technology Michigan Technological University
when running npm install client-sessions..
../src/node-proxy.cc:845:12: note: in expansion of macro ‘THR_TYPE_ERROR’
return THR_TYPE_ERROR("SetNamedProperty intercepted "
^
../src/./node-proxy.h:44:56: error: ‘ThrowException’ was not declared in
this scope
ThrowException(Exception::TypeError(String::New(str)))
^
../src/node-proxy.cc:845:12: note: in expansion of macro ‘THR_TYPE_ERROR’
return THR_TYPEERROR("SetNamedProperty intercepted "
^
../src/node-proxy.cc:850:28: error: request for member ‘This’ in ‘info’,
which is of non-class type ‘const int’
Local
^
../src/./node-proxy.h:41:58: error: ‘ThrowException’ was not declared in this scope
^
../src/node-proxy.cc:877:16: note: in expansion of macro ‘THREXCW’
return THREXCW(
^
../src/node-proxy.cc:883:52: error: no matching function for call to
‘v8::Object::Get(v8::Persistentv8::String&)’
Local
^
../src/node-proxy.cc:909:91: note: candidates are:
In file included from ../src/./node-proxy.h:37:0,
from ../src/node-proxy.cc:33:
/root/.node-gyp/0.12.7/deps/v8/include/v8.h:2128:16: note:
v8::Localv8::Value v8::Object::Get(v8::Handlev8::Value)
Local
^
../src/node-proxy.cc:916:85: error: no matching function for call to
‘v8::Object::Get(v8::Persistentv8::String&)’
Local
^
../src/node-proxy.cc:916:85: note: candidates are:
In file included from ../src/./node-proxy.h:37:0,
from ../src/node-proxy.cc:33:
/root/.node-gyp/0.12.7/deps/v8/include/v8.h:2128:16: note:
v8::Localv8::Value v8::Object::Get(v8::Handlev8::Value)
Local
^
../src/node-proxy.cc:989:93: note: candidates are:
In file included from ../src/./node-proxy.h:37:0,
from ../src/node-proxy.cc:33:
/root/.node-gyp/0.12.7/deps/v8/include/v8.h:2128:16: note:
v8::Localv8::Value v8::Object::Get(v8::Handlev8::Value)
Local
^
../src/node-proxy.cc:995:87: note: candidates are:
In file included from ../src/./node-proxy.h:37:0,
from ../src/node-proxy.cc:33:
/root/.node-gyp/0.12.7/deps/v8/include/v8.h:2128:16: note:
v8::Localv8::Value v8::Object::Get(v8::Handlev8::Value)
Local
^
../src/node-proxy.cc:1062:93: note: candidates are:
In file included from ../src/./node-proxy.h:37:0,
from ../src/node-proxy.cc:33:
/root/.node-gyp/0.12.7/deps/v8/include/v8.h:2128:16: note:
v8::Localv8::Value v8::Object::Get(v8::Handlev8::Value)
Local
^
../src/node-proxy.cc:1073:87: note: candidates are:
In file included from ../src/./node-proxy.h:37:0,
from ../src/node-proxy.cc:33:
/root/.node-gyp/0.12.7/deps/v8/include/v8.h:2128:16: note:
v8::Localv8::Value v8::Object::Get(v8::Handlev8::Value)
Local
^
../src/node-proxy.cc:1224:77: note: candidates are:
In file included from ../src/./node-proxy.h:37:0,
from ../src/node-proxy.cc:33:
/root/.node-gyp/0.12.7/deps/v8/include/v8.h:2128:16: note:
v8::Localv8::Value v8::Object::Get(v8::Handlev8::Value)
Local
make: Entering directory
/usr/openbadging/openbadges-badgekit/node_modules/client-sessions/node_modules/node-proxy/build' CXX(target) Release/obj.target/nodeproxy/src/node-proxy.o make: g++: Command not found make: *** [Release/obj.target/nodeproxy/src/node-proxy.o] Error 127 make: Leaving directory
/usr/openbadging/openbadges-badgekit/node_modules/client-sessions/node_modules/node-proxy/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.10.0-229.4.2.el7.x86_64 gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build" cwd /usr/openbadging/openbadges-badgekit/node_modules/client-sessions/node_modules/node-proxy gyp ERR! node -v v0.12.7 gyp ERR! node-gyp -v v2.0.2gyp ERR! not ok
child_process: customFds option is deprecated, use stdio instead. make: Entering directory
/usr/openbadging/openbadges-badgekit/node_modules/node-sass/build' CXX(target) Release/obj.target/binding/binding.o make: g++: Command not found make: *** [Release/obj.target/binding/binding.o] Error 127 make: Leaving directory
/usr/openbadging/openbadges-badgekit/node_modules/node-sass/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.10.0-229.4.2.el7.x86_64 gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/openbadging/openbadges-badgekit/node_modules/node-sass gyp ERR! node -v v0.12.7 gyp ERR! node-gyp -v v2.0.2 gyp ERR! not ok Build failed npm ERR! Linux 3.10.0-229.4.2.el7.x86_64 npm ERR! argv "node" "/usr/bin/npm" "install" npm ERR! node v0.12.7 npm ERR! npm v2.13.3 npm ERR! code ELIFECYCLEnpm ERR! node-proxy@0.6.0 install:
node-gyp configure build
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-proxy@0.6.0 install script 'node-gyp configure build'. npm ERR! This is most likely a problem with the node-proxy package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp configure build npm ERR! You can get their info via: npm ERR! npm owner ls node-proxy npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request: npm ERR! /usr/openbadging/openbadges-badgekit/npm-debug.log
if I just do npm install node-proxy
[root@node0180 openbadges-badgekit]# npm install node-proxy npm WARN package.json openbadges-badgekit@0.1.39 license should be a valid SPDX license expression /
make: Entering directory
/usr/openbadging/openbadges-badgekit/node_modules/node-proxy/build' CXX(target) Release/obj.target/nodeproxy/src/node-proxy.o make: g++: Command not found make: *** [Release/obj.target/nodeproxy/src/node-proxy.o] Error 127 make: Leaving directory
/usr/openbadging/openbadges-badgekit/node_modules/node-proxy/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.10.0-229.4.2.el7.x86_64 gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build" gyp ERR! cwd /usr/openbadging/openbadges-badgekit/node_modules/node-proxy gyp ERR! node -v v0.12.7 gyp ERR! node-gyp -v v2.0.2 gyp ERR! not ok npm ERR! Linux 3.10.0-229.4.2.el7.x86_64 npm ERR! argv "node" "/usr/bin/npm" "install" "node-proxy" npm ERR! node v0.12.7 npm ERR! npm v2.13.3 npm ERR! code ELIFECYCLEnpm ERR! node-proxy@0.9.0 install:
node-gyp configure build
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-proxy@0.9.0 install script 'node-gyp configure build'. npm ERR! This is most likely a problem with the node-proxy package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp configure build npm ERR! You can get their info via: npm ERR! npm owner ls node-proxy npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request: npm ERR! /usr/openbadging/openbadges-badgekit/npm-debug.log