Difference between revisions of "Apertium on Mac OS X (Local)"
Jump to navigation
Jump to search
(Link to French page) |
Popcorndude (talk | contribs) (add link to updated instructions) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
[[Installation locale sur Mac OS X|En français]] |
[[Installation locale sur Mac OS X|En français]] |
||
<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> |
|||
{{TOCD}} |
{{TOCD}} |
||
Line 33: | Line 36: | ||
Now the standard steps: |
Now the standard steps: |
||
# Install the [[Prerequisites for Mac OS X]]. |
# Install the [[Prerequisites for Mac OS X]]. |
||
# Follow [[ |
# Follow [[Install Apertium core by compiling]], using <code>$HOME/Local</code> as your $prefix. |
||
# See [[Installation_troubleshooting]] if you have problems. |
# See [[Installation_troubleshooting]] if you have problems. |
||
Latest revision as of 19:35, 12 May 2019
Are you sure this is the page you want?
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.
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.
Contents |
This page gives instructions on compiling Apertium on Mac OS X. It will presume you are installing into a directory called Local
inside your home directory (your home directory will be in /Users/<your user name>
). This is slightly more complicated than Apertium on Mac OS X (System), but more contained, and doesn't require root.
The procedure[edit]
First, we create the directories to hold our source and the installed binaries. Then we export these environment variables so that binaries and libraries from your local installation are taken before those from the system installation.
mkdir Local mkdir Source PATH=$HOME/Local/bin/:$PATH export PATH PKG_CONFIG_PATH=$HOME/Local/lib/pkgconfig export PKG_CONFIG_PATH LD_LIBRARY_PATH=$HOME/Local/lib export LD_LIBRARY_PATH cd Source
Also, put this in your ~/.bashrc so you don't have to paste it in every time you open a new terminal:
PATH=$HOME/Local/bin/:$PATH export PATH PKG_CONFIG_PATH=$HOME/Local/lib/pkgconfig export PKG_CONFIG_PATH LD_LIBRARY_PATH=$HOME/Local/lib export LD_LIBRARY_PATH
Now the standard steps:
- Install the Prerequisites for Mac OS X.
- Follow Install Apertium core by compiling, using
$HOME/Local
as your $prefix. - See Installation_troubleshooting if you have problems.
See also[edit]
- Apertium on Mac OS X (System) — for installation in the main system.