Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 1.0

...

Code Block
languagebash
wget https://nodejs.org/dist/v4.2.1/node-v4.2.1.tar.gz 
tar xvf node-v4.2.1.tar.gz 
cd node-v4.2.1 
./configure --prefix=/place/to/install/node 
make -j<NUMCORES> 
make install 
cd /place/to/install/node/bin 
export PATH=$PWD:$PATH 

Protobuf

Download the patch required from https://projects.linaro.org/secure/attachment/12000/0001-Added-atomic-ops-to-make-protocbuf-2.5.0-work-with-A.patch  


Code Block
languagebash
gitwget clone https://github.com/google/protobuf.git 
cd protobuf 
git checkout -b 2.5.0 v2.5.0 
git apply 0001-Added-atomic-ops-to-make-protocbuf-2.5.0-work-with-A.patch 
./autogen.sh 
/releases/download/v2.6.1/protobuf-2.6.1.tar.gz
tar xvf protobuf-2.6.1.tar.gz
cd protobuf-2.6.1
./configure --prefix=/place/to/install/protobuf

make -j8 
make check j<NUMCORES>
make install 
cd /place/to/install/protobuf/bin

export PATH=$PWD:$PATH

cd /place/to/install/protobuf/lib/pkgconfig

export PKG_CONFIG_PATH=$PWD 

type the following to check installation: (it should output 2.56.01) 

Code Block
languagebash
protoc --version

...