[GNC-dev] gnucash-3.0 build: GMOCK not found

Paul Dest paul.dest at web.de
Thu Apr 26 06:46:45 EDT 2018


Hi everybody,

Trying to build gnucash-3.0 on my Linux Mint I get the following error
message that I cannot fix on my own:

--------------------------------------------------------
paul at paul-Macmini ~/gnucash/build $ cmake -D
CMAKE_INSTALL_PREFIX=$HOME/.local ~/gnucash/gnucash-3.0/
-- Using guile-2.0.x
-- Using guile SRFI-64
-- Checking for GTEST
-- Checking for GMOCK
CMake Error at common/cmake_modules/GncAddTest.cmake:168 (MESSAGE):
  GMOCK not found.  Please install it or set GMOCK_ROOT
Call Stack (most recent call first):
  CMakeLists.txt:596 (GNC_GTEST_CONFIGURE)


-- Configuring incomplete, errors occurred!
See also "/home/paul/gnucash/build/CMakeFiles/CMakeOutput.log".
See also "/home/paul/gnucash/build/CMakeFiles/CMakeError.log".
-------------------------------------------------------

I cannot find any gmock package in any repository or on the Web.
Furthermore, the https://github.com/google/googlemock says: "This
project has been absorbed into the GoogleTest project. All open
googlemock issues have been moved there." And I have already installed
all GoogleTest packages.

How to proceed?

Thanks in advance,
Paul




More information about the gnucash-devel mailing list