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

Release 0.4.1Steps to build MITLM trunk on OS X Yosemite #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download latest 0.4.1 tarsal
2. Experience failure to build

Solution:
Add #include <string> to FastIO.h, after #include <cstring>

Recipe to fix:

Use Xcode toolchain, not homebrew GCC
Download gfortran 4.9 from https://gcc.gnu.org/wiki/GFortranBinaries#MacOS
Check out latest source svn checkout http://mitlm.googlecode.com/svn/trunk/ 
mitlm-read-only
Add #include <string> to FastIO.h
autogen.sh
make
make install

Original issue reported on code.google.com by sean.t...@gmail.com on 24 Nov 2014 at 1:13

GoogleCodeExporter commented 8 years ago
Pardon the typos. That's tarball, not tarsal

Original comment by sean.t...@gmail.com on 24 Nov 2014 at 1:44

GoogleCodeExporter commented 8 years ago
Thanks, this worked for me on Mac OS X 10.10.1 (Yosemite). 

The one thing I had to do in addition to Sean's steps above is to change the 
references to libtool and libtoolize in autogen.sh to glibtool and glibtoolize, 
respectively.

Original comment by jrwdunham@gmail.com on 29 Dec 2014 at 9:25

eddieantonio commented 8 years ago

Fixed as of 4fac93c984f9d08e932c22fb885920438e36001a