bnoordhuis / node-iconv

node.js iconv bindings - text recoding for fun and profit!
Other
799 stars 123 forks source link

iconv@2.1.11 install failed #135

Closed jShi-git closed 8 years ago

jShi-git commented 8 years ago

centos 6.3

npm ERR! Linux 2.6.32-358.6.2.el6.x86_64
...
npm ERR! node v5.0.0
npm ERR! npm  v3.3.6
...
npm ERR! Failed at the iconv@2.1.11 install script 'node-gyp rebuild'.

the npm-debug.log

http://www.heypasteit.com/clip/29TZ

bnoordhuis commented 8 years ago

Not a problem with node-iconv. Those compiler errors mean your compiler is too old to understand C++11 (which you need for node.js v4.x+.) Upgrade to at least g++ 4.8.2 or clang++ 3.4.