Tiny change to link-grammar tarball...

From: <msevior_at_physics.unimelb.edu.au>
Date: Thu Feb 10 2005 - 15:55:10 CET

Hi Dom,
       I finally worked out what needs to change to make link-grammar read
it's dictionary file from the installed direct directory.

In link-grammar-4.1.1/Makefile.am, Line 18 change

DEFS = @DEFS@ -DVERSION=\"@VERSION@\" -DDICTIONARY_DIR=\"$(pkgdatadir)/\"

To

DEFS = @DEFS@ -DVERSION=\"@VERSION@\" -DDICTIONARY_DIR=\"$(pkgdatadir):\"

Rerun ./autogen.sh
./configure --prefix=***
make clean
make install

 etc..

The code in utilities.c needs a trailing ":" to recognize the last path to
try a dictionary file.

Works like a charm now.

Cheers

Martin
Received on Thu Feb 10 15:59:26 2005

This archive was generated by hypermail 2.1.8 : Thu Feb 10 2005 - 15:59:26 CET