Difference between revisions of "Prerequisites for Mac OS X"
Popcorndude (talk | contribs) (add link to updated instructions) |
|||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<div style="background-color:pink; text-align:center; line-height:2.5; border: 1px solid crimson;">Are you sure this is the page you want?<br/>If not, you probably actually want [[Apertium_on_Mac_OS_X]]<br/>If you're here because the instructions on that page didn't work for you, log on to [[IRC]] and describe what went wrong.</div> |
|||
This page shows how to install the standard dependencies of apertium (and related packages) on Mac OS X. |
This page shows how to install the standard dependencies of apertium (and related packages) on Mac OS X. |
||
<span style="color: #f00;">You can run [https://apertium.projectjj.com/osx/install-release.sh install-release.sh] or [https://apertium.projectjj.com/osx/install-nightly.sh install-nightly.sh] to install the latest compiled version of apertium, lttoolbox, vislcg3 and HFST – that way you don't have to check out, build and install these by hand.</span> You will still need gawk, subversion, autoconf, automake, pkgconfig from MacPorts. |
|||
Line 9: | Line 15: | ||
Then install the apertium dependencies with Macports like this: |
Then install the apertium dependencies with Macports like this: |
||
<pre> |
<pre> |
||
sudo port install autoconf automake expat flex \ |
sudo port install autoconf automake expat flex \ |
||
Line 17: | Line 22: | ||
</pre> |
</pre> |
||
Once you've installed these packages, continue to [[Minimal installation from SVN]] |
|||
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 gperftools |
|||
</pre> |
|||
Once you've installed these packages, continue to [[Minimal installation from SVN]] (and skip the parts about lttoolbox/apertium, just install the language pair/language data itself if you ran [https://apertium.projectjj.com/osx/install-release.sh install-release.sh] or [https://apertium.projectjj.com/osx/install-nightly.sh install-nightly.sh] as mentioned above). |
|||
''(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.)'' |
''(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== |
==See also== |
||
* [[/Homebrew]] – if you really don't like macports |
|||
* [[Apertium on Mac OS X]] – more installation and troubleshooting help specific to Mac OS X. |
* [[Apertium on Mac OS X]] – more installation and troubleshooting help specific to Mac OS X. |
||
[[Category:Installation]] |
[[Category:Installation]] |
||
[[Category:Documentation in English]] |
Latest revision as of 19:36, 12 May 2019
If not, you probably actually want Apertium_on_Mac_OS_X
If you're here because the instructions on that page didn't work for you, log on to IRC and describe what went wrong.
This page shows how to install the standard dependencies of apertium (and related packages) on Mac OS X.
You can run install-release.sh or install-nightly.sh to install the latest compiled version of apertium, lttoolbox, vislcg3 and HFST – that way you don't have to check out, build and install these by hand. You will still need gawk, subversion, autoconf, automake, pkgconfig from MacPorts.
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 gperftools
Once you've installed these packages, continue to Minimal installation from SVN (and skip the parts about lttoolbox/apertium, just install the language pair/language data itself if you ran install-release.sh or install-nightly.sh as mentioned above).
(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[edit]
- /Homebrew – if you really don't like macports
- Apertium on Mac OS X – more installation and troubleshooting help specific to Mac OS X.