[GNC] Fails under newest Ubuntu

john jralls at ceridwen.us
Sun May 1 11:47:13 EDT 2022


> On Apr 30, 2022, at 9:50 PM, Stephen M. Butler <Stephen.M.Butler51 at gmail.com> wrote:
> 
> On 4/30/22 15:40, David H wrote:
>> Steve FYI,
>> 
>> Re-compiled and working now although I did have to add the following to my build script..
>> 
>> sudo git config --global --add safe.directory $SOURCEDIR
>> 
>> Cheers David H.
>> 
> 
> Cmake was building files in my gnucash git clone directory.  I ended up having to destroy and download a whole new clone.  That seems to have fixed whatever strange problem cmake was having.   Make is currently compiling and I hope that finishes here in the next few minutes.
> 
> I'll have to pull up the git docs and figure out what your command line does and why it might be needed.

Cmake does that only if you invoke it in the source directory. Don't do that.

Git has a clean command: 
  git clean -fdx
You can use that to restore your working directory to a freshly checked out state, no need to re-clone.

Regards,
John Ralls



More information about the gnucash-user mailing list