Nodejs를 설치시 에러(Nodejs install configure error)
NodeJs를 소스 컴파일 해서 설치하다 보면,
설치시 다음과 같은 에러를 만날 때가 있습니다. (Nodejs install configure error)
./configure
File “./configure”, line 360
1 if options.unsafe_optimizations else 0)
^
SyntaxError: invalid syntax
Solution ——————————
Python이 2.7 이상의 버젼이 필요합니다.
wget http://www.python.org/ftp/
tar xvf Python-3.3.0
./configure [–with-threads]
괄호는 멀티 쓰레드 지원 유무
make && make install
python 설시 후에 다시
./configure
make && make install
하시면 깔끔하게 깔아집니다.
Let’s get into the Node~!!!