After some hours struggling with installationproblems I finally figured this out today. Installing Ruby Linkparser on Snow Leo was a breeze, but since my server workds on OSX Leopard I had to work out a way to make the installation work on that version as well. Somehow linkparser did not find the link grammar library. Following the instructions on the linkparser page, the solution was to do the following line instead of the bottom one in the instructions:
ARCHFLAGS="-arch i386" sudo gem install linkparser-1.0.5.gem -- --with-link-grammar-dir=/usr/local/lib
adding the option of "with-link-grammar-dir" to the gem install instead of the rake. . .
This works with version 1.0.5, and grammar version 4.6.2
http://deveiate.org/code/Linguistics/
http://deveiate.org/projects/Ruby-LinkParser
http://www.abisource.com/projects/link-grammar/#download
søndag 27. september 2009
Abonner på:
Legg inn kommentarer (Atom)
Ingen kommentarer:
Legg inn en kommentar