[
https://issues.apache.org/jira/browse/THRIFT-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13861523#comment-13861523
]
Radojko Drcelic edited comment on THRIFT-2229 at 1/3/14 1:45 PM:
-----------------------------------------------------------------
With HEAD it is possible to build working thrift binary :). Here is how I did
it.
As prerequisite, make sure that you have autoconf, automaker, lib tool and
pkgconfig properly installed.
IMHO, it is very important to install xcode 5.0.2. (take it from app store and
start it once to completely install accepting licence, etc.) and xcode command
line tools before you start anything. Maybe it is possible otherwise, but I've
spent too much time trying without these.
$xcode-select --install
Afterwards, I still had to do
$export CXXFLAGS="-std=c++11"
I have build boost and lib event manually as described on thrift site.
And finally, I had to do
$CC=gcc CXX=g++ ./bootstrap.sh
$CC=gcc CXX=g++ ./configure --with-boost=/usr/local/ --with-libevent=/usr/local
[~Wuvist]
I also had problems with ruby, but it was solved with
$sudo gem install rspec
was (Author: rdrcelic):
With HEAD it is possible to build working thrift binary :). Here is how I did
it.
As prerequisite, make sure that you have autoconf, automaker, lib tool and
pkgconfig properly installed.
IMHO, it is very important to install xcode 5.0.2. (take it from app store and
start it once to completely install accepting licence, etc.) and xcode command
line tools before you start anything. Maybe it is possible otherwise, but I've
spent too much time trying without these.
$xcode-select --install
Afterwards, I still had to do
$export CXXFLAGS="-std=c++11"
I have build boost and lib event manually as described on thrift site.
And finally, I had to do
$CC=gcc CXX=g++ ./bootstrap.sh
$CC=gcc CXX=g++ ./configure --with-boost=/usr/local/ --with-libevent=/usr/local
> thrift failed to build on OSX 10.9 GM
> -------------------------------------
>
> Key: THRIFT-2229
> URL: https://issues.apache.org/jira/browse/THRIFT-2229
> Project: Thrift
> Issue Type: Bug
> Components: Build Process
> Affects Versions: 0.9.1
> Environment: Mac OSX 10.9 GM
> Reporter: Guilherme Defreitas
> Assignee: Roger Meier
> Attachments: THRIFT-2229.patch, cpp-tutorial.patch, thrifty.patch
>
>
> Gist with compilation errors: https://gist.github.com/guidefreitas/7012084
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)