Closed liangyongxiang closed 12 months ago
PERL5LIB=. po4a --variable srcdir=../../man --variable builddir=../../man --variable podir=./tmp-po --keep 0 ./po4a.cfg
Can't locate Locale/Po4a/Chooser.pm in @INC (you may need to install the Locale::Po4a::Chooser module) (@INC entries checked: . /home/yongxiang/work/loong/Yongbao/loongarch64/workbase/cross-tools/lib64/perl5/5.3x/site_perl /home/yongxiang/work/loong/Yongbao/loongarch64/workbase/cross-tools/lib/perl5/5.3x/site_perl /home/yongxiang/work/loong/Yongbao/loongarch64/workbase/cross-tools/lib64/perl5/5.3x/core_perl /home/yongxiang/work/loong/Yongbao/loongarch64/workbase/cross-tools/lib/perl5/5.3x/core_perl) at /usr/bin/po4a line 700.
BEGIN failed--compilation aborted at /usr/bin/po4a line 700.
make[3]: *** [Makefile:1787: all-local] Error 2
make[3]: Leaving directory '/home/yongxiang/work/loong/Yongbao/loongarch64/workbase/build/man-db-2.11.2/man/po4a'
make[2]: *** [Makefile:2046: all-recursive] Error 1
make[2]: Leaving directory '/home/yongxiang/work/loong/Yongbao/loongarch64/workbase/build/man-db-2.11.2/man'
make[1]: *** [Makefile:1757: all-recursive] Error 1
make[1]: Leaving directory '/home/yongxiang/work/loong/Yongbao/loongarch64/workbase/build/man-db-2.11.2'
make: *** [Makefile:1689: all] Error 2
没办法重现你的问题,所以我加了一个相关的参数,你更新一下试试。
还是有问题。是不是因为使用了host的po4a文件?
感觉是,所以我加了一个PO4A="" 看看能不能解决,无效?
是的。无效。
嗯,我再想想怎么处理。
我在cross-tools里有针对性的加了一些软件包,方便的话你更新再试试看。
我重新试试clean后./build.sh
之前没有 clean 之前应该是是可以编译过去的。 clean 之后遇到新的问题:https://github.com/sunhaiyong1978/Yongbao/issues/13
其实不用进行clean操作,build.sh会自动处理发生变化的构建步骤。
手动指定执行 target_base/man-db
也可以构建成功
https://gist.github.com/liangyongxiang/3441d6c316473e7444aff682e89fca1d