[英]compiling error in apertium language pair
I was making english-spanish language pair by following these http://wiki.apertium.org/wiki/How_to_bootstrap_a_new_pair apertium instructions but after scripting pair when I go: 我通过遵循以下http://wiki.apertium.org/wiki/How_to_bootstrap_a_new_pair开口指示来制作英语-西班牙语语言对,但是在我编写脚本对之后:
./autogen.sh --with-lang1=../apertium-en --with-lang2=../apertium-es
With this command I got this error, how can I solve this problem? 使用此命令,我收到此错误,如何解决此问题?
configure: WARNING: apertium-en looks like an apertium dependency, but couldn't find ../apertium-en/apertium-en.pc.in -- wrong directory, or not compiled yet? configure: error: Could not find sources dir for apertium-en (AP_SRC1="../apertium-en")
All the "modern" Apertium language data uses 3-letter language codes, so that should probably be apertium-eng . 所有“现代” Apertium语言数据都使用3个字母的语言代码,因此可能应该是apertium-eng 。
Ensure you've checked out and configured apertium-eng
and apertium-spa
in the parent dir, eg 确保您已在父目录中签出并配置了apertium-eng
和apertium-spa
,例如
cd ..
git clone https://github.com/apertium/apertium-eng
git clone https://github.com/apertium/apertium-spa
for l in apertium-{eng,spa}; do ( cd "$l" && ./autogen.sh && make ); done
then in the pair you're making, do 然后在你正在做的一对中
./autogen.sh --with-lang1=../apertium-eng --with-lang2=../apertium-spa
make
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.