[Qt-jambi-interest] Compiling under SUSE 11.2, phonon problems
Francis Galiegue
fgaliegue at gmail.com
Mon Dec 28 18:35:41 CET 2009
On Sun, Dec 27, 2009 at 11:44 PM, Aekold Helbrass <helbrass at gmail.com> wrote:
> 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.
> _______________________________________________
In fact, the problem lies with the build system (and btw you use quite
an old version).
The plugin paths are built upon the QTDIR environment variable, but
this will only ever work if qtdir is set to a _source_ directory which
you have compiled yourself.
I know the solution, I'm working on it and will post a patch series
when I am done. This patch series will allow, among other niceties, to
build qt-jambi _with your installed Qt version_.
--
Francis Galiegue, fgaliegue at gmail.com
"It seems obvious [...] that at least some 'business intelligence'
tools invest so much intelligence on the business side that they have
nothing left for generating SQL queries" (Stéphane Faroult, in "The
Art of SQL", ISBN 0-596-00894-5)
More information about the Qt-jambi-interest
mailing list