Open Phaqui opened 1 year ago
the file korp.cg3 is in ../shared-smi/src/cg3/
The makefile should get it. What language are you trying to compile? The korp.cg3 is a specialised version of src/cg3/functions.cg3
, for many languages you may use that one instead. The local routine should be specified in the makefile: src/cg3/Makefile.am
, cf. that file for the different languages, under
#### Add language-specific sources here: ####
GT_CG_LOCAL_SRCS=semanticroles.cg3 valency.cg3 korp.cg3 semsets.cg3
Specifically src/cg3/korp.cg3
is not present in lang-nob
. The setting GT_CG_LOCAL_SRCS
is empty in lang-nob/src/cg3/Makefile.am
.
So, using functions.cg3 instead will work (or even making a symlink, but we should have routines making it possible both using and not using korp.cg3 in the different languages.
For the dependency tool (specified in
api/src/toolspecs/dependency.py
), a step is reliant on a filesrc/cg3/korp.cg3
. In the oldconf.pl
script, there is a clause that tells to treat the languages fao, sma, sme, smj, and nob differently for the dependency tool (they include this extra step). Where is this file? Can I compile it? I could not find anything mentioning "korp" when running./configure --help
.