Building unstable on Mac

John Ralls jralls at ceridwen.us
Wed Feb 21 20:33:11 EST 2018


Oops, that’s set in my personal (and a bit complex for building a variety of project) .jhbuildrc-custom. The moduleset should use $JHBUIILD_SOURCE.

To work around it, add
   os.environ[‘SRCROOT’] = checkoutroot
somewhere in .jhbuildrc-custom.

Regards,
John Ralls

> On Feb 21, 2018, at 2:10 PM, R. Victor Klassen <rvklassen at gmail.com> wrote:
> 
> Getting real close.
> 
> CMake Error at common/cmake_modules/GncAddTest.cmake:145 (MESSAGE):
>   GTEST not found.  Please install it or set GTEST_ROOT or GMOCK_ROOT
> Call Stack (most recent call first):
>   CMakeLists.txt:593 (GNC_GTEST_CONFIGURE)
> 
> 
> -- Configuring incomplete, errors occurred!
> See also "/Users/gnucashdev/gtk/source/gnucash-2.7.4/CMakeFiles/CMakeOutput.log".
> See also "/Users/gnucashdev/gtk/source/gnucash-2.7.4/CMakeFiles/CMakeError.log".
> *** Error during phase configure of gnucash-unstable: ########## Error running cmake -DCMAKE_INSTALL_PREFIX=/Users/gnucashdev/gnucash-unstable -DCMAKE_INSTALL_LIBDIR=lib -DGTEST_ROOT=${SRCROOT}/googletest/googletest -DGMOCK_ROOT=${SRCROOT}/googletest/googlemock  /Users/gnucashdev/gtk/source/gnucash-2.7.4 *** [1/1]
> 
> I’m not sure why ${SRCROOT} isn’t being set.  Presumably that’s the issue here?
> 
>> On Jan 29, 2018, at 11:02 PM, John Ralls <jralls at ceridwen.us <mailto:jralls at ceridwen.us>> wrote:
>> 
>> :
> 



More information about the gnucash-devel mailing list