Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isuue in installing node.js| require help! #1046

Closed
arupDash opened this issue Dec 28, 2017 · 2 comments
Closed

Isuue in installing node.js| require help! #1046

arupDash opened this issue Dec 28, 2017 · 2 comments

Comments

@arupDash
Copy link

arupDash commented Dec 28, 2017

Hi Guys,

Please help ! i am not able to install node.js in

OS : Linux 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux

Logs

make -C out BUILDTYPE=Release V=1
make[1]: Entering directory `/home/INPAARA/node-v6.9.0/out'
  g++ '-DV8_TARGET_ARCH_X64' '-DENABLE_DISASSEMBLER' '-DV8_I18N_SUPPORT' -I../deps/v8  -pthread -Wall -Wextra -Wno-unused-parameter -m64 -fno-strict-aliasing -m64 -fdata-sections -ffunction-sections -O3 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF /home/INPAARA/node-v6.9.0/out/Release/.deps//home/INPAARA/node-v6.9.0/out/Release/obj.target/v8_libplatform/deps/v8/src/libplatform/default-platform.o.d.raw   -c -o /home/INPAARA/node-v6.9.0/out/Release/obj.target/v8_libplatform/deps/v8/src/libplatform/default-platform.o ../deps/v8/src/libplatform/default-platform.cc
In file included from ../deps/v8/src/base/macros.h:15,
                 from ../deps/v8/src/libplatform/default-platform.h:14,
                 from ../deps/v8/src/libplatform/default-platform.cc:5:
../deps/v8/src/base/logging.h: In function âstd::string* v8::base::CheckEQImpl(const Lhs&, const Rhs&, const char*)â:
../deps/v8/src/base/logging.h:126: error: ânullptrâ was not declared in this scope
../deps/v8/src/base/logging.h: In function âstd::string* v8::base::CheckEQImpl(int, int, const char*)â:
../deps/v8/src/base/logging.h:126: error: ânullptrâ was not declared in this scope
../deps/v8/src/base/logging.h: In function âstd::string* v8::base::CheckNEImpl(const Lhs&, const Rhs&, const char*)â:
../deps/v8/src/base/logging.h:127: error: ânullptrâ was not declared in this scope
../deps/v8/src/base/logging.h: In function âstd::string* v8::base::CheckNEImpl(int, int, const char*)â:
../deps/v8/src/base/logging.h:127: error: ânullptrâ was not declared in this scope
../deps/v8/src/base/logging.h: In function âstd::string* v8::base::CheckLEImpl(const Lhs&, const Rhs&, const char*)â:
../deps/v8/src/base/logging.h:128: error: ânullptrâ was not declared in this scope
../deps/v8/src/base/logging.h: In function âstd::string* v8::base::CheckLEImpl(int, int, const char*)â:
../deps/v8/src/base/logging.h:128: error: ânullptrâ was not declared in this scope
../deps/v8/src/base/logging.h: In function âstd::string* v8::base::CheckLTImpl(const Lhs&, const Rhs&, const char*)â:
../deps/v8/src/base/logging.h:129: error: ânullptrâ was not declared in this scope
../deps/v8/src/base/logging.h: In function âstd::string* v8::base::CheckLTImpl(int, int, const char*)â:
../deps/v8/src/base/logging.h:129: error: ânullptrâ was not declared in this scope
../deps/v8/src/base/logging.h: In function âstd::string* v8::base::CheckGEImpl(const Lhs&, const Rhs&, const char*)â:
../deps/v8/src/base/logging.h:130: error: ânullptrâ was not declared in this scope
../deps/v8/src/base/logging.h: In function âstd::string* v8::base::CheckGEImpl(int, int, const char*)â:
../deps/v8/src/base/logging.h:130: error: ânullptrâ was not declared in this scope
../deps/v8/src/base/logging.h: In function âstd::string* v8::base::CheckGTImpl(const Lhs&, const Rhs&, const char*)â:
../deps/v8/src/base/logging.h:131: error: ânullptrâ was not declared in this scope
../deps/v8/src/base/logging.h: In function âstd::string* v8::base::CheckGTImpl(int, int, const char*)â:
../deps/v8/src/base/logging.h:131: error: ânullptrâ was not declared in this scope
In file included from ../deps/v8/src/libplatform/default-platform.h:15,
                 from ../deps/v8/src/libplatform/default-platform.cc:5:
../deps/v8/src/base/platform/mutex.h: At global scope:
../deps/v8/src/base/platform/mutex.h:36: error: variable âv8::base::Mutex v8::base::finalâ has initializer but incomplete type
../deps/v8/src/base/platform/mutex.h:37: error: expected primary-expression before âpublicâ
../deps/v8/src/base/platform/mutex.h:37: error: expected â}â before âpublicâ
../deps/v8/src/base/platform/mutex.h:37: error: expected â,â or â;â before âpublicâ
../deps/v8/src/base/platform/mutex.h:39: error: expected constructor, destructor, or type conversion before â;â token
../deps/v8/src/base/platform/mutex.h: In function âv8::base::NativeHandle& v8::base::native_handle()â:
../deps/v8/src/base/platform/mutex.h:63: error: ânative_handle_â was not declared in this scope
../deps/v8/src/base/platform/mutex.h: At global scope:
../deps/v8/src/base/platform/mutex.h:65: error: non-member function âconst v8::base::NativeHandle& v8::base::native_handle()â cannot have cv-qualifier
../deps/v8/src/base/platform/mutex.h: In function âconst v8::base::NativeHandle& v8::base::native_handle()â:
../deps/v8/src/base/platform/mutex.h:65: error: new declaration âconst v8::base::NativeHandle& v8::base::native_handle()â
../deps/v8/src/base/platform/mutex.h:62: error: ambiguates old declaration âv8::base::NativeHandle& v8::base::native_handle()â
../deps/v8/src/base/platform/mutex.h:66: error: ânative_handle_â was not declared in this scope
../deps/v8/src/base/platform/mutex.h: At global scope:
../deps/v8/src/base/platform/mutex.h:69: error: expected unqualified-id before âprivateâ
../deps/v8/src/base/platform/mutex.h:89: error: âfriendâ used outside of class
../deps/v8/src/base/platform/mutex.h:91: error: expected unqualified-id before âconstâ
../deps/v8/src/base/platform/mutex.h:91: error: expected â)â before âconstâ
../deps/v8/src/base/platform/mutex.h:91: error: âvoid v8::base::operator=(const v8::base::Mutex&)â must be a nonstatic member function
../deps/v8/src/base/platform/mutex.h:104: error: expected initializer before â<â token
../deps/v8/src/base/platform/mutex.h:130: error: variable âv8::RecursiveMutex v8::finalâ has initializer but incomplete type
../deps/v8/src/base/platform/mutex.h:131: error: expected primary-expression before âpublicâ
../deps/v8/src/base/platform/mutex.h:131: error: expected â}â before âpublicâ
../deps/v8/src/base/platform/mutex.h:131: error: expected â,â or â;â before âpublicâ
../deps/v8/src/base/platform/mutex.h:133: error: expected constructor, destructor, or type conversion before â;â token
../deps/v8/src/base/platform/mutex.h:155: error: âMutexâ has not been declared
../deps/v8/src/base/platform/mutex.h:155: error: expected initializer before âNativeHandleâ
../deps/v8/src/base/platform/mutex.h:157: error: expected constructor, destructor, or type conversion before â&â token
../deps/v8/src/base/platform/mutex.h:160: error: expected initializer before â&â token
../deps/v8/src/base/platform/mutex.h:164: error: expected unqualified-id before âprivateâ
../deps/v8/src/base/platform/mutex.h:170: error: expected unqualified-id before âconstâ
../deps/v8/src/base/platform/mutex.h:170: error: expected â)â before âconstâ
../deps/v8/src/base/platform/mutex.h:170: error: âvoid v8::operator=(const v8::RecursiveMutex&)â must be a nonstatic member function
../deps/v8/src/base/platform/mutex.h:184: error: expected initializer before â<â token
../deps/v8/src/base/platform/mutex.h:202: error: template declaration of âLockGuard finalâ
../deps/v8/src/base/platform/mutex.h:203: error: expected primary-expression before âpublicâ
../deps/v8/src/base/platform/mutex.h:203: error: expected â}â before âpublicâ
../deps/v8/src/base/platform/mutex.h:205: error: declaration of â~LockGuardâ as non-member
../deps/v8/src/base/platform/mutex.h:207: error: expected unqualified-id before âprivateâ
../deps/v8/src/base/platform/mutex.h:210: error: expected unqualified-id before âconstâ
../deps/v8/src/base/platform/mutex.h:210: error: expected â)â before âconstâ
../deps/v8/src/base/platform/mutex.h:210: error: âvoid operator=(const LockGuard&)â must be a nonstatic member function
../deps/v8/src/base/platform/mutex.h:211: error: expected declaration before â}â token
make[1]: *** [/home/INPAARA/node-v6.9.0/out/Release/obj.target/v8_libplatform/deps/v8/src/libplatform/default-platform.o] Error 1
make[1]: Leaving directory `/home/INPAARA/node-v6.9.0/out'
make: *** [node] Error 2
@bnoordhuis
Copy link
Member

You need to use g++ >= 4.8.

@gireeshpunathil
Copy link
Member

Closing as answered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants