[Clfs-dev] CBLFS -- query about cmake & qt4

db m myheadblewoff at hotmail.com
Tue Apr 7 17:07:25 PDT 2009


Greets,

I just stumbled across a package (lmms) that uses the cmake
build system for compilation - the package requires qt4, but
cmake fails to find the qt4 qmake binary...

This is likely to happen only if you have qt4 installed in /opt
and you have qt3 installed in /usr -- the cmake control files
(/usr/share/cmake-{version)/Modules) expect to find qt4 in
/usr, and failing that, will walk the current $PATH looking for
a valid qt4 qmake binary named 'qmake-qt4' or 'qmake4' - we
do not create this during the CBLFS qt4 build procedure.

We do set the QT4DIR variable (ignored by cmake) and include
/opt/qt4/bin in $PATH, but cmake must find qmake-qt4 (or qmake4) 
in $PATH (these can be symlinks to /opt/qt4/bin/qmake) or else the
cmake system will error out.

Although I could update the wiki page to add such a symlink
and effectively fix this boofle, it occurs to me that in the case
of a multilib build....where /opt/qt4/bin/qmake is a symlink back
to  /usr/bin/multiarch_wrapper.....such an approach is not correct.

i've put off touching the wiki on this, and instead air the situation
here hopeful of some advice with this....anyone have any ideas?

Regards,

Don


_________________________________________________________________
View photos of singles in your area Click Here
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fdating%2Eninemsn%2Ecom%2Eau%2Fchannel%2Findex%2Easpx%3Ftrackingid%3D1046247&_t=773166080&_r=Hotmail_Endtext&_m=EXT


More information about the Clfs-dev mailing list