Difference between revisions of "MacOS Installation"

From GnuCash
Jump to: navigation, search
m
(gnucash-2.0.x)
Line 11: Line 11:
 
# start up [http://www.apple.com/downloads/macosx/apple/x11formacosx.html X11] and run 'gnucash &' from an xterm
 
# start up [http://www.apple.com/downloads/macosx/apple/x11formacosx.html X11] and run 'gnucash &' from an xterm
  
==== gnucash-2.0.x ====
+
==== gnucash-2.2.x ====
Installing a recent version of GnuCash-2.0 is slightly more complicated, since the Fink package for this is still being tested and is therefore in their 'unstable' tree.  So in addition to the basic install of Fink you must [http://fink.sourceforge.net/faq/usage-fink.php?phpLang=en#unstable enable the unstable tree]. Note that the Fink package name for GnuCash-2.0.x is "gnucash2", and that this package is in the "crypto" category in Fink, rather than the "gnome" category as "gnucash" is.  This categorization can make it tricky to see gnucash2 when browsing Fink packages. As of May 2007, the gnucash2 package was up-to-date with the latest 2.0.5 release. Note also that fink packages in 'unstable' need to be compiled from source, compared to most of the ones considered stable (ie gnucash 1.8).  So, if you are short of time or downloading and compiling from source makes you uneasy (even though Fink automates this process rather reliably and safely), you might want to stick with 1.8 until 2.0 is available as a stable fink package. Other sections on this page describe ways of obtaining GnuCash versions 2.0 and higher, but note that they all involve, directly or indirectly, downloading and compiling source code.
+
Installing GnuCash-2.2 is slightly more complicated, since the Fink package for this is still located in their 'unstable' tree.  So in addition to the basic install of Fink you must [http://fink.sourceforge.net/faq/usage-fink.php?phpLang=en#unstable enable the unstable tree]. Note that the Fink package name for GnuCash-2.0.x is "gnucash2", and that this package is in the "crypto" category in Fink, rather than the "gnome" category as "gnucash" is.  But all you have to do is type 'fink install gnucash2' in a terminal window, and fink will attempt to do all the right things (as long as you have successfully enabled the unstable tree). Note also that fink packages in 'unstable' need to be compiled from source, compared to most of the ones considered stable (ie gnucash 1.8).  It will take some time to download all the files needed and then compile them. The first install will probably take several hours. Version upgrades after that should take less than 30 minutes.
 +
 
 +
Don't let the term "unstable" scare you away. No program can move to "stable" unless all of the programs it depends on are also in "stable". GnuCash has more than 150 dependencies, and a few of them haven't been moved to the stable tree. GnuCash 2.2.4 works, but it is still classified as unstable.
 +
 
 +
Once fink finishes installing GnuCash, launch the program by typing 'gnucash' (not gnucash2) in an xterm window (all versions of Mac OS X) or in a normal terminal window (OS X 10.5.x).
 +
 
 +
Other sections on this page describe ways of obtaining GnuCash versions 2.0 and higher, but note that they all involve, directly or indirectly, downloading and compiling source code.
  
 
==== Other Fink options ====
 
==== Other Fink options ====

Revision as of 23:50, 24 March 2008

PPC Macs

Using Fink

Fink is a package-management tool making it easier to install all your favorite *nix tools and libraries under OS X. It's also the quickest and easiest way to get at least some version of GnuCash running on a PowerPC Mac (Intel Mac users see below.)

gnucash-1.8

Under Mac OS X 10.4 on a PowerPC Mac, gnucash-1.8 installation is as simple as:

  1. download and install fink
  2. run 'sudo apt-get install gnucash'
  3. start up X11 and run 'gnucash &' from an xterm

gnucash-2.2.x

Installing GnuCash-2.2 is slightly more complicated, since the Fink package for this is still located in their 'unstable' tree. So in addition to the basic install of Fink you must enable the unstable tree. Note that the Fink package name for GnuCash-2.0.x is "gnucash2", and that this package is in the "crypto" category in Fink, rather than the "gnome" category as "gnucash" is. But all you have to do is type 'fink install gnucash2' in a terminal window, and fink will attempt to do all the right things (as long as you have successfully enabled the unstable tree). Note also that fink packages in 'unstable' need to be compiled from source, compared to most of the ones considered stable (ie gnucash 1.8). It will take some time to download all the files needed and then compile them. The first install will probably take several hours. Version upgrades after that should take less than 30 minutes.

Don't let the term "unstable" scare you away. No program can move to "stable" unless all of the programs it depends on are also in "stable". GnuCash has more than 150 dependencies, and a few of them haven't been moved to the stable tree. GnuCash 2.2.4 works, but it is still classified as unstable.

Once fink finishes installing GnuCash, launch the program by typing 'gnucash' (not gnucash2) in an xterm window (all versions of Mac OS X) or in a normal terminal window (OS X 10.5.x).

Other sections on this page describe ways of obtaining GnuCash versions 2.0 and higher, but note that they all involve, directly or indirectly, downloading and compiling source code.

Other Fink options

Further discussion of semi-manual ways to compile GnuCash using Fink tools can be found here. Most of that information is generally outdated since the availability of the gnucash2 package. However, it may still be useful in some cases, for example if you would like to use Fink in conjunction with compiling a version of GnuCash newer than any available in a Fink package.

Using MacPorts

MacPorts (formerly known as DarwinPorts) is another, parallel package manager for Mac OS X. All of the options discussed below are covered in more detail in MacOSX/MacPortsDetail.

gnucash-2.0.x

The standard gnucash port in MacPorts was up-to-date with GnuCash-2.0.5 as of May 2007. Therefore, installing the latest stable version of GnuCash consists simply of:

  1. Download and install MacPorts.
  2. sudo port selfupdate
  3. sudo port install gnucash # Note this takes quite a while
  4. Run gnucash from an XTerm.

Development version

To install a recent development version of GnuCash (2.1.5 as of July 2007), replace "gnucash" in the third step above with "gnucash-devel". This will download, compile, and install all of the dependencies for GnuCash. MacPorts, however, will download guile 1.8.1, which is presently incompatible with gnucash.

To remedy this situation, issue the following after completing the aforementioned steps:

sudo port uninstall gnucash-devel
sudo port -f uninstall slib-guile
sudo port -f uninstall guile
sudo port clean slib-guile guile    # for good measure
sudo port -f install guile16
sudo port -f install slib-guile16
sudo port -f install gnucash-devel

This will install the appropriate libraries (guile 1.6) that will work with GnuCash.

Even more bleeding edge

MacOSX/MacPortsDetail also includes instructions for compiling any GnuCash source distribution in the context of a MacPorts software installation.

Manual compilation (GnuCash 2.1.1 Quartz)

It is possible to get GnuCash running completely without X Windows, thanks to recent work at the Gtk+ on Mac OS X project. It's not for the faint of heart, though, as it currently requires this laborious manual process. Hopefully the process will be automated (probably in MacPorts), at which point this option can be subsumed into an earlier section. Although there are several caveats (detailed along with the procedure), overall the usability, appearance, and convenience of the Quartz version have been decent.

Intel Macs

gnucash-1.8

As of June, 2006, GnuCash-1.8 does not work on Intel-based Macs. Both 1.8.x and 1.9.x series installations have dependencies (such as libgnomecanvas Gnome Bug #339489) which are known not to function correctly in this environment. As the known issues reside in external libraries (i.e. not within the GnuCash source tree), we are hoping that they will be resolved by the maintainers of those libraries (or their fink ports). Please check the gnucash (-users and -devel) and fink-users mailing list archives for more history and updates.

gnucash-2.0

As of August 2006, Gnucash 2 works fine on many Intel Macs. Installation instructions for gnucash-2.0 on Intel Macs may be found here (or presumably most or all of the Gnucash-2.x instructions above for PowerPC work on Intel Macs as well.)

Final Words

Currently, none of the primary GnuCash development occurs under OS X; as such, clear and specific bug reports (particularly of new issues not already reported) may be helpful. If you encounter problems, please check the mailing list archives first and then, if your problem cannot be resolved based on the information found there, report it to the mailing list. Please do remember that GnuCash developers are volunteers and are not responsible for your computer; as such, your help (in the form of exhausting readily available resources before asking for help and in asking for help in a clear manner) is appreciated.