[CWB] Cannot build CWB::CL

Peter Ljunglöf peter.ljunglof at gu.se
Wed Sep 15 10:47:58 CEST 2010


Hi,

I'm trying to build CWB::CL (which is needed by CWB::Web::Query), but compilation fails with the following:

	CL.xs: In function ‘XS_CWB__CL_cl_normalize’:
	CL.xs:302: error: too few arguments to function ‘cl_string_canonical’

I looked into the code, and here's how CL.xs calls cl_string_canonical:

	cl_string_canonical(s_norm, flags);

And then I found the definition of cl_string_canonical in cwb/trunk/cl/cl.h:

	void cl_string_canonical(char *s, CorpusCharset charset, int flags);

So, it seems like CWB::CL isn't updated to handle the CorpusCharset... Any suggestions on what to do now?

Btw, I'm using the latest SVN code (rev 188)

best, 
/Peter

________________________________________________________________________________
peter ljunglöf, språkbanken, göteborgs universitet




More information about the CWB mailing list