Open unhammer opened 3 years ago
https://apertium.projectjj.com/osx/install-nightly.sh does mention at the end:
echo "You may need to add these to your ~/.profile or session:"
echo 'export PKG_CONFIG_PATH='$WHERE'/share/pkgconfig:${PKG_CONFIG_PATH}'
echo 'export ACLOCAL_PATH='$WHERE'/share/aclocal:${ACLOCAL_PATH}'
Because you can change where the script installs everything, though practically nobody does.
So apertium-get
should ideally look for the most recent apertium.pc in the usual locations, then set PKG_CONFIG_PATH
and ACLOCAL_PATH
accordingly. But a quick'n'dirty implementation can definitely default to /usr/local
.
It seems like the python version stopped using autogen.sh, now it's doing autoreconf
(autogen.sh does the PKG_CONFIG_PATH guessing, the old apertium-get script used autogen.sh)
According to mac user, running
apertium-get apertium-nno-nob
fails on the autogen step withwhile manually running
./autogen.sh
works fine.