eddieantonio / mitlm

Automatically exported from code.google.com/p/mitlm
http://code.google.com/p/mitlm
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Installation issues. estimate-ngram: command not found #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. I decompressed the mitlm-0.4.1.tar.gz file on OSX Yosemite

From Terminal:
2.  ./compile.
3.  make -j

Error:
Input is: estimate-ngram -text mysent.txt -write-lm  mysent.lm
But then I get: estimate-ngram: command not found

Original issue reported on code.google.com by vis...@gmail.com on 19 Jun 2015 at 9:31

GoogleCodeExporter commented 8 years ago
Sorry, there was a typo: ./configure in #2

Original comment by vis...@gmail.com on 19 Jun 2015 at 11:25

GoogleCodeExporter commented 8 years ago
I tried some things, and now when I enter make I end up with a new error:
 ld: symbol(s) not found for architecture x86_64

I tried brew uninstalling and installing boost but nothing changed.

Original comment by vis...@gmail.com on 20 Jun 2015 at 1:22

eddieantonio commented 8 years ago

To install on OS X now, use:

brew tap eddieantonio/eddieantonio
brew install mitlm

From source, it's:

brew install libtool autoconf gcc
./autogen.sh --prefix=/usr/local
make
make install