Log in

Installing on Mac OS X 10.7, 10.8, 10.9, or 10.10 with MacPorts


This document assumes an installation from git, but can be modified to use source packages downloaded from ambitionframework.org.

Install required packages:

sudo port install vala cmake json-glib readline libgee
libsoup libgda5 couchdb ossp-uuid sqlite3 git-core

Create a work directory:

mkdir ambition-src

Install third party libraries:

couchdb-glib 0.7

http://ftp.gnome.org/pub/GNOME/sources/couchdb-glib/0.7/couchdb-glib-0.7.4.tar.bz2

./configure --prefix=/opt/local
  • Edit couchdb-glib/xmalloc.h

  • Delete everything below char xstrdup (const char p);

    make sudo make install

Install libgscgi. Feel free to ignore warnings, but there shouldn't be any errors.

git clone https://github.com/AmbitionFramework/libgscgi.git
cd libgscgi
PREFIX=/opt/local make
PREFIX=/opt/local sudo make install
sudo cp /usr/share/pkgconfig/libgscgi-1.0.pc /opt/local/lib/pkgconfig/
cd ..

Install log4vala. Feel free to ignore warnings, but there shouldn't be any errors.

git clone https://github.com/nmelnick/log4vala.git
cd log4vala
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/local ..
make
sudo make install
cd ../..

Install Almanna.

git clone https://github.com/AmbitionFramework/almanna.git
cd almanna
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/local ..
make
sudo make install
cd ../..

Install Ambition.

git clone https://github.com/AmbitionFramework/ambition.git
cd ambition
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/local ..
make
sudo make install
cd ../..

Ambition is ready to use!