[ https://issues.apache.org/jira/browse/THRIFT-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13670192#comment-13670192 ]
Hudson commented on THRIFT-1968: -------------------------------- Integrated in Thrift #650 (See [https://builds.apache.org/job/Thrift/650/]) THRIFT-1968 Thrift's include path is wrong in pkg-config files (Revision 16ee0d17a66c0bb67979507991f56ae8e898bfc4) Result = SUCCESS roger : Files : * lib/cpp/thrift-z.pc.in * lib/cpp/Makefile.am * lib/cpp/thrift-qt.pc.in * lib/cpp/thrift-nb.pc.in * lib/cpp/thrift.pc.in > Thrift's include path is wrong in pkg-config files > -------------------------------------------------- > > Key: THRIFT-1968 > URL: https://issues.apache.org/jira/browse/THRIFT-1968 > Project: Thrift > Issue Type: Bug > Affects Versions: 0.9 > Environment: Gentoo Linux > Reporter: Tomasz RydzyĆski > Assignee: Roger Meier > Priority: Minor > > It seems like thrift's pkg-config files are pointing to a wrong include path. > I've installed thrift 0.9.0 (and rechecked with git's master) like this: > ./configure --prefix=/opt/thrift > make > sudo make install > Now I have, e.g. this file: > /opt/thrift/include/thrift/Thrift.h > However, at this point I'm not able to include <thrift/Thrift.h>, because > pkg-config thrift --cflags > returns: > -I/opt/thrift/include/thrift > Which means I should include <Thrift.h> > Page http://wiki.apache.org/thrift/ThriftUsageC%2B%2B suggests including > files without the "thrift/" prefix. But the generated code does contain the > prefix... > Am I doing something wrong, or is it actually a bug and thrift should install > headers with one more directory in the path, e.g: > ${PREFIX}/include/thrift-0.9.0/thrift > That's the way some other libraries are doing it, e.g. gtk+. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira