BOINC CLI build on Mac

From Pirates@Home

Jump to: navigation, search

Building BOINC and BOINC Applications on MacOS X

These notes describe how to build BOINC applications on MacOS X (aka Darwin), using command line tools such as 'configure' and 'make', rather than using XCode.

There are actually two ways to build BOINC and BOINC applications on a Mac, the XCode GUI method (Graphical User Interface) and the CLI method (Command Line Interface). The XCode GUI method is documented at

The notes presented here document the Command Line method.


This page is slowly being assembled from older instructions at http://pirates.spy-hill.net/help/boinc-on-darwin.html The proceedures are similar to the build instructions on Linux, so it may also be helpful to read http://pirates.spy-hill.net/help/boinc-on-linux.html


Contents

Software Prerequisites

Developer tools

Source code

Graphics libraries

Configuring and building

Before you can run the configure script you have to create it, with the command

_autosetup

This will fail if any of the build tools (autconf, automake, libtool) are out of date. Otherwise it makes the configure script. To run it:

./configure --prefix=/usr/local/boinc --disable-client --disable-manager \
           --disable server --with-apple-opengl-framework \
           CPPFLAGS=-I/sw/include LDFLAGS=-L/sw/lib

The --disable-manager flag is new. Previously the --disable-client flag also disabled the manager too. Not anymore.

Demo Applications

Personal tools