首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >小孔语言对中的编译错误

小孔语言对中的编译错误
EN

Stack Overflow用户
提问于 2018-04-09 21:31:06
回答 1查看 49关注 0票数 1

我是通过遵循这些http://wiki.apertium.org/wiki/How_to_bootstrap_a_new_pair配置说明来创建英语-西班牙语对的,但在编写脚本对之后,我会这样做:

./autogen.sh --with-lang1=../apertium-en --with-lang2=../apertium-es

使用这个命令我得到了这个错误,我该如何解决这个问题?

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")

EN

回答 1

Stack Overflow用户

发布于 2018-04-09 22:38:13

所有的“现代”Apertium语言数据都使用3个字母的语言代码,所以应该是apertium-eng

确保您已经签出并配置了父目录中的apertium-engapertium-spa,例如

代码语言:javascript
复制
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

然后在你要做的那双鞋里,做

代码语言:javascript
复制
./autogen.sh --with-lang1=../apertium-eng --with-lang2=../apertium-spa
make
票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49734234

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档