

The GnuCash 2.6.x application bundles were built for Mac OS X 10.5 and later. It is safest to build GnuCash on the earliest macOS version you intend to support. Setup_sdk("10.6", native, ) note, however, that some users have noted linkage problems when doing this. If you have Xcode 7 (shipped with OS X 10.9 (Mavericks)) or later you can build for any version from 10.6 on with the included SDK by calling (e.g.) Unless you're building for distribution we recommend that you do this. With no arguments (the default) setup_sdk() will configure the build for your system. See Building Gtk-OSX and the Jhbuild configuration reference for more information. If you like, you can change the directory into which the sources are checked out, build out-of-source, or install to a different directory. There's an example in the comments in jhbuildrc-custom. If you are building for an older version of macOS than the build machine, you can pass arguments to setup_sdk().You may need to make the following changes to jhbuildrc-custom: One can just copy /bin/bash to one's user directory, and gtk-osx-setup.sh does that for you. The other workaround is to use a shell that isn't in /bin or /usr/bin. One can get around this by disabling SIP, but that's a whole-system change that requires a reboot, and SIP clearly has significant security benefits. The Guile compiler, guiled, is a shell script that as written uses /bin/sh to set the prefix then execs guile to run a compilation script. For our purposes "system program" means one installed in /bin or /usr/bin, in particular /bin/sh. One "feature" is that it strips linker environment variables (the ones starting with LD_ and DYLD_) from the environment when a "system" program does a fork/exec. OS X 10.11 added a security feature called System Integrity Protection or SIP. Note well the warnings about Homebrew, MacPorts, and Fink! Creating a separate user for building and packaging GnuCash is the easiest work-around if you've used any of those systems in your regular userid.įirst download gtk-osx-setup.sh by clicking the link or from the command line:Īnd place it in $HOME/.config-unless you've set something different in $XDG_CONFIG_HOME, in which case put it there. Read Building Gtk-OSX and scan the jhbuild docs. Questions, comments, or suggestions about Gnucash should be directed to the appropriate Gnucash mailing list ( gnucash-devel for development versions (git master) or gnucash-user for release (3.x, git maint).) Support for that is provided via the mailing list.

This procedure depends on the Gnome Gtk-OSX project. A patch to Gtk+ allows copy and paste in the register pages. Standard accelerator keys like Command-Q (quit), Command-S (save), and Command-O (Open) work as well. About, Preferences, and Quit are in the "GnuCash" menu (it's named "gnucash-bin" when you run from the command line) in standard Mac style. This build integrates Gnucash menus with the Mac menubar at the top of the screen. The initial build, which includes pulling down sources from all dependencies, can take days, depending on how often network errors interrupt the process, and how quickly they are noticed. That's a double-edged sword, of course, because if a build gets broken, you're pretty well stuck until the developers for that package fix it.Ī build will consume about 5 gigabytes of disk space and typically take several hours to run. Want to keep up with the latest work from the Gnome developers? You can set up this solution to get many of its packages directly from source-code-control. but GnuCash is notorious for its huge list of dependencies. Don't want all of the extra stuff that MacPorts drags in? Well, this might be a bit better. If you want to be able to easily customize your installation, this is also the solution for you. If you want to have a clickable GnuCash.app to put in your Applications folder, this is the solution to use. If you already have MacPorts installed, you should use that procedure, as gtk-osx doesn't work well with a MacPorts installation. You can also use MacPorts: The details are described at MacOS/MacPortsDetail. This page describes the procedure to build GnuCash with the Quartz environment. Better yet, the build is almost automatic. GnuCash can be built to run more or less natively on macOS - meaning without X11. Release notes are included in the disk-image.įor virtually all users it is more appropriate to download the binary rather than to use the procedure described here. Download: Latest versions for historical operating systems including PowerPC Macs.Downloads macOS 10.13 "High Sierra" or higher is now available for download from the GnuCash projects at Sourceforge and Github.
