寝ても覚めてもこんぴうた

プログラム書いたり、ネットワーク設計したり、サーバ構築したり、車いじったり、ゲームしたり。そんなひとにわたしはなりたい。 投げ銭は kyash_id : chidakiyo マデ

npmでaws2jsをインストールしようと思って嵌った

npm install aws2js --save

と実行した所

cc: コンパイラ内部エラー: 強制終了 (プログラム cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [Release/obj.target/libxml/vendor/libxml/xmlschemas.o] エラー 4
make: ディレクトリ `/home/hoge/hogehoge/node_modules/libxmljs/build' から出ます
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/hoge/.nodebrew/node/v5.5.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:100:13)
gyp ERR! stack     at ChildProcess.emit (events.js:185:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.10.0-327.4.4.el7.x86_64
gyp ERR! command "/home/hoge/.nodebrew/node/v5.5.0/bin/node" "/home/hoge/.nodebrew/node/v5.5.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/hoge/hogehoge/node_modules/libxmljs
gyp ERR! node -v v5.5.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok

てな感じで怒られたので、

yum -y install gcc-c++

gcc-c++ をインストールした所解決した。

非常にわかりづらい。。。