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

From Apertium
Jump to navigation Jump to search
(wat)
(-)
Line 6: Line 6:
# Install the [[Prerequisites for Mac OS X]].
# Install the [[Prerequisites for Mac OS X]].
# Follow [[Minimal installation from SVN]], and disregard the stuff about prefixes.
# Follow [[Minimal installation from SVN]], and disregard the stuff about prefixes.

==Troubleshooting==

===modes not generated===

; Problem

Everything works fine except the <code>.mode</code> files aren't being generated.

; Solution

Try installing <code>gawk</code> (<code>sudo port install gawk</code>)

===endian_double_util.cc:38: error: ‘fread_unlocked’ was not declared in this scope===
Just change the code to use fread instead of fread_unlocked (the latter is just faster).

Or, do this when compiling:
CPPFLAGS=" -Dfread_unlocked=fread " ./autogen.sh && make && sudo make install


==See also==
==See also==

Revision as of 08:01, 21 November 2013

These instructions will help you install Apertium on a system running Mac OS X. Use this page if you have root access to your system. Otherwise, follow Apertium on Mac OS X (Local).

The procedure

  1. Install the Prerequisites for Mac OS X.
  2. Follow Minimal installation from SVN, and disregard the stuff about prefixes.

See also