Building unstable on Mac

John Ralls jralls at ceridwen.us
Thu Feb 22 14:56:09 EST 2018


Huzzah.

File bug reports, setting the version to 2.7.x--after searching first, of course.

Profiling and memory-checking are best done with Instruments, included with Xcode.

Regards,
John Ralls


> On Feb 22, 2018, at 9:10 AM, R. Victor Klassen <rvklassen at gmail.com> wrote:
> 
> Success
> 
> I have a running copy of unstable.   That it took this long is at least in part because I’ve only had part time to attend to it.  Also, for the first few weeks I didn’t realize that when my display was going to sleep, the entire build process was stopping, so nothing was happening unattended.
> 
> Anyhow, now that I have it running not everything is behaving as expected.  Which is to be expected, given that it is unstable.  Is there a list of known issues that I should add to if I find things not there?  I don’t want to just add noise, but if I’ve found things that folks aren’t aware of that should not stick around beyond release, I’d like to be noting them.
> 
> And finally, what is the recommended method of profiling?  Back in the day I compiled -pg and used gprof.  I liked it for its ability to give times for both routines and their descendants.   Is that still the tool of choice?
> 
>> On Feb 21, 2018, at 8:33 PM, John Ralls <jralls at ceridwen.us> wrote:
>> 
>> 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> wrote:
>>>> 
>>>> :
>>> 
>> 
> 



More information about the gnucash-devel mailing list