Author: ra
Date: Wed May 14 10:10:10 2014
New Revision: 1594530
URL: http://svn.apache.org/r1594530
Log:
updated centos thrift compiler install/build notes for RHEL/Centos 6 - 6.5
Modified:
thrift/cms-site/trunk/content/docs/install/centos.md
Modified: thrift/cms-site/trunk/content/docs/install/centos.md
URL:
http://svn.apache.org/viewvc/thrift/cms-site/trunk/content/docs/install/centos.md?rev=1594530&r1=1594529&r2=1594530&view=diff
==============================================================================
--- thrift/cms-site/trunk/content/docs/install/centos.md (original)
+++ thrift/cms-site/trunk/content/docs/install/centos.md Wed May 14 10:10:10
2014
@@ -3,13 +3,30 @@ title: "Centos Install"
kind: doc
---
## CentOS setup
-The following command install all the required tools and libraries to build
and install the Apache Thrift compiler on a CentOS5/RHEL5 Linux based system.
These packages are available in the "base" repository.
+The following command installs the required tools and libraries from the base
repository needed to build and install the Apache Thrift compiler on a
CentOS6/RHEL6 Linux based system.
- sudo yum install automake libtool flex bison pkgconfig gcc-c++
boost-devel libevent-devel zlib-devel python-devel ruby-devel
+ sudo yum install automake libtool flex bison pkgconfig gcc-c++
+
+The base version of autoconf installed is presently 2.63, however Apache
Thrift requires 2.65. A newer version must be installed from a nonstandard
repository. For example:
+
+ sudo curl
ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/monkeyiq:/centos6updates/CentOS_CentOS-6/noarch/autoconf-2.69-12.2.noarch.rpm
> autoconf-2.69-12.2.noarch.rpm
+
+ sudo yum install autoconf-2.69-12.2.noarch.rpm
+
+To compile and install the Apache Thrift IDL compiler from the development
source you will need to install git, clone the development master, then
configure and build the IDL Compiler. For example:
+
+ sudo yum install git
+ git clone https://git-wip-us.apache.org/repos/asf/thrift.git
+ cd thrift
+ ./bootstrap.sh
+ ./configure --enable-libs=no
+ make
+ sudo make install
+
+This will build the compiler and install it on the path: /usr/local/bin/thrift
#### Additional reading
For more information on the requirements see: [Apache Thrift
Requirements](/docs/install)
For more information on building and installing Thrift see: [Building from
source](/docs/BuildingFromSource)
-