Hello, When attempting to build this from source code it gets through the make process and immediately fails on the linking: Linking CXX shared module phonon_gstreamer.so CMakeFiles/phonon_gstreamer.dir/mediaobject.cpp.o: In function `Phonon::Gstreamer::MediaObject::changeSubUri(Phonon::Mrl const&)': mediaobject.cpp:(.text+0xa89): undefined reference to `Phonon::Mrl::toEncoded(QFlags<QUrl::FormattingOption>) const' CMakeFiles/phonon_gstreamer.dir/pipeline.cpp.o: In function `.L1582': pipeline.cpp:(.text+0x627b): undefined reference to `Phonon::Mrl::toEncoded(QFlags<QUrl::FormattingOption>) const' collect2: error: ld returned 1 exit status gstreamer/CMakeFiles/phonon_gstreamer.dir/build.make:657: recipe for target 'gstreamer/phonon_gstreamer.so' failed make[2]: *** [gstreamer/phonon_gstreamer.so] Error 1 CMakeFiles/Makefile2:109: recipe for target 'gstreamer/CMakeFiles/phonon_gstreamer.dir/all' failed make[1]: *** [gstreamer/CMakeFiles/phonon_gstreamer.dir/all] Error 2 Makefile:117: recipe for target 'all' failed Reproducible: Always
This is on a 32bit build. With gstreamer-1.4.1 installed and quicktime 4.8.6
This sounds an awful lot like it is not actually linking against a >=4.7.0 libphonon. Please wipe your build dir, turn on verbose make files in cmake and attach a complete build log to the bug report
Created attachment 88614 [details] Output of Compile on screen
Created attachment 88615 [details] comdenced log of build
Before this, the configure was not able to find: PhononConfig.cmake This appears to have been named: Phonon4Qt5Config.cmake So the only way to actually proceed to actually being able to attempt make was to do: cp Phonon4Qt5Config.cmake PhononConfig.cmake
Created attachment 88617 [details] updated screen dump
I just recompiled and re-installed phonon-4.8.0 without also building against qt5 which I also have installed and it solved the previous issue of not being able to find PhononConfig.cmake, but still did not solve the linking error. I have uploaded an updated screendump. It seems that this version of phonon is not able to build against qt4 and qt5 at the same time.
http://people.ubuntu.com/~apachelogger/phonon/phonon4qt5.html note the -DPHONON_BUILD_PHONON4QT5=ON flag, it needs to be used for every part of phonon that is supposed to be built for qt5
Hello, I already knew that and had already done that. It still does not resolve the linking issue either way. I specifically went back to ONLY using qt4. There is a build failure on this that will NOT go away. The previous version of phonon etc worked without any issue. This build does not. I do not know how to solve this which is why I have opened a bug report.
That seems highly unlikely given that the link error is about phonon4qt5 being found/used by cmake with phonon finding/using qt4. So in order for it not to work it would the other way around have to find/use phonon and find/use qt5, which again only depends on the cmake qt5 cmake flag mentioned. Please provide a new log with qt4 :)