Version 7 (modified by phil, 8 years ago)

Added an easy way to install Gobby on OS X through dports

How To Compile Gobby From Source: Mac OS X

The easy way:

Install DarwinPorts and you could get Gobby with one line of shell:

sudo port install gobby

But please be aware that it requires X11.app and a complete window toolkit which will compile itself on the way to install Gobby. It will take quite some time until all dependencies are installed, so you should probably run it over night.


The hard way:

Gobby requires many dependencies, this a rough guide on installing all those dependencies to get you up and running with Gobby from source.

Compiling Gobby on Mac OS X (tested on 10.4.1)

Download the sigc++ 2.0 source from http://libsigc.sourceforge.net/

libsigc++:

./configure
make
sudo make install

Set up some path variables etc..

PKG_CONFIG_PATH='/usr/local/lib/pkgconfig/'
export PKG_CONFIG_PATH
PATH=$PATH:/usr/local/bin
export PATH

Download gettext from a gnu mirror ftp://mirror.mcs.anl.gov/pub/gnu/pub/gnu/gettext/

gettext:

./configure
make
sudo make install

Notice: Maybe you'll have to install pkg-config before compiling net6.

net6:

./configure
make
chmod 744 install-sh
sudo make install

obby:

./configure
make
chmod 744 install-sh
sudo make install

Download libxml from http://xmlsoft.org/sources/

libxml2:

./configure
make
sudo make install

Download glib from ftp://ftp.gtk.org/pub/gtk/v2.6/

glib:

./configure
make
sudo make install

Download glibmm from http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.6/

glibmm:

./configure
make
sudo make install

Download libxml++ from http://libxmlplusplus.sourceforge.net/

libxml++:

./configure
make
sudo make install

Download atk from ftp://ftp.gtk.org/pub/gtk/v2.6/

atk:

./configure
make
sudo make install

Download pango from ftp://ftp.gtk.org/pub/gtk/v2.6/

pango:

./configure
make
sudo make install

Download libtiff http://dl.maptools.org/dl/libtiff/tiff-3.7.2.tar.gz

tiff:

./configure --disable-cxx
make
sudo make install

Download libjpeg from http://www.ijg.org/files/

jpeg:

./configure
make
sudo make install
sudo make install-lib
sudo ranlib /usr/local/lib/libjpeg.a

Download gtk+

gtk+:

./configure
make
sudo make install

Download gtkmm from http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.6/

gtkmm:

./configure
make
sudo make install

Gobby:

./configure
make
sudo make install

Open X11.app and run

/usr/local/bin/gobby