diff options
author | Sergei Nikulov <sergey.nikulov@gmail.com> | 2015-02-11 16:55:22 +0300 |
---|---|---|
committer | Roger Meier <roger@apache.org> | 2015-02-15 00:04:46 +0100 |
commit | 283899bf9a8de07522b6507dfd0f6ab70d5a7147 (patch) | |
tree | c5d23c7dcb91c70e21ca3fe2f2c565850dcd0450 /doc/install | |
parent | 22dddc9fab9f48a242004ed96ccdd8f1c5c91a71 (diff) | |
download | thrift-283899bf9a8de07522b6507dfd0f6ab70d5a7147.tar.gz |
Use Boost C++ >= 1.53.0
Diffstat (limited to 'doc/install')
-rw-r--r-- | doc/install/README.md | 2 | ||||
-rw-r--r-- | doc/install/centos.md | 8 | ||||
-rw-r--r-- | doc/install/windows.md | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/doc/install/README.md b/doc/install/README.md index 8f69510e7..42c328cfe 100644 --- a/doc/install/README.md +++ b/doc/install/README.md @@ -3,7 +3,7 @@ * A relatively POSIX-compliant *NIX system * Cygwin or MinGW can be used on Windows * g++ 4.2 -* boost 1.54.0 +* boost 1.53.0 * Runtime libraries for lex and yacc might be needed for the compiler. ## Requirements for building from source diff --git a/doc/install/centos.md b/doc/install/centos.md index 3cf239978..609e118ea 100644 --- a/doc/install/centos.md +++ b/doc/install/centos.md @@ -54,11 +54,11 @@ If you will be developing Apache Thrift clients/servers in C++ you will also nee sudo yum -y install libevent-devel zlib-devel openssl-devel -### Upgrade Boost +### Upgrade Boost >= 1.53 - wget http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.gz - tar xvf boost_1_55_0.tar.gz - cd boost_1_55_0 + wget http://sourceforge.net/projects/boost/files/boost/1.53.0/boost_1_53_0.tar.gz + tar xvf boost_1_53_0.tar.gz + cd boost_1_53_0 ./bootstrap.sh sudo ./b2 install diff --git a/doc/install/windows.md b/doc/install/windows.md index be1338437..304adcc8d 100644 --- a/doc/install/windows.md +++ b/doc/install/windows.md @@ -123,7 +123,7 @@ Make sure you add -lfl in your cxxflags in Makefile, also try adding -Lc:/cygwin #### boost is not found Try and change the include dir to use the windows path from c like this: Edit compiler/cpp/Makefile, look for the declaration of BOOST_CPPFLAGS, change that line for - BOOST_CPPFLAGS = -Ic:/cygwin/usr/include/boost-1_33_1 + BOOST_CPPFLAGS = -Ic:/cygwin/usr/include/boost-1_53_0 #### realpath is not found add -DMINGW -mno-cygwin to the CXXDEFS variable in Makefile |