https://bugzilla.redhat.com/show_bug.cgi?id=830234
This bug is a blocker for my main upstream project (Qpid, and also our upcoming Proton codebase). It's also blocking our ability to move from automake tools to Cmake for our packaging as well. The problem is consistently:
Scanning dependencies of target cqpid_ruby [ 89%] Building CXX object bindings/qpid/ruby/CMakeFiles/cqpid_ruby.dir/rubyRUBY_wrap.o In file included from /usr/include/ruby.h:32:0, from /home/mcpierce/temp/cmake/bindings/qpid/ruby/rubyRUBY_wrap.cxx:856: /usr/include/ruby/ruby.h:24:25: fatal error: ruby/config.h: No such file or directory compilation terminated. make[2]: *** [bindings/qpid/ruby/CMakeFiles/cqpid_ruby.dir/rubyRUBY_wrap.o] Error 1 make[1]: *** [bindings/qpid/ruby/CMakeFiles/cqpid_ruby.dir/all] Error 2 make: *** [all] Error 2
The package config file does not tell the configuration tool about /usr/include/x86_64-linux, which holds the headers in question.
Is anybody working on this problem? And does anybody have a temporary workaround for Cmake environments?
On Friday, June 29, 2012 09:20:00 AM Darryl L. Pierce wrote:
Is anybody working on this problem? And does anybody have a temporary workaround for Cmake environments?
Just for the record, it turns out RUBY_INCLUDE_DIR was being used instead of RUBY_INCLUDE_DIRS.
Kind regards,
Jeroen van Meeuwen
ruby-sig@lists.fedoraproject.org