You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2017/12/14 20:58:00 UTC
[jira] [Assigned] (THRIFT-4314) configure/build does not work
properly wrt --with-boost and --with-libevent
[ https://issues.apache.org/jira/browse/THRIFT-4314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James E. King, III reassigned THRIFT-4314:
------------------------------------------
Assignee: James E. King, III
> configure/build does not work properly wrt --with-boost and --with-libevent
> ---------------------------------------------------------------------------
>
> Key: THRIFT-4314
> URL: https://issues.apache.org/jira/browse/THRIFT-4314
> Project: Thrift
> Issue Type: Bug
> Affects Versions: 0.10.0
> Reporter: Buğra Gedik
> Assignee: James E. King, III
> Priority: Minor
>
> Trying:
> {{./configure --with-libevent="/opt/foo/ub16/libevent-2.1.18-stable" --with-boost="/opt/foo/ub16/boost-1.65.0" --enable-shared=no --enable-tests=no CFLAGS="-fPIC -g -O2" CXXFLAGS="-fPIC -g -O2"}}
> works, but the build (after typing {{make}}) fails midway complaining that a boost header was not found. A similar problem happens with {{libevent}}. One is forced to do:
> {{./configure --with-libevent="/opt/foo/ub16/libevent-2.1.18-stable" --with-boost="/opt/foo/ub16/boost-1.65.0" --enable-shared=no --enable-tests=no CFLAGS="-fPIC -g -O2" CXXFLAGS="-fPIC -g -O2 -I/opt/foo/ub16/boost-1.65.0/include -I/opt/foo/ub16/libevent-2.1.18-stable/include"}}
> Also, if you pass {{--enable-tests=yes}}, then you are also forced to pass {{LDFLAGS="-L/opt/unscrambl/drive/ub16/libevent-2.1.18-stable/lib"}}.
> One should not need to pass these additional -I and -Ls given that --with-boost and --with-libevent are supposed to handle these.
> Finally {{make clean}} fails as well.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)