Hi,

I want to compile hydrogen cleanly.

Since the ebuild of hydrogen fails to compile because
the system "linux3" is not known (which happens even
when compiled on a linux-2.6*-booted machine)...

I was pointed to patch which fixes this problem, but
unfortunately it only opens the way to the next problem.

I decided to try to compile hydrogen from vanilla sources
and outside the emerge/portage system to better understand
wahts happening.

When doing so, one has to set QTDIR and then run scons.

Hydrogen needs qt4.

I set QTDIR to /usr/share/qt4.

The compilation fails because QtGui could not be found.

QtGui is here /usr/include/qt4/Qt/QtGui which is a file which 
includes all relevant header file in one go.

So I tried to set QTDIR to /usr/include/qt4 but this produces
the same problem.

I decided to hack the relevant file of hydorgen and hardcoded
the path to QtGui directly into the include statement. No comments
on this please, it is a bad bad ugly thing to do so. I simply
wa curious to see next problem...

And I was not dissappointed. This time the QtGui-file could not
find the first header file which it includes:

#include <QtCore/QtCore>

To hack also /usr/include/qt4/Qt/QtGui is no way.

So....either hydrogens build mechanism does not fit the installation 
of Qt4 on my Gentoo system (Qt4 was installed via emerge/portage) or
it has a bug or the problem sits right in front of my monitor and
is currently writing a post to the gentoo-users mailinglist... ;)

In the latter case the chance are not small, that I will be able to
fix the problem...

If I only would know, how ;))

What did I wrong here?

Thank you very much in advance for any help!

Best regards
mcc


Reply via email to