Problems with link-grammar tarball and build?

From: Martin Sevior <msevior_at_physics.unimelb.edu.au>
Date: Mon Feb 07 2005 - 03:00:31 CET

Hi Dom,
       The link-grammar plugin has hard-coded strings for the
dictionary_create functions.

LinkGrammarWrap::LinkGrammarWrap(void)
{
  m_Opts = parse_options_create();
  m_Dict = dictionary_create("4.0.dict",
                             "4.0.knowledge",
                             "4.0.constituent-knowledge",
                             "4.0.affix");
}

We need the build system to discover the location of these files and to
pass this location to wrapper class.

I hardcoded the the path to the location where it ended up in my build
system (/home/msevior/abidir/share/link-grammar/4.0.dict" as a hack to
test stuff and now get instant crashes inside glibc when calling this
function.

I've hit it with both valgrand and glib but I'm not getting any more
info. It looks like there is some fundamental error in either the
"4.0.dict" file or the build system.

Can you have a look? It is beyond me.

Thanks!

Martin
Received on Mon Feb 7 02:02:22 2005

This archive was generated by hypermail 2.1.8 : Mon Feb 07 2005 - 02:02:23 CET