[Nix-dev] The qt phonon problem

Tony White tonywhite100 at googlemail.com
Fri Jul 10 09:56:31 CEST 2009


Hi,
Does anyone have the qt4 phonon module working with kde4 yet?

I've tried with -phonon -phonon-backend -gstreamer along with adding
gst_all.gstreamer gst_all.gstPluginsBase xineLib to the build inputs
and qt4 compiles fine but then later on kdebase-runtime errors out
with :

[ 60%] Building CXX object
phonon/kded-module/CMakeFiles/kded_phononserver.dir/kded_phononserver_automoc.o
In file included from
/tmp/nix-build-j17kwnpy3xkkmqidvj2bhlqh833yxfd4-kdebase-runtime-4.2.4.drv-0/kdebase-runtime-4.2.4/build/phonon/kded-module/moc_phononserver.cpp:10,
                 from
/tmp/nix-build-j17kwnpy3xkkmqidvj2bhlqh833yxfd4-kdebase-runtime-4.2.4.drv-0/kdebase-runtime-4.2.4/build/phonon/kded-module/kded_phononserver_automoc.cpp:4:
/tmp/nix-build-j17kwnpy3xkkmqidvj2bhlqh833yxfd4-kdebase-runtime-4.2.4.drv-0/kdebase-runtime-4.2.4/build/phonon/kded-module/../../../phonon/kded-module/phononserver.h:26:36:
error: Phonon/ObjectDescription: No such file or directory
make[2]: *** [phonon/kded-module/CMakeFiles/kded_phononserver.dir/kded_phononserver_automoc.o]
Error 1
make[1]: *** [phonon/kded-module/CMakeFiles/kded_phononserver.dir/all] Error 2
make: *** [all] Error 2
builder for `/nix/store/j17kwnpy3xkkmqidvj2bhlqh833yxfd4-kdebase-runtime-4.2.4.drv'
failed with exit code 2
cannot build derivation
`/nix/store/f2md2ndrlzhq37kbwyjci5di26v7dwmz-system-path.drv': 1
dependencies couldn't be built
cannot build derivation
`/nix/store/mk4lc4ksyjdm4053kj58jqjdcz8kf2gl-system.drv': 1
dependencies couldn't be built
error: build of `/nix/store/mk4lc4ksyjdm4053kj58jqjdcz8kf2gl-system.drv' failed

It looks like the kdebase-runtime cmake scripts can't find the qt
phonon module in the qt installation? The phonon package is already
there as a build dependency in kdebase-runtime, which builds fine
without the -phonon -phonon-backend -gstreamer switches used in qt4 so
it must be the qt back end causing the problem.

I'm going to try again with kde 4.3 when it comes out but the phonon
thing is kind of important to get amarok2 working. Of recent amarok2
now has two new dependencies, one of them is qtscriptgenerator which
won't build without qt phonon support (Rightly or wrongly) But for now
amarok2 is fortunately the only thing that's started using
qtscriptgenerator.

So any suggestions on what could be going wrong? kdebase-runtime
looking in the wrong place maybe?

Thanks,

Tony



More information about the nix-dev mailing list