[GNC-dev] Compiling Gnucash on MacOS - not for the faint of heart...

John Ralls jralls at ceridwen.us
Sun Jul 1 23:23:26 EDT 2018



> On Jul 1, 2018, at 7:39 PM, chris graves <mohavebaked at gmail.com> wrote:
> 
> Okay, so I'm an obvious newb here, with the desire to help resolve a gnucash bug (https://bugs.gnucash.org/show_bug.cgi?id=794755 <https://bugs.gnucash.org/show_bug.cgi?id=794755>).
> 
> I'm following these build instructions: https://wiki.gnucash.org/wiki/MacOSX/Quartz <https://wiki.gnucash.org/wiki/MacOSX/Quartz>
> 
> The first issue was a file not found error when executing jhbuild.
> Resolved this issue by changing the first line from:
> #!/usr/bin/env python2
> to
> #!/usr/bin/env python2.7
> 
> even though entering python2 from the terminal worked just fine...
> 
> The second issue was jhbuild not being able to find the module: meta-gnucash-stable.
> In perusing https://raw.githubusercontent.com/gnucash/gnucash-on-osx/master/modulesets/gnucash.modules <https://raw.githubusercontent.com/gnucash/gnucash-on-osx/master/modulesets/gnucash.modules>, it appears
> the module name to use is: gnucash.  Setting it to this in ~/.jhbuildrc-custom got me past this issue.
> 
> The place I'm stuck at now is:
> *** Checking out iso-codes *** [62/76]
> curl --continue-at - -L http://pkg-isocodes.alioth.debian.org/downloads/iso-codes-3.67.tar.xz -o /Users/chris/gtk/source/pkgs/iso-codes-3.67.tar.xz
>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                 Dload  Upload   Total   Spent    Left  Speed
>  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: pkg-isocodes.alioth.debian.org
> *** Error during phase checkout of iso-codes: ########## Error running curl --continue-at - -L http://pkg-isocodes.alioth.debian.org/downloads/iso-codes-3.67.tar.xz -o /Users/chris/gtk/source/pkgs/iso-codes-3.67.tar.xz *** [62/76]
> 
> This page: https://wiki.debian.org/Alioth/PackagingProject <https://wiki.debian.org/Alioth/PackagingProject> indicates:
> Alioth is deprecated, and you should not add any new projects
> 
> In particular the gforce component is broken in many surprising ways, and there is nobody around to fix it or work around its quirks. Please do not pester the remaining caretaker with requests.
> 
> So, I'm not quite sure how to proceed.
> 
> Also, just curious, what IDE's gnucash developers use on MacOS.  It appears that Xcode is not suitable.

Last question first, bash and emacs. ISTR Mike Alexander uses vim and emacs.

Cmake *will* generate an Xcode project and I managed to get it to work once, but for the most after ~35 years of emacs I just don’t find that Xcode offers enough to make the time to switch.


As for iso-codes, they’ve had the unfortunate tendency to take down old revs when they put up new ones, which breaks things for people trying to build for the first time (everyone else has already got the download). It looks like their new home is https://salsa.debian.org/iso-codes-team/iso-codes <https://salsa.debian.org/iso-codes-team/iso-codes>, and being gitlab maybe the tarballs will stick around longer. It looks like the latest release is https://salsa.debian.org/iso-codes-team/iso-codes/uploads/ef8de8bc12e0512d26ed73436a477871/iso-codes-3.79.tar.xz <https://salsa.debian.org/iso-codes-team/iso-codes/uploads/ef8de8bc12e0512d26ed73436a477871/iso-codes-3.79.tar.xz>. I’ll fix up the module set sometime this week.

Regards,
John Ralls


More information about the gnucash-devel mailing list