Contents

Introduction

This page lists some things which need to be installed before compiling Object Icon on Mac OS X. Afterwards, just proceed in the usual way as for other Unix systems.

gcc

At the terminal, type gcc. A dialog box should appear. Click "Install". This should install gcc and make.

autoconf

Download the latest autoconf tar.gz file from http://ftp.gnu.org/gnu/autoconf/.

Extract and then compile and install in the usual way, ie :-

./configure
make
sudo make install

This will install in /usr/local.

pkg-config

Download from http://pkgconfig.freedesktop.org/releases/.

Extract and install with :-

./configure --with-internal-glib
make
sudo make install

Ensure the following variable is set in your .bash_profile file :-

export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig

XQuartz

This is optional, but is required if you wish the graphics facilities to be compiled.

Download the latest .dmg file from http://xquartz.macosforge.org/landing/.

Open this file, and then open and install the contained XQuartz pkg file.

This should result in X11 being installed under the /opt directory.

libjpeg

This is only required if you are using graphics, and wish jpeg images to be supported.

Download jpegsrc.v9a.tar.gz from http://www.ijg.org/files/.

Extract and then compile and install in the usual way, ie :-

./configure
make
sudo make install

zlib

This is optional, and allows for compressed icode files.

Download the latest zlib from http://www.zlib.net/.

./configure
make
sudo make install

openssl

This is optional, and provides a SSL library.

Download the latest version from https://www.openssl.org/source/.

Configure with :-

./Configure --prefix=/usr/local --openssldir=/usr/local/openssl darwin64-x86_64-cc
make
sudo make install

Note that the directory /usr/local/openssl/certs needs to be populated with certificates, in order to verify certificates.

Contents