Re: Using phonon from kde-qt
Cliff McDiarmid wrote: Hello I'm trying to build the latest kdebase-runtime 4.3 with phonon from qt-4.5 - at least thats what kde wants me to do No, KDE does not say that. You should build Qt -no-phonon if you are using Qt only for KDE. cmake finds headers/libraries but then build stops with: phonon/kded-module/phononserver.h:26:36: error: Phonon/ObjectDescription: No such file or directory It seems to want to use phonon from qt in /opt rather than the other version I have installed in /usr. I understand this is right, is it?. From the cmake configure output it is finding the version under qt, but still fails to find the above file(it exists) when compiling. Can anyone suggest a reason for this on LFS? Has anyone had similar problems? It is possible that this will work if Qt was built with Phonon, but since Qt Phonon is not what KDE requires, you MUST install the KDE Phonon package: ftp://ftp.kde.org/pub/kde/stable/phonon/4.3.0/phonon-4.3.0.tar.bz2 You should install this with the same: -DCMAKE_INSTALL_PREFIX=path as you will use for KDE. Since there are other packages required, I would just install KDESupport which is available only from SVN: http://techbase.kde.org/Getting_Started/Build/KDE4/LFS#Library_Requirements svn co svn://anonsvn.kde.org/home/kde/tags/kdesupport-for-4.3/kdesupport You need the other stuff which is listed there as well! You also need: shared-mime-info and Boost. Note the instructions for getting KDE packages to build against Boost built from source. -- James Tyrer Linux (mostly) From Scratch -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Using phonon from kde-qt
- Original Message - From: Trent Shea trent.s...@gmail.com To: BLFS Support List blfs-support@linuxfromscratch.org Subject: Re: Using phonon from kde-qt Date: Wed, 12 Aug 2009 18:19:36 -0600 To build against the phonon included with qt you will need to create a link: qtdir/include/Phonon - qtdir/include/phonon/Phonon (at least form qt-4.5.2, maybe .1 on, otherwise you'll have to sort out the camel case headers however you see fit. As you say all it required in the end was a link to phonon in upper case, i.e. /opt/qt/include/Phonon /opt/qt/include/phonon I'd considered it to be a case problem originally but dismissed it and tried to alter other files. regards MAC -- Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com! -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Using phonon from kde-qt
- Original Message - From: Trent Shea trent.s...@gmail.com To: BLFS Support List blfs-support@linuxfromscratch.org Subject: Re: Using phonon from kde-qt Date: Wed, 12 Aug 2009 18:19:36 -0600 On Wednesday 12 August 2009 13:27:21 Cliff McDiarmid wrote: Can anyone suggest a reason for this on LFS? Has anyone had similar problems? If I recall kde packages up their own qt copy and a modified version of phonon. The last time I used the packaged version of phonon I downloaded it from debian, but it can also be checked out with subversion. Anyway, it IS finding phonon in qt, but NOT seeing the above files for some reason. To build against the phonon included with qt you will need to create a link: qtdir/include/Phonon - qtdir/include/phonon/Phonon (at least form qt-4.5.2, maybe .1 on, otherwise you'll have to sort out the camel case headers however you see fit ;.) I've built this way for a number of months but some functionality is lost. For example, in the kde settings menu under multimedia I don't have any backends listed, but everything has been working for me, and the phonon settings are still accessible with qtconfig. Anyhow, that's my limited experience. Regards, Trent. Many thanks will try that MAC -- Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com! -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Using phonon from kde-qt
On Wednesday 12 August 2009 13:27:21 Cliff McDiarmid wrote: Can anyone suggest a reason for this on LFS? Has anyone had similar problems? If I recall kde packages up their own qt copy and a modified version of phonon. The last time I used the packaged version of phonon I downloaded it from debian, but it can also be checked out with subversion. Anyway, it IS finding phonon in qt, but NOT seeing the above files for some reason. To build against the phonon included with qt you will need to create a link: qtdir/include/Phonon - qtdir/include/phonon/Phonon (at least form qt-4.5.2, maybe .1 on, otherwise you'll have to sort out the camel case headers however you see fit ;.) I've built this way for a number of months but some functionality is lost. For example, in the kde settings menu under multimedia I don't have any backends listed, but everything has been working for me, and the phonon settings are still accessible with qtconfig. Anyhow, that's my limited experience. Regards, Trent. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page