This forum has been archived. All content is frozen. Please use KDE Discuss instead.

runn/compiling amarok under kde4.5

Tags: None
(comma "," separated)
drinkingcoffee
Registered Member
Posts
31
Karma
0

runn/compiling amarok under kde4.5

Mon Aug 23, 2010 2:25 pm
Hi --
I'm wondering if anyone has had any luck running or compiling amarok under kde 4.5?

I am running Fedora 13, and recently updated to kde 4.5 from the (superfantastic) kde-redhat testing repository. Since the update, trying to launch amarok results in a segmentation fault (I tried removing the amarok files from .kde/share/apps and .kde/share/config, but no luck).
I can post the backtrace, if it will help.

Furthermore, compilation of the new beta fails with:
Linking CXX executable amarok
/usr/lib64/libkdeui.so.5.5.0: undefined reference to `QString::isRightToLeft() const'
/usr/lib64/libkdeui.so.5.5.0: undefined reference to `QIcon::name() const'
collect2: ld returned 1 exit status
make[2]: *** [src/amarok] Error 1
make[1]: *** [src/CMakeFiles/amarok.dir/all] Error 2


It's a bit strange, since amarok was running fine when I was using kde4.5rc2 a few weeks ago.

Thanks
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Works here without problems, compiling 2.3.1-git on KDE 4.5 on Kubuntu 10.04 daily and haven't seen compilation problems so far, besides the occasional commit breaking the git build for half an hour.

Please check again if all the requested dependencies are present, and in the correct location. Also, do you really have to compile the beta yourself? Aren't there packages available in your distribution?


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
drinkingcoffee
Registered Member
Posts
31
Karma
0
Hi -- thanks.

While checking to make sure I had all the dependencies, I updated to QT 4.7, which allowed the compilation of 2.3.2 beta to finish... but also allowed me to launch 2.3.1 again without any segfault (plasma-desktop crashes if I click on the amarok tray icon for the stable and beta versions... but that's probably a separate issue).

For Fedora, the only place where I've seen amarok beta RPMs is in the kde-redhat repository, but they don't seem to be there (at least not yet).


cheers
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Hm, that should not happen, I will check with the developers if there is maybe some Qt 4.7 specifics that sneaked into the 2.3.1.90 code. Thanks for the feedback.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Indeed, QString::isRightToLeft() was introduced in Qt 4.7, but I checekd the current source and can't find any occurrence of that in Amarok, so either that was already reverted or doesn't come from Amarok. Do you use some special arguments when compiling?


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
drinkingcoffee
Registered Member
Posts
31
Karma
0
Mamarok wrote:Indeed, QString::isRightToLeft() was introduced in Qt 4.7, but I checekd the current source and can't find any occurrence of that in Amarok, so either that was already reverted or doesn't come from Amarok. Do you use some special arguments when compiling?


No special arguments when compiling -- I just followed the directions at: http://amarok.kde.org/wiki/Compiling

Searching through the 2.3.1.90 (beta 1) source code, I only see see this:
QApplication::isRightToLeft();
but that should be fine, I think.

It's quite possible that this was all due to a problem on my side -- an incomplete update to KDE 4.5 that missed some dependencies from the kde-redhat repository.

Maybe that makes sense since the error was while linking and complains about /libkdeui.so.5.5.0 (here I am pretending to know what I'm talking about)?
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
No, it makes perfect sense, that is also my conclusion :)


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]