[Qt-jambi-interest] Compiling under SUSE 11.2, phonon problems

Aekold Helbrass helbrass at gmail.com
Sun Dec 27 23:44:22 CET 2009


Hi All!

I want to hack a bit into Jambi, and trying to compile it for my
system (OpenSUSE 11.2). Please suggest me how can I compile Jambi with
Phonon support for my system, because currently I have following
problems:

1. Build thinks that Phonon exists, and fails because he can't find
"<library name="phonon_gstreamer" type="plugin"
rootPath="${qtjambi.qtdir}" subdir="plugins/phonon_backend"
load="never" if="${qtjambi.phonon_gstreamer}" />". And there is no
library like this, looks like my phonon plugins are part of KDE:
user at laptop:~> ls /usr/lib64/kde4/plugins/phonon_backend/
phonon_gstreamer.so  phonon_xine.so

2. Ok, I removed execution of qtjambi-platform-jar, but now
compilation fails, because generator is not generating anything for
Phonon. And there are some messages about phonon in output:
user at laptop:~/develop/rpms/jambi/qtjambi-src-lgpl-4.5.2_01> ant
-Dqtjambi.config=release generator.run
Buildfile: build.xml
...
init:
[qtjambi-initialize] qtjambi.osname: linux64
[qtjambi-initialize] qtjambi.libsubdir: lib
[qtjambi-initialize] qtjambi.qtdir: /usr/lib64/qt4
[qtjambi-initialize] qtjambi.compiler: gcc
[qtjambi-initialize] qtjambi.configuration: release
[qtjambi-initialize] qtjambi.phonon: true
[qtjambi-initialize] qtjambi.sqlite: true
[qtjambi-initialize] qtjambi.webkit: true
[qtjambi-initialize] qtjambi.xmlpatterns: true
[qtjambi-initialize] qtjambi.opengl: true
...
generator.run:
[generator]
[generator] Running :
(/home/user/develop/rpms/jambi/qtjambi-src-lgpl-4.5.2_01/generator)
/home/user/develop/rpms/jambi/qtjambi-src-lgpl-4.5.2_01/generator/generator
  --output-directory=/home/user/develop/rpms/jambi/qtjambi-src-lgpl-4.5.2_01
/home/user/develop/rpms/jambi/qtjambi-src-lgpl-4.5.2_01/generator/qtjambi_masterinclude.h
/home/user/develop/rpms/jambi/qtjambi-src-lgpl-4.5.2_01/generator/build_all.txt
...
[generator] WARNING(MetaJavaBuilder) :: type
'Phonon::AudioChannelDescription' is specified in typesystem, but not
defined. This could potentially lead to compilation errors.
[generator] WARNING(MetaJavaBuilder) :: type
'Phonon::AudioCaptureDevice' is specified in typesystem, but not
defined. This could potentially lead to compilation errors.
[generator] WARNING(MetaJavaBuilder) :: type
'Phonon::SubtitleDescription' is specified in typesystem, but not
defined. This could potentially lead to compilation errors.



More information about the Qt-jambi-interest mailing list