Changes

Jump to navigation Jump to search
378 bytes added ,  15:18, 18 October 2014
Add recompile commands and dependency list
Line 28: Line 28:     
===Updating===
 
===Updating===
 +
NodeJS should be recompiled if the package itself or any of its dependencies is updated.
 +
 +
NodeJS 1.7 dependencies include:
 +
* openssl-devel
 +
* v8-devel
 +
* zlib-devel
 +
 +
The commands below will identify the latest release of nodejs, then download, recompile, and install:
 
  RELEASE=$(curl -s http://nodejs.org/download/ |grep Current\ version |awk -F"[><]" '{print $5}')
 
  RELEASE=$(curl -s http://nodejs.org/download/ |grep Current\ version |awk -F"[><]" '{print $5}')
 
  cd /var/git/node
 
  cd /var/git/node
 
  git reset --hard
 
  git reset --hard
 
  git pull origin $RELEASE-release
 
  git pull origin $RELEASE-release
 +
#
 +
# recompile and install
 +
#
 +
export PYTHON=/usr/local/bin/python2.7
 +
$PYTHON ./configure
 +
make
 +
make install
    
= For SME 9 =
 
= For SME 9 =

Navigation menu