[CWB] [ cwb-Bugs-3066695 ] CWB::CL: too few arguments to function cl_string_canonical
SourceForge.net
noreply at sourceforge.net
Thu Aug 16 14:46:34 CEST 2012
Bugs item #3066695, was opened at 2010-09-15 02:06
Message generated for change (Comment added) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=722303&aid=3066695&group_id=131809
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: CWB/Perl interface
Group: TODO-3.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: peter ljunglöf (heatherleaf)
Assigned to: Stefan Evert (schtepf)
Summary: CWB::CL: too few arguments to function cl_string_canonical
Initial Comment:
Function call on line 302 in .../perl/trunk/CWB-CL/CL.xs:
cl_string_canonical(s_norm, flags);
But the definition of the function, on line 714 in .../cwb/trunk/cl/cl.h, requires 3 arguments:
void cl_string_canonical(char *s, CorpusCharset charset, int flags);
A quick-and-dirty solution which gets CWB::CL to compile is to add any charset to the call, e.g.:
cl_string_canonical(s_norm, utf8, flags);
I guess it's a bit more complicated than that, but at least I got it to compile this way...
----------------------------------------------------------------------
Comment By: ishalyminov ()
Date: 2012-08-16 05:46
Message:
Ubuntu 12.04, FreeBSD 9.0, CWB v. 3.4.5 - the problem is still there, just
as described. Any assumptions for a workaround?
----------------------------------------------------------------------
Comment By: peter ljunglöf (heatherleaf)
Date: 2010-09-15 02:20
Message:
My quick solution doesn't work - something with the dynloader:
Can't load
'/Library/Perl/5.10.0/darwin-thread-multi-2level/auto/CWB/CL/CL.bundle' for
module CWB::CL:
dlopen(/Library/Perl/5.10.0/darwin-thread-multi-2level/auto/CWB/CL/CL.bundle,
1): Symbol not found: _g_utf8_skip
Referenced from:
/Library/Perl/5.10.0/darwin-thread-multi-2level/auto/CWB/CL/CL.bundle
Expected in: flat namespace
in /Library/Perl/5.10.0/darwin-thread-multi-2level/auto/CWB/CL/CL.bundle
at /System/Library/Perl/5.10.0/darwin-thread-multi-2level/DynaLoader.pm
line 207.
at -e line 1
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=722303&aid=3066695&group_id=131809
More information about the CWB
mailing list