Difference between revisions of "Build FieldWorks for Mac"

From LSDevLinux
Jump to: navigation, search
m (Remove formatting glitch)
(Mono: Explain libLAPACK error and workaround)
Line 41: Line 41:
  
 
Note that the MacPorts version of Mono is needed in order to build Mono from source.
 
Note that the MacPorts version of Mono is needed in order to build Mono from source.
 +
 +
Currently there is a problem with the <code>atlas</code> port (a dependency of <code>py26-numpy</code>) that conflicts with <code>libLAPACK.dylib</code> from <code>/System/Library/Frameworks/</code>. Until this is fixed, these two ports must be uninstalled when building mono.

Revision as of 17:42, 29 March 2011

The port of FieldWorks to Mac is still at an early stage, although we are hopeful that almost all of the work done to port it to Linux will carry over to Mac with very little change.

This page documents the current state of our knowledge about the steps that need to be followed.

Prerequisites

We recommend that needed software packages be installed with MacPorts, whenever possible. This makes it much easier to keep things organized and updated. There is a wide range of ports available, and the versions are usually quite recent.

Install and build dependencies

Install the following MacPorts packages:

  • autoconf autoconf-archive automake libtool
  • mono nant
  • ImageMagick +wmf +jbig +jpeg2
  • icu
  • gtkmm
  • enchant
  • ossp-uuid
  • pccts
  • quilt

Although some of the packages above (eg autoconf) are already installed on the OS, we typically need the MacPorts ones, which are newer, or are needed by add-ons like autoconf-archive.

There is a Mac-native version of GTK which can be installed by substituting the following lines:

  • sudo port install gtkmm +quartz +atsui +no_x11
  • sudo port install ImageMagick +wmf +jbig +jpeg2 +no_x11

However, the Quartz version is a little less mature and may have a few glitches in it, so we recommend starting out with the X11 version.

Mono

Currently, to build and run FieldWorks requires a special version of mono. So you will need to build mono from source.

Note that the MacPorts version of Mono is needed in order to build Mono from source.

Currently there is a problem with the atlas port (a dependency of py26-numpy) that conflicts with libLAPACK.dylib from /System/Library/Frameworks/. Until this is fixed, these two ports must be uninstalled when building mono.