Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3991

compiler plugin relies on boost

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: 0.10.0
    • Fix Version/s: None
    • Component/s: Compiler (General)
    • Labels:
      None
    • Flags:
      Patch

      Description

      [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
      

        Attachments

        1. THRIFT-3991.patch
          0.6 kB
          Xiaoshuang LU

          Issue Links

            Activity

              People

              • Assignee:
                jking3 James E. King III
                Reporter:
                in-chief Xiaoshuang LU
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: