Thanks Rob. You're right, Link-Grammar is a C library. I have installed it locally. I modified the include location in Makefile.PL as per your suggestion and the number of errors reduced significantly. I am not sure if this error has to do with link-grammar.
/usr/lib/perl/5.10/CORE/perl.h:3770:1: warning: this is the location o +f the previous definition LinkParser.c:47:5: error: macro "assert" requires 2 arguments, but onl +y 1 given LinkParser.c: In function ‘S_croak_xs_usage’: LinkParser.c:47: error: ‘assert’ undeclared (first use in this functio +n) LinkParser.c:47: error: (Each undeclared identifier is reported only o +nce LinkParser.c:47: error: for each function it appears in.) LinkParser.c:47:5: error: macro "assert" requires 2 arguments, but onl +y 1 given LinkParser.c: In function ‘XS_Lingua__LinkParser_dictionary_create_lan +g’: LinkParser.c:126: warning: assignment makes pointer from integer witho +ut a cast LinkParser.c: In function ‘XS_Lingua__LinkParser_dictionary_create_def +ault_lang’: LinkParser.c:147: warning: assignment makes pointer from integer witho +ut a cast LinkParser.xs: In function ‘XS_Lingua__LinkParser_call_linkage_get_lin +k_domain_names’: LinkParser.xs:89: warning: assignment from incompatible pointer type LinkParser.c: In function ‘XS_Lingua__LinkParser_linkage_get_link_doma +in_names’: LinkParser.c:469: warning: assignment from incompatible pointer type LinkParser.xs: In function ‘XS_Lingua__LinkParser_call_linkage_get_wor +ds’: LinkParser.xs:166: warning: assignment from incompatible pointer type LinkParser.c: In function ‘XS_Lingua__LinkParser_linkage_get_words’: LinkParser.c:950: warning: assignment from incompatible pointer type LinkParser.c: In function ‘XS_Lingua__LinkParser_linkage_post_process’ +: LinkParser.c:1114: warning: passing argument 2 of ‘linkage_post_proces +s’ from incompatible pointer type LinkParser.c: In function ‘XS_Lingua__LinkParser_post_process_close’: LinkParser.c:2881: warning: passing argument 1 of ‘post_process_close’ + from incompatible pointer type LinkParser.c: In function ‘XS_Lingua__LinkParser_post_process_open’: LinkParser.c:2901: error: too few arguments to function ‘post_process_ +open’ LinkParser.c: In function ‘XS_Lingua__LinkParser_linkage_constituent_n +ode_get_label’: LinkParser.c:3285: warning: assignment makes pointer from integer with +out a cast LinkParser.c: In function ‘XS_Lingua__LinkParser_linkage_constituent_n +ode_get_child’: LinkParser.c:3315: warning: assignment makes pointer from integer with +out a cast LinkParser.c: In function ‘XS_Lingua__LinkParser_linkage_constituent_n +ode_get_next’: LinkParser.c:3346: warning: assignment makes pointer from integer with +out a cast make: *** [LinkParser.o] Error 1

In reply to Re^4: Installing Lingua::LinkParser by crossthelimit
in thread Installing Lingua::LinkParser by crossthelimit

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.