找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 13681|回复: 43

请问编译出错bash: po2lmo: command not found怎么弄?(已解决)

[复制链接]
发表于 2019-9-30 21:35 | 显示全部楼层 |阅读模式
本帖最后由 725216 于 2019-10-1 12:57 编辑

编译酸酸install -d -m0755 /home/rxy/openwrt-sdk-18.06.4-ramips-mt7621_gcc-7.3.0_musl.Linux-x86_64/build_dir/target-mipsel_24kc_musl/luci-app-S-S R-plus-1/.pkgdir/luci-app-S-S R-plus/usr/lib/lua/luci/i18npo2lmo ./po/zh-cn/S-S R-plus.po /home/rxy/openwrt-sdk-18.06.4-ramips-mt7621_gcc-7.3.0_musl.Linux-x86_64/build_dir/target-mipsel_24kc_musl/luci-app-S-S R-plus-1/.pkgdir/luci-app-S-S R-plus/usr/lib/lua/luci/i18n/S-S R-plus.zh-cn.lmo
bash: po2lmo: command not found
Makefile:86: recipe for target '/home/rxy/openwrt-sdk-18.06.4-ramips-mt7621_gcc-7.3.0_musl.Linux-x86_64/build_dir/target-mipsel_24kc_musl/luci-app-S-S R-plus-1/.pkgdir/luci-app-S-S R-plus.installed' failed
make[2]: *** [/home/rxy/openwrt-sdk-18.06.4-ramips-mt7621_gcc-7.3.0_musl.Linux-x86_64/build_dir/target-mipsel_24kc_musl/luci-app-S-S R-plus-1/.pkgdir/luci-app-S-S R-plus.installed] Error 127
make[2]: Leaving directory '/home/rxy/openwrt-sdk-18.06.4-ramips-mt7621_gcc-7.3.0_musl.Linux-x86_64/package/lean/luci-app-S-S R-plus'
time: package/lean/luci-app-S-S R-plus/compile#0.28#0.23#1.24
package/Makefile:107: recipe for target 'package/lean/luci-app-S-S R-plus/compile' failed
make[1]: *** [package/lean/luci-app-S-S R-plus/compile] Error 2
乳时出了 这个 错误 要 怎么弄?

我的恩山、我的无线 The best wifi forum is right here.
发表于 2019-9-30 23:15 | 显示全部楼层
安装po2lmo

点评

直接安装不行  详情 回复 发表于 2019-10-1 07:35
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-10-1 07:35 | 显示全部楼层

直接安装不行
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-12-7 21:23 | 显示全部楼层
怎么解决的能说下吗?

点评

重新下载sdk,重新编译又好了,,也试过编译po2lmo,编译安装了也不行的  详情 回复 发表于 2019-12-8 11:01
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-12-8 11:01 | 显示全部楼层
muzhi 发表于 2019-12-7 21:23
怎么解决的能说下吗?

重新下载sdk,重新编译又好了,,也试过编译po2lmo,编译安装了也不行的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-17 12:03 | 显示全部楼层
同样是这个问题,你这是重新下载源码,然后重新编译?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-4-17 20:39 | 显示全部楼层
我也这个问题诶
install -d -m0755 /home/demo/lede/build_dir/target-x86_64_musl/luci-app-乳酸菌饮料-plus/.pkgdir/luci-app-乳酸菌饮料-plus/usr/lib/lua/luci/i18n
po2lmo ./po/zh-cn/乳酸菌饮料-plus.po /home/demo/lede/build_dir/target-x86_64_musl/luci-app-乳酸菌饮料-plus/.pkgdir/luci-app-乳酸菌饮料-plus/usr/lib/lua/luci/i18n/乳酸菌饮料-plus.zh-cn.lmo
bash: po2lmo: command not found
Makefile:120: recipe for target '/home/demo/lede/build_dir/target-x86_64_musl/luci-app-乳酸菌饮料-plus/.pkgdir/luci-app-乳酸菌饮料-plus.installed' failed
make[3]: *** [/home/demo/lede/build_dir/target-x86_64_musl/luci-app-乳酸菌饮料-plus/.pkgdir/luci-app-乳酸菌饮料-plus.installed] Error 127
make[3]: Leaving directory '/home/demo/lede/feeds/helloworld/luci-app-乳酸菌饮料-plus'
time: package/feeds/helloworld/luci-app-乳酸菌饮料-plus/compile#0.12#0.12#0.44
package/Makefile:111: recipe for target 'package/feeds/helloworld/luci-app-乳酸菌饮料-plus/compile' failed
make[2]: *** [package/feeds/helloworld/luci-app-乳酸菌饮料-plus/compile] Error 2
make[2]: Leaving directory '/home/demo/lede'
package/Makefile:107: recipe for target '/home/demo/lede/staging_dir/target-x86_64_musl/stamp/.package_compile' failed
make[1]: *** [/home/demo/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/demo/lede'
/home/demo/lede/include/toplevel.mk:225: recipe for target 'world' failed
make: *** [world] Error 2
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-6-16 13:23 | 显示全部楼层
首次编译时,容易报错:bash: po2lmo: command not found 这应该是因为编译XXXXXXX需要把 luci-base 先编译出来,但是目前顺序可能是先编译了 hello world 导致出现问题,此时使用 make package/feeds/luci/luci-base/compile V=99 编译出 luci-base 后再编译就不会报错。 这个问题虽然出现的频率不高,但是也不低,

点评

何必呢?少说几句吧,网络这么大,聚到一起也不容易!: 5.0
谢谢大佬  详情 回复 发表于 2023-11-28 14:07
解决问题了,非常感谢  详情 回复 发表于 2023-7-11 11:58
感谢,成功了  详情 回复 发表于 2023-3-15 12:34
感谢 是了试了好使了  详情 回复 发表于 2022-12-8 08:33
是这个原因,感谢解答  发表于 2022-6-8 00:59
遇到这个问题了,谢谢,用这段代码试试!  详情 回复 发表于 2022-4-1 22:37
何必呢?少说几句吧,网络这么大,聚到一起也不容易!: 5
感谢感谢!!!  发表于 2022-3-26 15:58
真的很好,刚好遇到这个问题  详情 回复 发表于 2021-12-8 16:08
不好意思,我也有这个错误,请问是在make -j1 V=s 之前先输入 make package/feeds/luci/luci-base/compile V=99这段代码吗?感谢。  详情 回复 发表于 2021-8-30 11:07
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-6-28 14:19 | 显示全部楼层
迦南之心 发表于 2021-6-16 13:23
首次编译时,容易报错:bash: po2lmo: command not found 这应该是因为编译XXXXXXX需要把 luci-base 先编译 ...

谢谢,编译openwrt很多次了,今天遇上了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-8-30 11:07 | 显示全部楼层
迦南之心 发表于 2021-6-16 13:23
首次编译时,容易报错:bash: po2lmo: command not found 这应该是因为编译XXXXXXX需要把 luci-base 先编译 ...

不好意思,我也有这个错误,请问是在make -j1 V=s 之前先输入 make package/feeds/luci/luci-base/compile V=99这段代码吗?感谢。

点评

是的 祝好运  详情 回复 发表于 2021-8-30 15:12
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-8-30 15:12 | 显示全部楼层
Canco 发表于 2021-8-30 11:07
不好意思,我也有这个错误,请问是在make -j1 V=s 之前先输入 make package/feeds/luci/luci-base/compil ...

是的
祝好运

点评

install -d -m0755 /home/canco/lede/build_dir/target-x86_64_musl/toolchain/.pkgdir/libc/lib /home/canco/lede/build_dir/target-x86_64_musl/toolchain/.pkgdir/libc/usr/bin cp -fpR /home/canco/lede/stagin  详情 回复 发表于 2021-8-30 22:59
谢谢大佬,我现在就试试…  详情 回复 发表于 2021-8-30 22:31
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-8-30 22:31 | 显示全部楼层

谢谢大佬,我现在就试试…
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-8-30 22:59 | 显示全部楼层

install -d -m0755 /home/canco/lede/build_dir/target-x86_64_musl/toolchain/.pkgdir/libc/lib /home/canco/lede/build_dir/target-x86_64_musl/toolchain/.pkgdir/libc/usr/bin
cp -fpR /home/canco/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/ld-musl-*.so* /home/canco/lede/build_dir/target-x86_64_musl/toolchain/.pkgdir/libc/lib/
cp: cannot stat '/home/canco/lede/staging_dir/toolchain-x86_64_gcc-8.4.0_musl/lib/ld-musl-*.so*': No such file or directory
make[2]: *** [Makefile:728: /home/canco/lede/build_dir/target-x86_64_musl/toolchain/.pkgdir/libc.installed] Error 1
make[2]: Leaving directory '/home/canco/lede/package/libs/toolchain'
time: package/libs/toolchain/compile#0.11#0.02#0.13
    ERROR: package/libs/toolchain failed to build.
make[1]: *** [package/Makefile:116: package/libs/toolchain/compile] Error 1
make[1]: Leaving directory '/home/canco/lede'
make: *** [/home/canco/lede/include/toplevel.mk:230: package/feeds/luci/luci-base/compile] Error 2

输这段代码,报这个错误,还是不行…我再研究一下吧…要吐了

点评

这一段要求网络链接质量比较好才行,建议make -j8 download V=sc多跑几遍,确认所有工具都下载完整了,然而还是需要比较好的网络质量。  详情 回复 发表于 2021-8-31 10:43
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-8-31 10:43 | 显示全部楼层
Canco 发表于 2021-8-30 22:59
install -d -m0755 /home/canco/lede/build_dir/target-x86_64_musl/toolchain/.pkgdir/libc/lib /home/c ...

这一段要求网络链接质量比较好才行,建议make -j8 download V=sc多跑几遍,确认所有工具都下载完整了,然而还是需要比较好的网络质量。

点评

嗯啊,我明天再試試吧,這兩天太忙了…還是謝謝你啦。  详情 回复 发表于 2021-9-1 00:37
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-9-1 00:37 | 显示全部楼层
迦南之心 发表于 2021-8-31 10:43
这一段要求网络链接质量比较好才行,建议make -j8 download V=sc多跑几遍,确认所有工具都下载完整了,然 ...

嗯啊,我明天再試試吧,這兩天太忙了…還是謝謝你啦。

点评

有解决方案了吗  详情 回复 发表于 2021-9-8 15:32
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-16 21:34

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表