in reply to Re^6: Installing Lingua::LinkParser
in thread Installing Lingua::LinkParser

You've got the wrong link-grammar source, I think. I grabbed this source and Lingua-LinkParser-1.14 built fine for me on linux (Mandrake-9.1), perl-5.12.0.

Having grabbed that source, I unpacked it to /home/rob/perlmods, then did a 'cd' to /home/rob/perlmods/link-grammar-4.4.3. I then ran ./configure --disable-shared --enable-static. If you want to build a shared (dynamic) lib, then run ./configure --disable-static --enable-shared instead. And if you want to install to somewhere other than /usr/local you'll need to add the --prefix=/home/aktest (or whatever) argument to the command.

After configure finished, I ran make followed by sudo make install. Then it was just a matter of building Lingua-LinkParser-1.14 in the "usual" way:
perl Makefile.PL followed by make test and then sudo make install.
See how you get on with that.

Cheers,
Rob.

Replies are listed 'Best First'.
Re^8: Installing Lingua::LinkParser
by Anonymous Monk on Nov 08, 2019 at 01:27 UTC
    I followed these 2010 instructions in 2019 and found that Lingua::LinkParser fails tests but seems to work after installing with --force (cpanm). Now I can enjoy "Parsing Natural Language with Lingua::LinkParser" from TPJ:
    http://www.foo.be/docs/tpj/issues/vol5_3/tpj0503-0010.html
Re^8: Installing Lingua::LinkParser
by crossthelimit (Novice) on Apr 15, 2010 at 22:16 UTC
    Awesome !!! Thanks a ton Rob! It worked perfectly fine. The fact that Ubuntu already has link-grammar package (sudo apt-get install link-grammar) didn't help me in installing Lingua::LinkParser. I did a manual fetch of link-grammar as Rob suggested and followed the rest. Lingua::LinkParser working fine now..