[ 
https://issues.apache.org/jira/browse/THRIFT-4314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Buğra Gedik updated THRIFT-4314:
--------------------------------
    Description: 
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.

  was:
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.


> 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
>            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)

Reply via email to