Thrift 0.9.0 BROKEN for cross-compiling. Part of the problems you see is because they have static paths for at least a few (if not all) things that do not offer pkg-config answers for things. He is looking beyond your sysroot for all kinds of things right now.
There is a problem registered in their Jira, but the position they take is "have you set your --includedir parameter?" (Uh, --includedir indicates where things are inside my sysroot, and you should observe things like disable PHP assemblies (now it is not ... sigh ...) and -with-libtool -sysroot, which prefixes everything so that you can cross-compile.) So, I donโt think that help will be received at any time in the near future.
source share