The application.zip does not have a Src/ folder, so I downloaded the source-distribution.zip instead.
With sh setup, it was impossible to compile UnitexToolLogger:
g++ -o ../bin/UnitexToolLogger [...]
Undefined symbols for architecture x86_64:
"_libintl_gettext", referenced from:
_tre_regerror in libtre.a(regerror.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [../bin/UnitexToolLogger] Error 1
So, I figured out the errors did not stem from the TRE installation, but from the fact that libintl was not properly linked during compilation.
When adding the library to the setup command
LDFLAGS=-lintl sh setup
the compilation completed successfully.
================================================================================
Info: Unitex/GramLab compilation completed successfully
All binaries were copied to platform/osx-x86_64
================================================================================
Unitex/GramLab installation has successfully been completed!
[OK] Java bin directory : /usr/local/Cellar/openjdk/14.0.1/libexec/openjdk.jdk/Contents/Home/bin
[OK] Installation directory : /Users/anais/Unitex-GramLab-3.2
[OK] Platform binaries : /Users/anais/Unitex-GramLab-3.2/App/platform/osx-x86_64
[OK] Unitex Workspace : /Users/anais/workspace/Unitex-GramLab/Unitex
[OK] GramLab Workspace : /Users/anais/workspace/Unitex-GramLab/GramLab
================================================================================
Now, the <<^[[:lower:]]+$>>_f_ regex works perfectly.
OS = macOS Catalina (10.15.7)
Language = French
Text = 80jours.txt (default)
Processing = 80jours.snt (default)
Locate pattern > Regular expression: <<^[[:lower:]]+$>>
Morphological filter ‘^[[:lLoOwWeErR:]]+$’ : Syntax error : Unknown character class name
Cannot compile filter(s)
Locate pattern > Regular expression: <<^[[:lower:]]+$>>_f_
53171 matches
53171 recognized units
(32.179% of the text is covered)
Thanks for your help!
Anaïs