Jean-Sebastien Delfino created THRIFT-1668:
----------------------------------------------

             Summary: Compile error in contrib/fb303, 
thrift/TDispatchProcessor.h: No such file or directory
                 Key: THRIFT-1668
                 URL: https://issues.apache.org/jira/browse/THRIFT-1668
             Project: Thrift
          Issue Type: Bug
          Components: Build Process
         Environment: Ubuntu 12.04
Thrift trunk SVN r1366428
            Reporter: Jean-Sebastien Delfino
            Assignee: Jean-Sebastien Delfino
             Fix For: 0.9


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


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to