Difference between revisions of "Apertium on Mac OS X (System)"

From Apertium
Jump to navigation Jump to search
Line 1: Line 1:
These instructions will help you install Apertium on a system running Mac OS/X.
I have finished the improvements on lttoolbox and apertium packages to allow its compilation on (at least) Mac OS X "Leopard". The requirements are a full installation of XCode (http://developer.apple.com/tools/xcode/) and Macports (http://www.macports.org/install.php). Then install with Macports the following packages:

==Requirements==

The requirements are a full installation of XCode (http://developer.apple.com/tools/xcode/) and Macports (http://www.macports.org/install.php). Then install with Macports the following packages:


<pre>
<pre>
Line 8: Line 12:
(Some of them are necessary just because Macports wants it)
(Some of them are necessary just because Macports wants it)


==Downloading==
Then download the source code or the latest packages and do the following with each of them (firstly with lttoolbox, then apertium, then any linguistic data package).


==Compilation==

For each package, <code>lttoolbox</code>, <code>apertium</code> and a language package, do:

<pre>
$ ./autogen.sh --prefix /opt/local
$ ./autogen.sh --prefix /opt/local
$ make
$ make
$ sudo make install
$ sudo make install
</pre>






Revision as of 12:19, 27 September 2008

These instructions will help you install Apertium on a system running Mac OS/X.

Requirements

The requirements are a full installation of XCode (http://developer.apple.com/tools/xcode/) and Macports (http://www.macports.org/install.php). Then install with Macports the following packages:

$ sudo port install autoconf automake expat flex gettext gper help2man libiconv libtool \
libxml2 libxslt m4 ncurses ncursesw p5-locale-gettext pcre perl5.8  pkgconfig zlib

(Some of them are necessary just because Macports wants it)

Downloading

Compilation

For each package, lttoolbox, apertium and a language package, do:

$ ./autogen.sh --prefix /opt/local
$ make
$ sudo make install