I am using rvm, ruby 1.9.3, link-grammar (sudo apt-get install link-grammar), and pkg-config. I have the same setup on OSX, and it works great.
Running ‘gem install linkparser’ fails on this:
/usr/local/include/link-grammar/link-includes.h:16:36
fatal error: link-grammar/api-types.h: No such file or directory
I’ve tried installing link-grammer manually as well, then running:
gem install linkparser -- --with-link-grammar=/usr/local
gem install linkparser -- --with-link-grammar=/usr/share
gem install linkparser -- --with-link-grammar=/usr/share/link-grammar
I get the same error every time.
Does anyone know how I can get linkparser to recognize link-grammar?
Thanks
I successfully installed it by doing the following:
Source: http://code.tripodtravel.co.nz/2010/01/02/installing-link-parser-on-dreamhost/