You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Allen George (JIRA)" <ji...@apache.org> on 2019/01/03 13:38:00 UTC
[jira] [Updated] (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 ]
Allen George updated THRIFT-4314:
---------------------------------
Component/s: C++ - Library
Build Process
> 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
> Components: Build Process, C++ - Library
> Affects Versions: 0.10.0, 0.11.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/foo/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
(v7.6.3#76005)