Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [content@bridgeworks2 parse-http-server]$ npm install sharp
- > sharp@0.18.2 install /var/www/sites/sandbox.bridgeworkslongbeach.com/html/parse-http-server/node_modules/sharp
- > node-gyp rebuild
- make: Entering directory `/var/www/sites/sandbox.bridgeworkslongbeach.com/html/parse-http-server/node_modules/sharp/build'
- TOUCH Release/obj.target/libvips-cpp.stamp
- CXX(target) Release/obj.target/sharp/src/common.o
- In file included from ../src/common.cc:24:
- ../node_modules/nan/nan.h:45:3: error: #error This version of node/NAN/v8 requires a C++11 compiler
- In file included from ../src/common.cc:27:
- ../src/common.h:33:2: error: #error GCC version 4.6+ is required for C++11 features - see sharp.dimens.io/page/install#prerequisites
- In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/memory:83,
- from /home/content/.node-gyp/7.6.0/include/node/v8.h:21,
- from /home/content/.node-gyp/7.6.0/include/node/node.h:42,
- from ../src/common.cc:22:
- /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 /home/content/.node-gyp/7.6.0/include/node/node.h:42,
- from ../src/common.cc:22:
- /home/content/.node-gyp/7.6.0/include/node/v8.h: At global scope:
- /home/content/.node-gyp/7.6.0/include/node/v8.h:348: error: expected unqualified-id before ‘using’
- /home/content/.node-gyp/7.6.0/include/node/v8.h: In constructor ‘v8::MaybeLocal<T>::MaybeLocal()’:
- /home/content/.node-gyp/7.6.0/include/node/v8.h:365: error: ‘nullptr’ was not declared in this scope
- /home/content/.node-gyp/7.6.0/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::IsEmpty() const’:
- /home/content/.node-gyp/7.6.0/include/node/v8.h:372: error: ‘nullptr’ was not declared in this scope
- /home/content/.node-gyp/7.6.0/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::ToLocal(v8::Local<S>*) const’:
- /home/content/.node-gyp/7.6.0/include/node/v8.h:376: error: ‘nullptr’ was not declared in this scope
- /home/content/.node-gyp/7.6.0/include/node/v8.h: In member function ‘bool v8::WeakCallbackInfo<T>::IsFirstPass() const’:
- /home/content/.node-gyp/7.6.0/include/node/v8.h:444: error: ‘nullptr’ was not declared in this scope
- /home/content/.node-gyp/7.6.0/include/node/v8.h: In constructor ‘v8::Global<T>::Global()’:
- /home/content/.node-gyp/7.6.0/include/node/v8.h:807: error: ‘nullptr’ was not declared in this scope
- /home/content/.node-gyp/7.6.0/include/node/v8.h: In constructor ‘v8::Global<T>::Global(v8::Global<T>&&)’:
- /home/content/.node-gyp/7.6.0/include/node/v8.h:832: error: ‘nullptr’ was not declared in this scope
- /home/content/.node-gyp/7.6.0/include/node/v8.h: In member function ‘v8::Global<T>& v8::Global<T>::operator=(v8::Global<S>&&)’:
- /home/content/.node-gyp/7.6.0/include/node/v8.h:844: error: ‘nullptr’ was not declared in this scope
- /home/content/.node-gyp/7.6.0/include/node/v8.h: At global scope:
- /home/content/.node-gyp/7.6.0/include/node/v8.h:870: error: expected unqualified-id before ‘using’
- /home/content/.node-gyp/7.6.0/include/node/v8.h:1141: error: ‘nullptr’ was not declared in this scope
- /home/content/.node-gyp/7.6.0/include/node/v8.h:1147: error: ‘nullptr’ was not declared in this scope
- /home/content/.node-gyp/7.6.0/include/node/v8.h: In constructor ‘v8::RegisterState::RegisterState()’:
- /home/content/.node-gyp/7.6.0/include/node/v8.h:1675: error: ‘nullptr’ was not declared in this scope
- /home/content/.node-gyp/7.6.0/include/node/v8.h: In member function ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const’:
- /home/content/.node-gyp/7.6.0/include/node/v8.h:3665: error: ‘nullptr’ was not declared in this scope
- /home/content/.node-gyp/7.6.0/include/node/v8.h: At global scope:
- /home/content/.node-gyp/7.6.0/include/node/v8.h:5094: error: ‘nullptr’ was not declared in this scope
- /home/content/.node-gyp/7.6.0/include/node/v8.h:5119: error: ‘nullptr’ was not declared in this scope
- /home/content/.node-gyp/7.6.0/include/node/v8.h: In constructor ‘v8::Isolate::CreateParams::CreateParams()’:
- /home/content/.node-gyp/7.6.0/include/node/v8.h:6196: error: ‘nullptr’ was not declared in this scope
- /home/content/.node-gyp/7.6.0/include/node/v8.h: At global scope:
- /home/content/.node-gyp/7.6.0/include/node/v8.h:7390: error: ‘nullptr’ was not declared in this scope
- /home/content/.node-gyp/7.6.0/include/node/v8.h:7407: error: ‘nullptr’ was not declared in this scope
- /home/content/.node-gyp/7.6.0/include/node/v8.h:7497: error: ‘nullptr’ was not declared in this scope
- /home/content/.node-gyp/7.6.0/include/node/v8.h:7498: error: ‘nullptr’ was not declared in this scope
- /home/content/.node-gyp/7.6.0/include/node/v8.h:7833: error: ‘nullptr’ was not declared in this scope
- /home/content/.node-gyp/7.6.0/include/node/v8.h: In member function ‘v8::Local<T> v8::MaybeLocal<T>::ToLocalChecked()’:
- /home/content/.node-gyp/7.6.0/include/node/v8.h:8404: error: ‘nullptr’ was not declared in this scope
- In file included from ../node_modules/nan/nan.h:192,
- from ../src/common.cc:24:
- ../node_modules/nan/nan_maybe_43_inl.h: At global scope:
- ../node_modules/nan/nan_maybe_43_inl.h:13: error: expected unqualified-id before ‘using’
- ../node_modules/nan/nan_maybe_43_inl.h:16: error: expected unqualified-id before ‘using’
- ../node_modules/nan/nan_maybe_43_inl.h:19: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:24: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:29: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:37: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:45: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:52: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:60: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:71: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:79: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:87: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:96: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:105: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:115: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:125: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:141: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:149: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:155: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:164: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:171: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:179: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:186: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:194: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:202: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:210: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:218: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:226: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:234: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:244: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:254: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:266: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:277: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:284: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:290: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:296: error: expected initializer before ‘<’ token
- ../node_modules/nan/nan_maybe_43_inl.h:302: error: expected initializer before ‘<’ token
- ../src/common.cc:539: error: expected ‘}’ at end of input
- ../node_modules/nan/nan_callbacks_12_inl.h:167: warning: ‘void Nan::imp::FunctionCallbackWrapper(const v8::FunctionCallbackInfo<v8::Value>&)’ defined but not used
- ../node_modules/nan/nan_callbacks_12_inl.h:181: warning: ‘void Nan::imp::GetterCallbackWrapper(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&)’ defined but not used
- ../node_modules/nan/nan_callbacks_12_inl.h:197: warning: ‘void Nan::imp::SetterCallbackWrapper(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&)’ defined but not used
- ../node_modules/nan/nan_callbacks_12_inl.h:253: warning: ‘void Nan::imp::PropertyGetterCallbackWrapper(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&)’ defined but not used
- ../node_modules/nan/nan_callbacks_12_inl.h:270: warning: ‘void Nan::imp::PropertySetterCallbackWrapper(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&)’ defined but not used
- ../node_modules/nan/nan_callbacks_12_inl.h:290: warning: ‘void Nan::imp::PropertyEnumeratorCallbackWrapper(const v8::PropertyCallbackInfo<v8::Array>&)’ defined but not used
- ../node_modules/nan/nan_callbacks_12_inl.h:306: warning: ‘void Nan::imp::PropertyDeleterCallbackWrapper(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Boolean>&)’ defined but not used
- ../node_modules/nan/nan_callbacks_12_inl.h:323: warning: ‘void Nan::imp::PropertyQueryCallbackWrapper(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Integer>&)’ defined but not used
- ../node_modules/nan/nan_callbacks_12_inl.h:428: warning: ‘void Nan::imp::IndexGetterCallbackWrapper(uint32_t, const v8::PropertyCallbackInfo<v8::Value>&)’ defined but not used
- ../node_modules/nan/nan_callbacks_12_inl.h:444: warning: ‘void Nan::imp::IndexSetterCallbackWrapper(uint32_t, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&)’ defined but not used
- ../node_modules/nan/nan_callbacks_12_inl.h:464: warning: ‘void Nan::imp::IndexEnumeratorCallbackWrapper(const v8::PropertyCallbackInfo<v8::Array>&)’ defined but not used
- ../node_modules/nan/nan_callbacks_12_inl.h:480: warning: ‘void Nan::imp::IndexDeleterCallbackWrapper(uint32_t, const v8::PropertyCallbackInfo<v8::Boolean>&)’ defined but not used
- ../node_modules/nan/nan_callbacks_12_inl.h:496: warning: ‘void Nan::imp::IndexQueryCallbackWrapper(uint32_t, const v8::PropertyCallbackInfo<v8::Integer>&)’ defined but not used
- make: *** [Release/obj.target/sharp/src/common.o] Error 1
- make: Leaving directory `/var/www/sites/sandbox.bridgeworkslongbeach.com/html/parse-http-server/node_modules/sharp/build'
- gyp ERR! build error
- gyp ERR! stack Error: `make` failed with exit code: 2
- gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
- gyp ERR! stack at emitTwo (events.js:106:13)
- gyp ERR! stack at ChildProcess.emit (events.js:192:7)
- gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
- gyp ERR! System Linux 2.6.32-642.4.2.el6.x86_64
- gyp ERR! command "/usr/local/n/versions/node/7.6.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
- gyp ERR! cwd /var/www/sites/sandbox.bridgeworkslongbeach.com/html/parse-http-server/node_modules/sharp
- gyp ERR! node -v v7.6.0
- gyp ERR! node-gyp -v v3.5.0
- gyp ERR! not ok
- npm ERR! Linux 2.6.32-642.4.2.el6.x86_64
- npm ERR! argv "/usr/local/n/versions/node/7.6.0/bin/node" "/usr/local/bin/npm" "install" "sharp"
- npm ERR! node v7.6.0
- npm ERR! npm v4.1.2
- npm ERR! code ELIFECYCLE
- npm ERR! sharp@0.18.2 install: `node-gyp rebuild`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the sharp@0.18.2 install script 'node-gyp rebuild'.
- npm ERR! Make sure you have the latest version of node.js and npm installed.
- npm ERR! If you do, this is most likely a problem with the sharp 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 information on how to open an issue for this project with:
- npm ERR! npm bugs sharp
- npm ERR! Or if that isn't available, you can get their info via:
- npm ERR! npm owner ls sharp
- npm ERR! There is likely additional logging output above.
- npm ERR! Please include the following file with any support request:
- npm ERR! /var/www/sites/sandbox.bridgeworkslongbeach.com/html/parse-http-server/npm-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement