Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
None
-
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