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 2019/01/17 20:18:00 UTC

[jira] [Closed] (THRIFT-3991) compiler plugin relies on boost

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

James E. King III closed THRIFT-3991.
-------------------------------------
    Resolution: Won't Do
      Assignee: James E. King III  (was: Aki Sukegawa)

> compiler plugin relies on boost
> -------------------------------
>
>                 Key: THRIFT-3991
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3991
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (General)
>    Affects Versions: 0.10.0
>            Reporter: Xiaoshuang LU
>            Assignee: James E. King III
>            Priority: Major
>         Attachments: THRIFT-3991.patch
>
>
> {code}
> [root@localhost thrift]# make 
> make  all-recursive
> make[1]: Entering directory `/data/thrift'
> Making all in lib/cpp
> make[2]: Entering directory `/data/thrift/lib/cpp'
> Making all in .
> make[3]: Entering directory `/data/thrift/lib/cpp'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/data/thrift/lib/cpp'
> make[2]: Leaving directory `/data/thrift/lib/cpp'
> Making all in compiler/cpp
> make[2]: Entering directory `/data/thrift/compiler/cpp'
> Making all in src
> make[3]: Entering directory `/data/thrift/compiler/cpp/src'
> make  all-am
> make[4]: Entering directory `/data/thrift/compiler/cpp/src'
> make[4]: Nothing to be done for `all-am'.
> make[4]: Leaving directory `/data/thrift/compiler/cpp/src'
> make[3]: Leaving directory `/data/thrift/compiler/cpp/src'
> Making all in src/thrift/plugin
> make[3]: Entering directory `/data/thrift/compiler/cpp/src/thrift/plugin'
> make  all-am
> make[4]: Entering directory `/data/thrift/compiler/cpp/src/thrift/plugin'
> make[4]: Nothing to be done for `all-am'.
> make[4]: Leaving directory `/data/thrift/compiler/cpp/src/thrift/plugin'
> make[3]: Leaving directory `/data/thrift/compiler/cpp/src/thrift/plugin'
> Making all in .
> make[3]: Entering directory `/data/thrift/compiler/cpp'
> /bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift -I../../lib/c_glib/src/thrift  -I./src -Isrc -I../../lib/cpp/src -DTHRIFT_ENABLE_PLUGIN=1  -Wall -Wextra -pedantic -g -O2 -MT src/thrift/plugin/libthriftc_la-plugin.lo -MD -MP -MF src/thrift/plugin/.deps/libthriftc_la-plugin.Tpo -c -o src/thrift/plugin/libthriftc_la-plugin.lo `test -f 'src/thrift/plugin/plugin.cc' || echo './'`src/thrift/plugin/plugin.cc
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift -I../../lib/c_glib/src/thrift -I./src -Isrc -I../../lib/cpp/src -DTHRIFT_ENABLE_PLUGIN=1 -Wall -Wextra -pedantic -g -O2 -MT src/thrift/plugin/libthriftc_la-plugin.lo -MD -MP -MF src/thrift/plugin/.deps/libthriftc_la-plugin.Tpo -c src/thrift/plugin/plugin.cc -o src/thrift/plugin/libthriftc_la-plugin.o
> In file included from ./src/thrift/plugin/plugin.h:23:0,
>                  from src/thrift/plugin/plugin.cc:20:
> ../../lib/cpp/src/thrift/Thrift.h:45:39: fatal error: boost/utility/enable_if.hpp: No such file or directory
>  #include <boost/utility/enable_if.hpp>
>                                        ^
> compilation terminated.
> make[3]: *** [src/thrift/plugin/libthriftc_la-plugin.lo] Error 1
> make[3]: Leaving directory `/data/thrift/compiler/cpp'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/data/thrift/compiler/cpp'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/data/thrift'
> make: *** [all] Error 2
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)