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

Problem compiling 2.8.90

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

Problem compiling 2.8.90

Thu Dec 31, 2015 4:29 pm
Hi Guys,

Sorry if this is a newbish post, however I am running into a problem when I try to compile the amarok beta. It doesn't even pass config, failing with the error message:

----------------------------------------------------------------------------
-- The following REQUIRED packages could NOT be located on your system.
-- You must install these packages before continuing.
-----------------------------------------------------------------------------
* gmock (1.4 or higher) <http://code.google.com/p/googlemock/>
Used in Amarok's tests.

-----------------------------------------------------------------------------

CMake Error at /usr/share/kde4/apps/cmake/modules/MacroLogFeature.cmake:152 (MESSAGE):
Exiting: Missing Requirements
Call Stack (most recent call first):
CMakeLists.txt:240 (macro_display_feature_log)


CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GOOGLEMOCK_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/Thor/Downloads/amarok-2.8.90/tests

I am running opensuse leap and am unable to find a gmock package in the distro repos(or anywhere else for that matter).
I tried manually downloading and compiling the code from google code but that didn't do it either. Is there a way to get around this? Has anybody else seen this issue before?

Kind Regards,
George
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Problem compiling 2.8.90

Mon Jan 18, 2016 6:43 pm
Google mock needs to be compiled for each project separately now, please see the documentation for this in their website.

As a workaround, if you do not intend to develop where you need the unit tests, you can also build with tests disabled.


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], Sogou [Bot], Yahoo [Bot]