Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196702 - dev-ruby/qt4-qtruby-1.4.9(-r1): CMake error->wrong path to qscintilla-includedir
Summary: dev-ruby/qt4-qtruby-1.4.9(-r1): CMake error->wrong path to qscintilla-includedir
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-22 09:41 UTC by Franz Trischberger
Modified: 2007-11-06 12:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
files/FindQScintilla.cmake.diff (FindQScintilla.cmake.diff,1.01 KB, text/plain)
2007-10-22 09:44 UTC, Franz Trischberger
Details
dev-ruby/qt4-qtruby-1.4.9-r2.ebuild (qt4-qtruby-1.4.9-r2.ebuild,983 bytes, text/plain)
2007-10-22 09:45 UTC, Franz Trischberger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Trischberger 2007-10-22 09:41:31 UTC
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
Comment 1 Franz Trischberger 2007-10-22 09:44:16 UTC
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.
Comment 2 Franz Trischberger 2007-10-22 09:45:32 UTC
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.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-10-22 09:45:45 UTC
Please post the actual errors you get when compiling so that people can actually find this bug.
Comment 4 Franz Trischberger 2007-10-22 09:52:50 UTC
(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.
Comment 5 Franz Trischberger 2007-10-22 20:22:05 UTC
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.
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2007-11-06 12:34:51 UTC
committed as qt4-qtruby-1.4.9-r2.  Thanks for the report.