MacPorts Gtk Installation

Revision as of 20:50, 11 August 2010 by Peter gummer (Talk | contribs) (Revise out-of-date information)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Installing Gtk on Mac OS X with Macports

To use EiffelStudio on Mac OS X there is a prerequisite of installing the GTK library, this is performed by following the instructions in this page.

If you already have X11 and an up to date XCode (from which we need the gcc 4.0 compiler) you can go straight ahead to downloading the MacPorts package installer

If you don't have X11 or XCode you can follow the instructions from the following link.

To install MacPorts you double click the .dmg file you just downloaded and then execute the package contained within. You will be asked for you password in order to install.

When this is installed you need to open up the Applications/Utilities/Terminal application and execute the following command

sudo port install gtk2

This will download, compile and install the gtk2 library and all of its dependencies, this takes about an hour on a 2.26 GHz Intel Core 2 Duo MacBook Pro running OS X 10.6.4.

Once this is done we can obtain the EiffelStudio Open Source package from the following page.