On Tue, 2008-09-02 at 15:03 -0700, Nelson, Doug wrote:
> ...
> /usr/bin/rpmbuild -ba --rcfile ./rpm-4.rc kmchart.spec
> error: Failed build dependencies:
> qt4-devel >= 4.2 is needed by kmchart-1.2.7-0.x86_64
> gmake[1]: *** [dist] Error 1
> Done
> make: Leaving directory
> `/home/nelsond/tools/kmchart_nathans/kmchart_sep_2/build'
>
>
> # rpm -qa | grep "qt4"
> libqt4-qt3support-4.4.0-12.2
> libqt4-devel-4.4.0-12.2
> libqt4-x11-4.4.0-12.2
> libpoppler-qt4-3-0.8.2-1.3
> libqt4-4.4.0-12.2
> libqt4-sql-4.4.0-12.2
>
> Is there an easy fix for this?
Hmmm, not sure on the best approach - kmchart/build/rpm/kmchart.spec.in
has:
Requires: pcp >= 2.0
Requires: qt4 >= 4.2
Requires: qt4-doc >= 4.2
BuildRequires: pcp >= 2.0
BuildRequires: qt4-devel >= 4.2
which is correct for the Redhat-based distros. What we need is some
way to make each of those qt4 dependencies either-or checks (either
qt4 or libqt4...) but rpm doesn't seem to allow that. An alternate
approach would be to macro-ise the name qt4 and get the configure
script to substitute in the appropriate value for this platform...
thats probably the simplest way to go as we have complete control in
that environment.
OOC, does OpenSuse have a qt4-doc package? (contains the QT
"assistant" application, used for online help in kmchart).
Oh, also, I have found 4.4.0 to be a problematic QT release with
kmchart - in particular, theres a bug in the 4.4.0 tree widget that
wreaks havoc in the metric selector ... apparently fixed in 4.4.1
which is now out, but I've not yet had a chance to test it - more
details here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483790
cheers.
--
Nathan
|