これは、多分必要だと思う。
$ yum -y install openssl-devel
$ yum -y install gcc-c++
ここから本番。
$ curl https://raw.github.com/hokaccha/nodebrew/master/nodebrew | perl - setup
$ export PATH=$HOME/.nodebrew/current/bin:$PATH
$ source ~/.bashrc
$ nodebrew install v0.8.18
っと、ここでエラー。
File "./configure", line 355
1 if options.unsafe_optimizations else 0)
^
SyntaxError: invalid syntax
原因はPython。一時的にシンボル入れ替え
原因はPython。一時的にシンボル入れ替え
$ sudo yum install python26
$ ls -l /usr/bin/python*
$ rm /usr/bin/python
$ ln -s /usr/bin/python26 /usr/bin/python
$ nvm install v0.8.18
$ nvm install v0.8.18
