[Kde-bindings] smoke/phonon compilation problem in svn

Arno Rehn arno at arnorehn.de
Sun Nov 9 13:37:40 UTC 2008


On Sunday 09 November 2008 04:53:46 Raphael Kubo da Costa wrote:
> Hello,
>
> I was wondering if I should post this in Bugzilla or just ask here in
> the mailing list. I'm running KDE from trunk. These days, I've been
> trying to compile kdebindings, but I always get a compilation error on
> smoke/phonon:
>
> [ 50%] Building CXX object
> smoke/phonon/CMakeFiles/smokephonon.dir/smokedata.o [ 50%] Building CXX
> object smoke/phonon/CMakeFiles/smokephonon.dir/x_2.o c++:
> /home/kubo/kde4/build/KDE/kdebindings/smoke/phonon/x_2.cpp: No such file or
> directory
> c++: no input files
> make[2]: *** [smoke/phonon/CMakeFiles/smokephonon.dir/x_2.o] Error 1
> make[1]: *** [smoke/phonon/CMakeFiles/smokephonon.dir/all] Error 2
> make: *** [all] Error 2
> makeobj[0]: Leaving directory
> `/home/kubo/kde4/build/KDE/kdebindings/smoke/phonon'
>
> An 'ls x_*.cpp' returns only x_1.cpp. What could it be? Is this the
> right place to ask?
Yes, this is the right place. You probably have Qt compiled without phonon 
support, so the perl script that tests for QT_NO_* defines will detect that. 
If you want to build phonon smoke, kalyptus will assume QT_NO_PHONON is 
defined and won't parse any phonon class.
You need to remove every occurrence of QT_NO_PHONON from <build-
dir>/smoke/qtdefines and run 'perl generate.pl' in <build-dir>/smoke/phonon 
again. Then the build should work.

We really need to do something about the generate.pl script, it's currently in 
a very bad shape.

-- 
Arno Rehn
arno at arnorehn.de



More information about the Kde-bindings mailing list