Sagie Maoz <[email protected]> writes:

> Hello,
>
> So after re-shuffling some paths in my OS X system (specifically, switching 
> from using
> MacPorts to Homebrew), I ran into all sorts of problems running and compiling 
> apertium
> tools that wasted a lot of my time.
> I eventually found most of the solutions in... the Apertium on Mac OS X page 
> at the wiki
> [1]. The biggest problem though, other than I wasn't aware of this page until 
> Google
> found it for me, is that the instructions can be very confusing;
>
> 1. Most of the requirements listed aren't needed for a successful build.
> I had so much trouble installing libxml2 until I figured out that OS X comes 
> bundled
> with it and installing it myself causes a conflict. However;
> 2. ./configure consistently fails with the error message "syntax error near 
> unexpected
> token", on both lttoolbox and apertium, probably because of using the bundled 
> library.
> The wiki page has a solution for that (running aclocal, automake, etc. 
> manually) and it
> works, but it seems funny that I'm now banned from using autogen.sh in all of 
> the
> projects.
> I'm not at all familiar with configure and make scripts, but I hope these 
> sorts of
> things can be fixed within the scripts.

When you're running these commands manually, do you paste _everything_
from the autogen.sh script? And it gives different results? In that
case, running 

    source autogen.sh

should also work (more or less equivalent to pasting the whole script in
the terminal), even though running ./autogen.sh does not.

Following that line of thought, perhaps there are two versions of
automake etc. on your system, you could try to add the line

    which aclocal autoconf automake 

to the script, and compare what that gives with what you get when
running that line in the terminal.

-- 
Kevin Brubeck Unhammer

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to