Registered Member
|
Hello,
I've been trying to build Amarok 2.3.2 for CentOS 6 x64. The build ends with an error saying it can't find a file, plasma/widgets/webview.h I've installed or built all the listed dependencies as described in the README. I've also searched for a yum package that would provide this file. Searching this forum and google didn't return any relevant info either. Anyone encounter this problem and have a solution? Thanks for your help! Ray [ry amarok-2.3.2-build]$ make [ 0%] Built target amarok_automoc [ 0%] Built target amaroklib_automoc [ 0%] Built target amarokcore_automoc [ 5%] Built target amarokcore [ 6%] Built target amarokpud [ 6%] Built target amarokocsclient_automoc [ 10%] Built target amarokocsclient [ 10%] Building CXX object src/CMakeFiles/amaroklib.dir/context/widgets/AmarokWebView.o In file included from /home/ry/Downloads/amarok-2.3.2/src/context/widgets/AmarokWebView.cpp:18: /home/ry/Downloads/amarok-2.3.2/src/context/widgets/AmarokWebView.h:22:36: error: plasma/widgets/webview.h: No such file or directory In file included from /home/ryeung/Downloads/amarok-2.3.2/src/context/widgets/AmarokWebView.cpp:18: /home/ry/Downloads/amarok-2.3.2/src/context/widgets/AmarokWebView.h:31: error: ‘Plasma’ has not been declared /home/ry/Downloads/amarok-2.3.2/src/context/widgets/AmarokWebView.h:31: error: expected ‘{’ before ‘WebView’ /home/ry/Downloads/amarok-2.3.2/src/context/widgets/AmarokWebView.h:32: error: invalid type in declaration before ‘{’ token /home/ry/Downloads/amarok-2.3.2/src/context/widgets/AmarokWebView.h:32: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x /home/ry/Downloads/amarok-2.3.2/src/context/widgets/AmarokWebView.h:33: error: expected primary-expression before ‘public’ /home/ry/Downloads/amarok-2.3.2/src/context/widgets/AmarokWebView.h:33: error: expected ‘}’ before ‘public’ /home/ry/Downloads/amarok-2.3.2/src/context/widgets/AmarokWebView.h:33: error: expected ‘,’ or ‘;’ before ‘public’ /home/ry/Downloads/amarok-2.3.2/src/context/widgets/AmarokWebView.h:36: error: expected unqualified-id before ‘protected’ /home/ry/Downloads/amarok-2.3.2/src/context/widgets/AmarokWebView.h:41: error: expected declaration before ‘}’ token make[2]: *** [src/CMakeFiles/amaroklib.dir/context/widgets/AmarokWebView.o] Error 1 make[1]: *** [src/CMakeFiles/amaroklib.dir/all] Error 2 make: *** [all] Error 2
Last edited by ray_sj on Sun Sep 11, 2011 10:36 pm, edited 1 time in total.
|
Manager
|
Why do you try to build such an outdated version? Current is Amarok 2.4.3.
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 ... |
Registered Member
|
I would like to use the latest version (or even any 2.4.x version), but CentOS 6 is only up to KDE-Libs 4.3, so I can't build it.
|
KDE Developer
|
That file should be part of kdelibs - it's in the package kdelibs5-dev on Ubuntu, for example. If you're using packaged rather than built kdelibs, as your last message implies, it's likely missing from the packages you have installed. Look for missing KDE dev packages, or build kdelibs yourself.
|
Registered Member
|
Thanks for your reply, Sentynel.
I thought it should be in the kdelibs-devel package, but it looks like it isn't. I do have kdelibs-devel-4.3.4-11.el6_0.2.x86_64 installed. Looks like CentOS doesn't have these header files in their packages. Guess I'll have to look into building kdelibs... |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft