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

Need help building amarok

Tags: None
(comma "," separated)
rishabhgaur
Registered Member
Posts
1
Karma
0

Need help building amarok

Sun Sep 27, 2015 5:43 am
Hello,

I'm new to KDE.
I'm following the instructions given here http://techbase.kde.org/Development/Tut ... pplication to build amarok.

However, when I run cmake, I get the following:
Code: Select all
Rgaur7:~$ cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde -DCMAKE_BUILD_TYPE=Debug $HOME/kde/src/amarok
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- /home/abc/kde/src/amarok/cmake/modules
-- Taglib found: -L/usr/lib/x86_64-linux-gnu -ltag
-- Performing Test TAGLIB_ASF_FOUND
-- Performing Test TAGLIB_ASF_FOUND - Success
-- Performing Test TAGLIB_MP4_FOUND
-- Performing Test TAGLIB_MP4_FOUND - Success
-- Performing Test TAGLIB_MOD_FOUND
-- Performing Test TAGLIB_MOD_FOUND - Failed
-- Performing Test TAGLIB_OPUS_FOUND
-- Performing Test TAGLIB_OPUS_FOUND - Failed
-- Could NOT find Taglib-Extras (missing:  TAGLIB-EXTRAS_INCLUDES TAGLIB-EXTRAS_LIBRARIES)
-- Performing Test COMPLEX_TAGLIB_FILENAME
-- Performing Test COMPLEX_TAGLIB_FILENAME - Failed
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
  Could NOT find Qt4: Found unsuitable version "4.8.1", but required is at
  least "4.8.3" (found /usr/bin/qmake-qt4)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:250 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindQt4.cmake:1171 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:83 (find_package)


-- Configuring incomplete, errors occurred!


Can somebody help me fix this or guide me in any way?
(I am using Ubuntu 12.04)
Thanks.
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Need help building amarok

Sun Sep 27, 2015 9:34 am
key is
Could NOT find Qt4: Found unsuitable version "4.8.1", but required is at
least "4.8.3" (found /usr/bin/qmake-qt4)


you are running Ubuntu 12.04 you need to run something newer with a newer version of QT, something that has QT 4.8.3 or newer

ps - the tutorial link you posted is incomplete


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Need help building amarok

Sun Sep 27, 2015 11:52 am
Rishab, please read the instructions given in the source code, there are several documents to read there that will help you get started.

FWIW, if you want to get into Amarok development, you should read all the documents linked here first: https://community.kde.org/Amarok/Development/Join

And as said already: your current distribution is way too old (over 3 years actually, in development 6 months is already old :-)). Also, you first need to make your mind up if you want to work on the current master which requires Qt4 or on the kf5 port which requires Qt5. Since Amarok 2.9 will be the last release in Qt4, after that release all hands are needed in the kf5 port.


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: Bing [Bot], Google [Bot], Yahoo [Bot]