小さい頃はエラ呼吸

いつのまにやら肺で呼吸をしています。


node.jsのインストールでCould not install the file '/usr/local/include/node/eio.h'が出る場合の対処方法

はじめに

node.jsのmake installでCould not install the file '/usr/local/include/node/eio.h'のエラーがでる場合は、スーパーユーザーでmake installを実行するとうまくいきます。

sudo make install
エラーログ
make install
>Waf: Entering directory `/Users/hoge/src/node-v0.4.5/build'
>DEST_OS: darwin
>DEST_CPU: x64
>Parallel Jobs: 1
>Product type: program
>* installing deps/libeio/eio.h as /usr/local/include/node/eio.h
>Waf: Leaving directory `/Users/hoge/src/node-v0.4.5/build'
>Could not install the file '/usr/local/include/node/eio.h'
>make: *** [install] Error 1