This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
unable to install zlib on RHEL 6 #4936
Comments
Wrong bug tracker? |
Yes, this should be on https://github.com/kkaefer/node-zlib. |
gibfahn
pushed a commit
to ibmruntimes/node
that referenced
this issue
Apr 11, 2016
Adds a new topic that provides an overview of the event loop, timers, and `process.nextTick()` that is based upon a NodeSource "Need to Node" presentation hosted by @trevnorris: Event Scheduling and the Node.js Event Loop (https://nodesource.com/resources). PR-URL: nodejs#4936 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Calvin W. Metcalf <calvin.metcalf@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
richardlau
pushed a commit
to ibmruntimes/node
that referenced
this issue
Apr 12, 2016
Adds a new topic that provides an overview of the event loop, timers, and `process.nextTick()` that is based upon a NodeSource "Need to Node" presentation hosted by @trevnorris: Event Scheduling and the Node.js Event Loop (https://nodesource.com/resources). PR-URL: nodejs#4936 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Calvin W. Metcalf <calvin.metcalf@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
gibfahn
pushed a commit
to ibmruntimes/node
that referenced
this issue
Apr 27, 2016
Adds a new topic that provides an overview of the event loop, timers, and `process.nextTick()` that is based upon a NodeSource "Need to Node" presentation hosted by @trevnorris: Event Scheduling and the Node.js Event Loop (https://nodesource.com/resources). PR-URL: nodejs#4936 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Calvin W. Metcalf <calvin.metcalf@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
utterstep
pushed a commit
to lutik-inc/node
that referenced
this issue
Jun 1, 2016
Adds a new topic that provides an overview of the event loop, timers, and `process.nextTick()` that is based upon a NodeSource "Need to Node" presentation hosted by @trevnorris: Event Scheduling and the Node.js Event Loop (https://nodesource.com/resources). PR-URL: nodejs#4936 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Calvin W. Metcalf <calvin.metcalf@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
richardlau
pushed a commit
to ibmruntimes/node
that referenced
this issue
Jun 17, 2016
Adds a new topic that provides an overview of the event loop, timers, and `process.nextTick()` that is based upon a NodeSource "Need to Node" presentation hosted by @trevnorris: Event Scheduling and the Node.js Event Loop (https://nodesource.com/resources). PR-URL: nodejs#4936 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Calvin W. Metcalf <calvin.metcalf@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi Konstantin,
I was unable to install zlib on on my RHEL environment. Console output from running 'npm install zlib' as root user is below:
I looked forward to your response.
[root@dhcppc36 node]# npm install zlib
npm http GET https://registry.npmjs.org/zlib
npm http 304 https://registry.npmjs.org/zlib
Nothing to clean (project not configured)
Setting srcdir to : /usr/lib/node_modules/zlib
Setting blddir to : /usr/lib/node_modules/zlib/build
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : ok /usr/lib/node/
Checking for node prefix : ok /usr
Checking for library z : yes
'configure' finished successfully (0.096s)
Waf: Entering directory `/usr/lib/node_modules/zlib/build'
[1/2] cxx: src/node-zlib.cc -> build/Release/src/node-zlib_1.o
../src/node-zlib.cc:1:16: error: v8.h: No such file or directory
../src/node-zlib.cc:2:18: error: node.h: No such file or directory
../src/node-zlib.cc:3:25: error: node_buffer.h: No such file or directory
../src/node-zlib.cc:4:26: error: node_version.h: No such file or directory
../src/node-zlib.cc:14:26: error: missing binary operator before token "("
../src/node-zlib.cc:10: error: âv8â is not a namespace-name
../src/node-zlib.cc:10: error: expected namespace-name before â;â token
../src/node-zlib.cc:11: error: ânodeâ is not a namespace-name
../src/node-zlib.cc:11: error: expected namespace-name before â;â token
../src/node-zlib.cc:19: error: âBuffer_Dataâ declared as an âinlineâ variable
../src/node-zlib.cc:19: error: âHandleâ was not declared in this scope
../src/node-zlib.cc:19: error: âObjectâ was not declared in this scope
../src/node-zlib.cc:19: error: âobjâ was not declared in this scope
../src/node-zlib.cc:19: error: expected â,â or â;â before â{â token
../src/node-zlib.cc:22: error: âBuffer_Lengthâ declared as an âinlineâ variable
../src/node-zlib.cc:22: error: âHandleâ was not declared in this scope
../src/node-zlib.cc:22: error: âObjectâ was not declared in this scope
../src/node-zlib.cc:22: error: âobjâ was not declared in this scope
../src/node-zlib.cc:22: error: expected â,â or â;â before â{â token
../src/node-zlib.cc:25: error: expected initializer before â*â token
../src/node-zlib.cc:36: error: expected initializer before â<â token
../src/node-zlib.cc:82: error: expected constructor, destructor, or type conversion before â<â token
Waf: Leaving directory `/usr/lib/node_modules/zlib/build'
Build failed: -> task failed (err #1):
npm ERR! zlib@1.0.5 install:
node-waf clean ; node-waf configure build
npm ERR!
sh "-c" "node-waf clean ; node-waf configure build"
failed with 1npm ERR!
npm ERR! Failed at the zlib@1.0.5 install script.
npm ERR! This is most likely a problem with the zlib package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf clean ; node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls zlib
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 2.6.32-71.el6.i686
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "zlib"
npm ERR! cwd /usr/lib/node
npm ERR! node -v v0.8.18
npm ERR! npm -v 1.2.2
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /usr/lib/node/npm-debug.log
npm ERR! not ok code 0
Thanks.
The text was updated successfully, but these errors were encountered: