Steps for buliding couchbase-2.2.0 on ubuntu trusty ppc64le environment. 1. Take a backup of existing repositories and add 2 repositories (multiverse, universe) in /etc/apt/sources.list file $ cp /etc/apt/sources.list /etc/apt/sources.list.bkp $ echo deb http://ports.ubuntu.com/ubuntu-ports trusty multiverse universe >> /etc/apt/sources.list # Remove packages from local repository (to avoid size mismatch error) $ apt-get clean # Download the package lists from the repositories and "updates" them to get information on the newest versions of packages and their dependencies $ apt-get update 2. Create directory for installing couchbase $ mkdir couchbase-trusty $ cd couchbase-trusty/ 3. Install required packages to build couchbase $ apt-get install -y curl gcc g++ automake autoconf make python libtool libevent-2.0-5 libevent-dev libsnappy-dev libicu-dev libcurl4-gnutls-dev nodejs-dev git erlang-src erlang-eunit erlang-dev check 4. Create binary folder for keeping ‘repo’ binary which is used to fetch/sync couchbase code and add it to PATH variable $ mkdir ~/bin $ PATH=~/bin:$PATH 5. Download repo tool and initionalize repository $ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo $ chmod a+x ~/bin/repo $ repo init -u git://github.com/couchbase/manifest.git -m released/2.2.0.xml # Fetch source of couchbase and dependent packages $ repo sync # Compile a code $ make Note: If you encounter error like 'error.GitError: manifests var: *** Please tell me who you are.' at OR 'fatal: unable to auto-detect email address' at a time of initializing repository please follow below steps to resolve it. # Adding git configuration git config --global user.email "" git config --global user.name "" After configuring git please re-initialize repository using ‘repo init’ command