# Trying to install on RHEL 6.8

**URL:** <https://forums.rocket.chat/t/trying-to-install-on-rhel-6-8/226>\
**Category:** Community Support\
**Created:** [February 14, 2018, 9:48pm UTC](https://forums.rocket.chat/t/trying-to-install-on-rhel-6-8/226 "2018-02-14T21:48:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonaugust](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@jonaugust](https://forums.rocket.chat/u/jonaugust)\
**Post date:** [February 14, 2018, 9:48pm UTC](https://forums.rocket.chat/t/trying-to-install-on-rhel-6-8/226/1 "2018-02-14T21:48:55Z")

</div>

Hi,

I’m trying to install Rocket.Chat on RedHat Enterprise Linux 6.8. I get this when I do an npm install:

# npm install

> fibers@2.0.0 install /infra/local/Rocket.Chat/programs/server/node\_modules/fibers  
> node build.js || nodejs build.js

`linux-x64-57` exists; testing  
Problem with the binary; manual build incoming  
make: Entering directory `/infra/local/Rocket.Chat/programs/server/node_modules/fibers/build' CXX(target) Release/obj.target/fibers/src/fibers.o In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/memory:83, from /root/.node-gyp/8.9.4/include/node/v8.h:21, from /root/.node-gyp/8.9.4/include/node/node.h:63, from ../src/coroutine.h:1, from ../src/fibers.cc:1: /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h: In member function â€˜virtual void* std::_Sp_counted_deleter<_Ptr, _Deleter, _Alloc, _Lp>::_M_get_deleter(const std::type_info&)â€™: /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h:146: error: cannot use typeid with -fno-rtti /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h: In member function â€˜virtual void* std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_M_get_deleter(const std::type_info&)â€™: /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h:204: error: cannot use typeid with -fno-rtti /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h: In constructor â€˜std:: __shared_ptr<_Tp, _Lp>::__ shared_ptr(std::_Sp_make_shared_tag, _Alloc, _Args&& ...)â€™: /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h:861: error: cannot use typeid with -fno-rtti /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h: In function â€˜_Del* std::get_deleter(const std::__shared_ptr<_Tp2, _Lp>&)â€™: /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h:1005: error: cannot use typeid with -fno-rtti In file included from /root/.node-gyp/8.9.4/include/node/node.h:63, from ../src/coroutine.h:1, from ../src/fibers.cc:1: /root/.node-gyp/8.9.4/include/node/v8.h: At global scope: /root/.node-gyp/8.9.4/include/node/v8.h:333: error: expected unqualified-id before â€˜usingâ€™ /root/.node-gyp/8.9.4/include/node/v8.h: In constructor â€˜v8::MaybeLocal<T>::MaybeLocal()â€™: /root/.node-gyp/8.9.4/include/node/v8.h:350: error: â€˜nullptrâ€™ was not declared in this scope /root/.node-gyp/8.9.4/include/node/v8.h: In member function â€˜bool v8::MaybeLocal<T>::IsEmpty() constâ€™: /root/.node-gyp/8.9.4/include/node/v8.h:357: error: â€˜nullptrâ€™ was not declared in this scope /root/.node-gyp/8.9.4/include/node/v8.h: In member function â€˜bool v8::MaybeLocal<T>::ToLocal(v8::Local<S>*) constâ€™: /root/.node-gyp/8.9.4/include/node/v8.h:365: error: â€˜nullptrâ€™ was not declared in this scope /root/.node-gyp/8.9.4/include/node/v8.h: In constructor â€˜v8::Eternal<T>::Eternal()â€™: /root/.node-gyp/8.9.4/include/node/v8.h:394: error: â€˜nullptrâ€™ was not declared in this scope /root/.node-gyp/8.9.4/include/node/v8.h: In constructor â€˜v8::Eternal<T>::Eternal(v8::Isolate*, v8::Local<S>)â€™: /root/.node-gyp/8.9.4/include/node/v8.h:396: error: â€˜nullptrâ€™ was not declared in this scope /root/.node-gyp/8.9.4/include/node/v8.h: In member function â€˜bool v8::Eternal<T>::IsEmpty() constâ€™: /root/.node-gyp/8.9.4/include/node/v8.h:401: error: â€˜nullptrâ€™ was not declared in this scope /root/.node-gyp/8.9.4/include/node/v8.h: In member function â€˜bool v8::WeakCallbackInfo<T>::IsFirstPass() constâ€™: /root/.node-gyp/8.9.4/include/node/v8.h:441: error: â€˜nullptrâ€™ was not declared in this scope /root/.node-gyp/8.9.4/include/node/v8.h: In constructor â€˜v8::Global<T>::Global()â€™: /root/.node-gyp/8.9.4/include/node/v8.h:775: error: â€˜nullptrâ€™ was not declared in this scope /root/.node-gyp/8.9.4/include/node/v8.h: In constructor â€˜v8::Global<T>::Global(v8::Global<T>&&)â€™: /root/.node-gyp/8.9.4/include/node/v8.h:800: error: â€˜nullptrâ€™ was not declared in this scope /root/.node-gyp/8.9.4/include/node/v8.h: In member function â€˜v8::Global<T>& v8::Global<T>::operator=(v8::Global<S>&&)â€™: /root/.node-gyp/8.9.4/include/node/v8.h:812: error: â€˜nullptrâ€™ was not declared in this scope /root/.node-gyp/8.9.4/include/node/v8.h: At global scope: /root/.node-gyp/8.9.4/include/node/v8.h:838: error: expected unqualified-id before â€˜usingâ€™ /root/.node-gyp/8.9.4/include/node/v8.h:1187: error: â€˜nullptrâ€™ was not declared in this scope /root/.node-gyp/8.9.4/include/node/v8.h:1193: error: â€˜nullptrâ€™ was not declared in this scope /root/.node-gyp/8.9.4/include/node/v8.h: In constructor â€˜v8::RegisterState::RegisterState()â€™: /root/.node-gyp/8.9.4/include/node/v8.h:1733: error: â€˜nullptrâ€™ was not declared in this scope /root/.node-gyp/8.9.4/include/node/v8.h: At global scope: /root/.node-gyp/8.9.4/include/node/v8.h:3198: error: â€˜nullptrâ€™ was not declared in this scope /root/.node-gyp/8.9.4/include/node/v8.h: In member function â€˜v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) constâ€™: /root/.node-gyp/8.9.4/include/node/v8.h:3839: error: â€˜nullptrâ€™ was not declared in this scope /root/.node-gyp/8.9.4/include/node/v8.h: At global scope: /root/.node-gyp/8.9.4/include/node/v8.h:4108: error: function definition does not declare parameters /root/.node-gyp/8.9.4/include/node/v8.h:4164: error: expected unqualified-id before â€˜&â€™ token /root/.node-gyp/8.9.4/include/node/v8.h:4164: error: expected â€˜)â€™ before â€˜&â€™ token /root/.node-gyp/8.9.4/include/node/v8.h:4164: error: expected â€˜;â€™ before â€˜&â€™ token In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/ostream_insert.h:36, from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/string:46, from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/locale_classes.h:42, from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/ios_base.h:43, from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ios:43, from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ostream:40, from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/iostream:40, from ../src/fibers.cc:8: /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected â€˜;â€™ before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected â€˜}â€™ before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected unqualified-id before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected â€˜}â€™ before end of line /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cxxabi-forced.h:29: error: expected declaration before end of line make: *** [Release/obj.target/fibers/src/fibers.o] Error 1 make: Leaving directory `/infra/local/Rocket.Chat/programs/server/node\_modules/fibers/build’  
gyp ERR! build error  
gyp ERR! stack Error: `make` failed with exit code: 2  
gyp ERR! stack at ChildProcess.onExit (/infra/local/lib/node\_modules/npm/node\_modules/node-gyp/lib/build.js:258:23)  
gyp ERR! stack at emitTwo (events.js:126:13)  
gyp ERR! stack at ChildProcess.emit (events.js:214:7)  
gyp ERR! stack at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:198:12)  
gyp ERR! System Linux 2.6.32-642.11.1.el6.x86\_64  
gyp ERR! command “/infra/local/bin/node” “/infra/local/lib/node\_modules/npm/node\_modules/node-gyp/bin/node-gyp.js” “rebuild” “–release”  
gyp ERR! cwd /infra/local/Rocket.Chat/programs/server/node\_modules/fibers  
gyp ERR! node -v v8.9.4  
gyp ERR! node-gyp -v v3.6.2  
gyp ERR! not ok  
node-gyp exited with code: 1  
Please make sure you are using a supported platform and node version. If you  
would like to compile fibers on this machine please make sure you have setup your  
build environment–  
Windows + OS X instructions here: [GitHub - nodejs/node-gyp: Node.js native addon build tool](https://github.com/nodejs/node-gyp)  
Ubuntu users please run: `sudo apt-get install g++ build-essential`  
Alpine users please run: `sudo apk add python make g++`  
sh: nodejs: command not found  
npm WARN meteor-dev-bundle@0.0.0 No description  
npm WARN meteor-dev-bundle@0.0.0 No repository field.  
npm WARN meteor-dev-bundle@0.0.0 No license field.

npm ERR! file sh  
npm ERR! code ELIFECYCLE  
npm ERR! errno ENOENT  
npm ERR! syscall spawn  
npm ERR! fibers@2.0.0 install: `node build.js || nodejs build.js`  
npm ERR! spawn ENOENT  
npm ERR!  
npm ERR! Failed at the fibers@2.0.0 install script.  
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Obviously, not good. Any suggestions are appreciated. Thanks!
