compared with
Current by Farshid Ghods
on Feb 05, 2013 11:08.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (1)

View Page History
h3. install build tools

h4. install packages from cento5 5 repository
{code}
rpm -ivh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

sudo yum install gcc gcc-c++ kernel-devel make ncurses-devel \
openssl-devel rpm-build python-setuptools python-devel \
git cyrus-sasl-devel openssl-devel libtool scons python-26

{code}

h4.install automake 1.11.1 :

{code}
wget http://ftp.gnu.org/gnu/automake/automake-1.11.1.tar.bz2
tar -xvf automake-1.11.1.tar.bz2
cd automake-1.11.1
./configure
make
sudo make install
install libtool 2.4.2 :
{code}

h4. install libtool
{code}
wget http://ftpmirror.gnu.org/libtool/libtool-2.4.2.tar.gz
tar -xvf libtool-2.4.2.tar.gz
cd libtool-2.4.2
./configure
make
sudo make install
{code}

h4. install gcc and g++ 4.4

{code}
yum install gcc44 gcc44-g++
mv /usr/bin/gcc /usr/bin/gcc412
ln -s /usr/bin/gcc44 /usr/bin/gcc
mv /usr/bin/g++ /usr/bin/g++412
ln -s /usr/bin/g++44 /usr/bin/g++

{code}

h3. download and build couchbase server 2.0 dependencies.
In this step we assume that you use prefix=/opt/couchbase and current user has permission to access /opt/couchbaseh4.