giellalt / template-lang-und

A template repo for new languages, as well as to update existing language repos with.
https://giellalt.uit.no/
GNU Lesser General Public License v3.0
2 stars 1 forks source link

autogen.sh leads to missing file error #16

Closed reynoldsnlp closed 2 years ago

reynoldsnlp commented 2 years ago

When running autogen.sh on a fresh clone of lang-hil (which is a brand new language generated from this repository, I assume), I get the following:

repos/gt/lang-hil (main) $ ./autogen.sh

Looking for giella-core ...
giella-core found in ../

Looking for giella-shared ...
giella-shared found in ../

Initial automake setup of lang-hil
automake: error: cannot open < ../giella-core/am-shared/src-phonetics-tests-dir-include.am: No such file or directory
autoreconf: error: /opt/local/bin/automake failed with exit status: 1

The file is referenced in src/phonetics/tests/Makefile.am, which has an explicit comment to NOT edit that line.

reynoldsnlp commented 2 years ago

... but if I comment that out, I get...

automake: error: cannot open < ../giella-core/am-shared/tools-tokenisers-tests-dir-include.am: No such file or directory

...which is referenced in tools/tokenisers/tests/Makefile.am.

reynoldsnlp commented 2 years ago

...and if I comment that out, autogen.sh completes without errors.

reynoldsnlp commented 2 years ago

Nevermind, I just hadn't updated giella-core and giella-shared!