Created
September 13, 2010 16:24
-
-
Save vincentchu/577548 to your computer and use it in GitHub Desktop.
thrift_scribe_install.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Installation Notes for Thrift / Scribe on Ubuntu Lucid (v10.04) | |
### Step 1: Install required tools | |
sudo apt-get install libboost-dev libevent-dev python-dev automake pkg-config libtool flex bison | |
sudo apt-get install php5-dev | |
sudo apt-get install ant | |
sudo apt-get install openjdk-6-jdk | |
sudo apt-get install bjam | |
sudo apt-get install libboost-all-dev | |
### Step 2: Building / Installing Thrift | |
git clone git://git.apache.org/thrift.git | |
# Note: The fb303 library doesn't compile on the newest snapshots | |
# so revert to around Aug. 9th, 2010 | |
cd thrift | |
git reset 720186cd456a2cd97f606202c46fefb9efb68ddb --hard | |
./bootstrap.sh | |
./configure | |
make | |
sudo make install | |
# Build python libs | |
cd lib/py | |
sudo python setup.py install | |
### Step 3: Build fb303 libs | |
cd contrib/fb303 | |
./bootstrap.sh | |
./configure | |
make | |
sudo make install | |
### Step 4: Building / Installing Scribe | |
git clone http://github.com/facebook/scribe.git | |
cd scribe | |
./bootstrap.sh | |
make | |
sudo make install | |
cd lib/py | |
sudo python setup.py install | |
### Step 4: Housekeeping | |
# Make sure that the python libraries are in your PYTHONPATH environment variable -- otherwise | |
# you will not be able to rum the scribe_ctrl (Scribe Control) script. After installation, | |
# the scribed binary should be in your path | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment