Re: [greenstone-devel] MGPP (2.71 build problem)

From jens wille
DateMon, 26 Feb 2007 20:21:47 +0100
Subject Re: [greenstone-devel] MGPP (2.71 build problem)
In-Reply-To (20070225230759-GI26080-matai-cs-waikato-ac-nz)
hi john!

John R. McPherson [26/02/07 00:07]:
> Maybe you could build the mg files again with debugging symbols
> (add -g to your CFLAGS environment variable), and then maybe
> we can get a stack trace.
i rebuilt the mgpp files (i suppose that's what you meant?) from the
source distribution with 'make CFLAGS=-g CXXFLAGS=-g', but all i get is:

---- snip ----
ivf.pass1 : Inverted buffer size: 5242880 bytes
ivf.pass1 : Max memory needed for 1 chunk: 2806995 bytes
ivf.pass1 : Number of chunks written: 1
ivf.pass1 : Number of documents: 9333
ivf.pass1 : Number of fragments: 1983908
ivf.pass1 : Number of words: 1983908
ivf.pass1 : Size of word dictionary: 400531
ivf.pass1 : Size of tag dictionary: 2
Stats (Creating index
text_meta;place_meta;person_meta;textonly_meta;title_meta;sys_meta;id_meta;ftext_meta;fplace_meta;fperson_meta;fid_meta;)
Total bytes in collection: 29881561
Total bytes in
text_meta;place_meta;person_meta;textonly_meta;title_meta;sys_meta;id_meta;ftext_meta;fplace_meta;fperson_meta;fid_meta;:
208420643
mgppbuilder::build_index - Couldn't create index
text_meta;place_meta;person_meta;textonly_meta;title_meta;sys_meta;id_meta;ftext_meta;fplace_meta;fperson_meta;fid_meta;
BuildDir: /usr/local/gsdl/stable/collect/rdk-dev6/building
---- snip ----

which means it built without any buffer overrun or anything like
that, just that error message - and, of course, no index... how come?

these are the files in 'building/idx/':

---- snip ----
212K rdk-dev6.invf.chunk
920K rdk-dev6.invf.chunk.trans
28M rdk-dev6.invf.dict
4.0K rdk-dev6.invf.level
---- snip ----

do you, or anyone else, know what happened here? maybe i should take
everything from the source distribution instead of mixing? (btw, the
versions were the same: 2.72)

thanks for your support!

cheers
jens