jbjorne / TEES

Turku Event Extraction System
147 stars 42 forks source link

BLLIP issues when install on mac #14

Closed jtsui closed 10 years ago

jtsui commented 10 years ago

I am installing on Mac OS X 10.9 (mavericks)

Looks like BLLIP has a dependency on ext/stdio_filebuf.h taht causes a fatal error: ./popen.h:25:10: fatal error: 'ext/stdio_filebuf.h' file not found when trying to build.

From the link below this is a known issue and there is a way around this issue: http://stackoverflow.com/questions/24728405/error-compiling-the-bllip-parser-for-mac

jtsui commented 10 years ago

As a follow up, the following instructions work:

For Mavericks (and Mountain Lion) I set up gcc using macports: sudo port install gcc47 sudo port select --set gcc mp-gcc47 sudo port install boost liblbfgs

Set the MAKEFILES environment variable so that Makefile.mac is loaded when make is called. export MAKEFILES=pwd/Makefile.mac

Makefile.mac available here: https://github.com/jimwhite/bllip-parser/blob/BLLIP_FOR_MACOS/Makefile.mac

then run python configure.py

jbjorne commented 10 years ago

Getting the BLLIP dependencies to work with certain GCC versions can be a bit tricky, but good to hear you got it working and thanks for the instructions!