You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. checkout revision 48
2. copy Makefile.example to Makefile
3. compile with "make -j"
What is the expected output? What do you see instead?
I expected a successful compilation. Instead I get a failed compilation with
non-zero return code
What version of the product are you using? On what operating system?
I'm using a clean checkout of revision 48 of mitlm. I'm compiling it on Mac OS
X Lion (10.7).
Please provide any additional information below.
I manage to solve the problem by performing the following steps:
1. Install Fortran with Homebrew: "brew install gfortran"
2. Add this setting to your Makefile after the FFLAGS line: "FC = gfortran"
3. Change the LDFLAGS line to "LDFLAGS = -L. -lgfortran -lmitlm"
4. Create a symlink to your libgfortran library: "ln -s
/usr/local/Cellar/gfortran/4.2.4-5666.3/lib/gcc/i686-apple-darwin11/4.2.1/x86_64
/libgfortran.a"
Once I did this, I was able to compile mitlm with no errors.
I haven't yet used the binaries for anything, but I noticed that running the
estimate-ngram command without any input produces a segmentation fault:
$ ./interpolate-ngram
Interpolating component LMs...
Tying parameters across n-gram order...
Segmentation fault: 11
Since I've never used it before, I'm not sure if this just me.
Original issue reported on code.google.com by [email protected] on 25 Aug 2011 at 2:37
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 25 Aug 2011 at 2:37The text was updated successfully, but these errors were encountered: