Difference between revisions of "Prerequisites for Mac OS X"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
pcre perl5 pkgconfig zlib gawk subversion |
pcre perl5 pkgconfig zlib gawk subversion |
||
</pre> |
</pre> |
||
If you need [[Vislcg3#Installing_VISL_CG3|vislcg3/cg-proc/cg-comp]] (Constraint Grammar), you should also do: |
|||
<pre> |
|||
sudo port install icu cmake boost google-perftools |
|||
</pre> |
|||
Once you've installed these packages, continue to [[Minimal installation from SVN]] |
Once you've installed these packages, continue to [[Minimal installation from SVN]] |
Revision as of 08:52, 23 November 2013
This page shows how to install the standard dependencies of apertium (and related packages) on Mac OS X.
First of all, you need:
- a full installation of XCode (http://developer.apple.com/tools/xcode/) including the Command Line Tools
- (http://railsapps.github.io/xcode-command-line-tools.html is nice guide if you get stuck here)
- Macports (http://www.macports.org/install.php)
Then install the apertium dependencies with Macports like this:
sudo port install autoconf automake expat flex \ gettext gperf help2man libiconv libtool \ libxml2 libxslt m4 ncurses p5-locale-gettext \ pcre perl5 pkgconfig zlib gawk subversion
If you need vislcg3/cg-proc/cg-comp (Constraint Grammar), you should also do:
sudo port install icu cmake boost google-perftools
Once you've installed these packages, continue to Minimal installation from SVN
(Note: it is technically possible to install apertium and lttoolbox from Macports, but the version there is very out of date. It is not recommended if you want to do development.)
See also
- Apertium on Mac OS X – more installation and troubleshooting help specific to Mac OS X.