The cmake step while compiling qt4-qtruby failes cause the path to the Qsci-headers in the FindQScintilla.cmake is set to "${QT_INCLUDE_DIR}/Qsci" (which is on gentoo "/usr/include/qt4/Qsci", but the qscintilla-2.1.ebuild installs them to "/usr/include/Qsci". There also is an error in the FindQScintilla.cmake-file, that sets QSCINTILLA_FOUND to YES, though it can't find the headers. This issue is solved in the current kde4-kdebindings. Reproducible: Always
Created attachment 134107 [details] files/FindQScintilla.cmake.diff I used the new FindQScintilla.cmake from kdebindings and changed the QSCINTILLA_INCLUDE_DIR to /usr/include/Qsci. So the cmake-stop doesnt stop when you have qscintilla installed.
Created attachment 134108 [details] dev-ruby/qt4-qtruby-1.4.9-r2.ebuild That's an updated version of the current qt4-qtruby-ebuild applying the QScintilla-patch.
Please post the actual errors you get when compiling so that people can actually find this bug.
(In reply to comment #3) > Please post the actual errors you get when compiling so that people can > actually find this bug. > Sorry, so here you are: =============================================== -- Ruby found: /usr/lib/libruby.so -- Found QScintilla2: /usr/lib/libqscintilla2.a -- Found Qwt: /usr/lib/libqwt.so -- Build Smoke... -- Ruby found: /usr/lib/libruby.so -- Fix $(LN_S) rbqtapi $(DESTDIR)$(bindir)/rbqt3api and $(LN_S) rbqtapi $(DESTDIR)$(bindir)/rbqt4api -- Build QtRuby... yes CMake Error: This project requires some variables to be set, and cmake can not find them. Please set the following variables: QSCINTILLA_INCLUDE_DIR (ADVANCED) -- Configuring done =================================================== It says Found QScintilla2, but stops as the INCLUDEs could not be found.
To make things clear: qt4-qtruby is looking for Qwt and Qscintilla installations. If it can find one of them it builds ruby-modules (though i did not yet find out how to use QScintilla ;) ). If qscintilla is not installed you wont get this error. So in order to reproduce this behaviour you first need to install qscintilla-2.1 before qt4-qtruby.
committed as qt4-qtruby-1.4.9-r2. Thanks for the report.