Difference between revisions of "Mac OS X:Build from source"

From Gramps
Jump to: navigation, search
m (GRAMPS)
(GTK-OSX version: Correct a few errors)
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[Category:Developers/Packaging]]
 
[[Category:Developers/Packaging]]
There are three different ways of installing GRAMPS on Mac OS X. The linked pages provide step by step instructions.
 
  
=== Fink ===
+
A fully packaged binary application for Gramps on Mac is available for both Intel and PPC and its use is described at [[Mac OS X:Application package]].
  
Installing GRAMPS as an X11 application is achieved by downloading and installing the packages on which GRAMPS depends using software called fink. The process is a bit longwinded, but most of the features of GRAMPS work, and drag and drop and mouse clicks work very well. If you choose this route, you may be able to get some help both from the GRAMPS community and the fink community. Detailed instructions can be found here: [[Mac OS X fink]].
+
This page describes a number of different ways of building and installing GRAMPS from source on Mac OS X. The linked pages provide step by step instructions.
  
=== MacPorts ===
+
=== GTK-OSX version ===
 +
The fully packaged binary application uses [http://live.gnome.org/GTK%2b/OSX GTK-OSX] and is the newest port. It installs as an app bundle which you can double-click in Finder to launch. The build process is almost fully automated, just follow the [[Mac OS X:Build from source:Application package|step-by-step instructions]]. Your mac came with everything you need except [http://developer.apple.com/TOOLS/Xcode/ Apple Xcode], which is free from the App Store for Lion users and is on your distribution DVD for earlier versions of OS X.
  
MacPorts is essentially a similar type of program to fink.
+
=== MacPorts X11 version ===
 +
MacPorts is a packaging system for automatically downloading, compiling and installing Unix software on Mac OS X.  It makes the process simple and almost entirely automatic.
  
See [[Mac OS X MacPorts]] on the installation process.
+
See [[Mac OS X:Build from source:MacPorts]] on the installation process.
  
=== Native Mac OS X ===
+
=== Fink X11 version ===
At present (June 2009) there is no downloadable simple installable package for the Mac.  
+
Similar to MacPorts, see [[Mac OS X:Build from source:fink]].
  
There is however currently an ongoing project to deliver a click-to-install packaged GRAMPS for Mac, but at the moment it has to be built by yourself. The new project is described at [[Mac gtk-osx port]]. Patches to GRAMPS to fix some of the issues are being included for version 3.1.3/3.2.x
+
=== Native version ===
  
An older attempt on PPC mac is described [[native Mac OS X|here]]
+
An older attempt on PPC mac is described [[Mac OS X:Build from source:Native OS X|here]]
  
 
=== Questions ===
 
=== Questions ===
  
==== Am I ready for X11? ====
+
==== Are there any other options? ====
  
Installing with either fink or MacPorts is simpler that installing as a native application, but the GRAMPS windows have an X11 appearance. To see whether you can get use to this appearance, you could download and install [http://www.openoffice.org/ OpenOffice] which is very easy to do and will show you what an X11 application looks like. Installing OpenOffice will not be wasted, because you will need it to be able to open reports from GRAMPS.
+
=====(1) Virtual Server=====
  
Another option is to download [http://www.neooffice.org/ NeoOffice], which is a port of OpenOffice using Java so that it looks like a native Mac OS X application.
+
Another option is to install a virtual server on your Mac (like VMware Fusion), create a virtual machine running Linux, and install GRAMPS in there.  A Gnome based distro like Ubuntu would be a good choice for the Linux system.
  
==== Are there any other options? ====
+
=====(2) Compile GRAMPS from source without a package manager =====
 
+
=====(1) Virtual Server=====
+
  
Yet another option is to install a virtual server on your Mac (like VMware Fusion), create a virtual machine running Linux, and install GRAMPS in there.  A Gnome based distro like Ubuntu would be a good choice for the Linux system.
+
If you have all of the dependent libraries installed already, this should be possible. Just download the .tar.gz file, unpack it, and follow the INSTALL instructions.
  
=====(2) After already having all the dependencies installed=====
+
=====(3) Bootcamp =====
  
If you have all of the dependent libraries installed already, this should be straightforward. Just download the .tar.gz file, unpack it, and follow the INSTALL instructions.
+
If you have Bootcamp installed, you can use the Windows version of GRAMPS.
  
 
==== Is this going to be too complicated for me? ====
 
==== Is this going to be too complicated for me? ====
  
The process is not very straightforward, and there will almost certainly be problems like unresolved dependencies, files not found on the various servers, download of files just stalls indefinitely and questions asked by scripts to which you don't know the answer. Nevertheless, installation is possible and I think gramps is worth the trouble. I suggest you have a look at the instructions for [http://www.captnswing.net/2004/02/12/nicotine.html|Installing SoulSeek] - this is a similar process, but actually ''SoulSeek'' is easier because it is fully integrated into the fink process. This might give you some idea of the requirements for perseverance. If you don't think you could install ''SoulSeek'' then you certainly won't be able to install Gramps. '''The converse is not true'''
+
The GTK-OSX option can build Gramps from source on the Desktop without typing a single character! The X11 MacPorts option is very straight forward. The other options may be more complicated.

Revision as of 14:54, 26 May 2012


A fully packaged binary application for Gramps on Mac is available for both Intel and PPC and its use is described at Mac OS X:Application package.

This page describes a number of different ways of building and installing GRAMPS from source on Mac OS X. The linked pages provide step by step instructions.

GTK-OSX version

The fully packaged binary application uses GTK-OSX and is the newest port. It installs as an app bundle which you can double-click in Finder to launch. The build process is almost fully automated, just follow the step-by-step instructions. Your mac came with everything you need except Apple Xcode, which is free from the App Store for Lion users and is on your distribution DVD for earlier versions of OS X.

MacPorts X11 version

MacPorts is a packaging system for automatically downloading, compiling and installing Unix software on Mac OS X. It makes the process simple and almost entirely automatic.

See Mac OS X:Build from source:MacPorts on the installation process.

Fink X11 version

Similar to MacPorts, see Mac OS X:Build from source:fink.

Native version

An older attempt on PPC mac is described here

Questions

Are there any other options?

(1) Virtual Server

Another option is to install a virtual server on your Mac (like VMware Fusion), create a virtual machine running Linux, and install GRAMPS in there. A Gnome based distro like Ubuntu would be a good choice for the Linux system.

(2) Compile GRAMPS from source without a package manager

If you have all of the dependent libraries installed already, this should be possible. Just download the .tar.gz file, unpack it, and follow the INSTALL instructions.

(3) Bootcamp

If you have Bootcamp installed, you can use the Windows version of GRAMPS.

Is this going to be too complicated for me?

The GTK-OSX option can build Gramps from source on the Desktop without typing a single character! The X11 MacPorts option is very straight forward. The other options may be more complicated.