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

Compile error in contrib/fb303, thrift/TDispatchProcessor.h: No such file or directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • 0.9
    • Build Process
    • None
    • Ubuntu 12.04
      Thrift trunk SVN r1366428

    • Patch Available

    Description

      Compile error building contrib/fb303.

      Steps to reproduce:
      cd $build/thrift/contrib/fb303
      ./bootstrap.sh -prefix=$build/thrift-bin/contrib/fb303 PY_PREFIX=$build/thrift-bin/contrib/fb303 --with-thriftpath=$build/thrift-bin --disable-static
      make

      Compile error:
      In file included from gen-cpp/FacebookService.cpp:7:0:
      gen-cpp/FacebookService.h:10:39: fatal error: thrift/TDispatchProcessor.h: No such file or directory

      Looks like the include path configured in contrib/fb303/Makefile.am like this:
      AM_CPPFLAGS += -I$(thrift_home)/include/thrift
      should be changed to this:
      AM_CPPFLAGS += -I$(thrift_home)/include

      Attachments

        Activity

          People

            jfarrell Jake Farrell
            jsdelfino Jean-Sebastien Delfino
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: