maxlicheng / luci-app-unblockmusic

用于解锁网易云灰色歌曲的OpenWRT/LEDE路由器插件 (openwrt/lede luci support for unblock neteasecloudmusic)
1.5k stars 276 forks source link

openwrt官方源码编译不过去 #119

Closed de-conf closed 4 years ago

de-conf commented 4 years ago

node 问题已经处理,看情况是缺少一个链接文件,但是咋处理呢?

time: target/linux/prereq#0.14#0.08#0.26
make[1]: Entering directory '/home/albert/build/openwrt'
make[2]: Entering directory '/home/albert/build/openwrt/feeds/luci/modules/luci-base'
touch /home/albert/build/openwrt/build_dir/hostpkg/luci-base/.prepared64658f30594bf377c9432f269315abd9_6664517399ebbbc92a37c5bb081b5c53
touch /home/albert/build/openwrt/build_dir/hostpkg/luci-base/.configured
make -C src/ clean po2lmo jsmin
make[3]: Entering directory '/home/albert/build/openwrt/feeds/luci/modules/luci-base/src'
rm -f contrib/lemon po2lmo parser.so version.lua plural_formula.c plural_formula.h *.o
cc    -DNDEBUG -c -o po2lmo.o po2lmo.c
cc -o contrib/lemon contrib/lemon.c
./contrib/lemon -q plural_formula.y
cc    -DNDEBUG -c -o template_lmo.o template_lmo.c
cc    -DNDEBUG -c -o plural_formula.o plural_formula.c
cc  -o po2lmo po2lmo.o template_lmo.o plural_formula.o
cc    -DNDEBUG -c -o jsmin.o jsmin.c
cc  -o jsmin jsmin.o
make[3]: Leaving directory '/home/albert/build/openwrt/feeds/luci/modules/luci-base/src'
touch /home/albert/build/openwrt/build_dir/hostpkg/luci-base/.built
install -d -m0755 /home/albert/build/openwrt/staging_dir/hostpkg/bin
install -m0755 src/po2lmo /home/albert/build/openwrt/staging_dir/hostpkg/bin/po2lmo
install -m0755 src/jsmin /home/albert/build/openwrt/staging_dir/hostpkg/bin/jsmin
mkdir -p /home/albert/build/openwrt/staging_dir/hostpkg/stamp
touch /home/albert/build/openwrt/build_dir/hostpkg/luci-base/.built
touch /home/albert/build/openwrt/staging_dir/hostpkg/stamp/.luci-base_installed
make[2]: Leaving directory '/home/albert/build/openwrt/feeds/luci/modules/luci-base'
time: package/feeds/luci/luci-base/host-compile#3.99#1.44#7.94
make[2]: Entering directory '/home/albert/build/openwrt/package/libs/ncurses'
make[2]: Leaving directory '/home/albert/build/openwrt/package/libs/ncurses'
time: package/libs/ncurses/host-compile#0.14#0.09#0.22
make[2]: Entering directory '/home/albert/build/openwrt/package/libs/toolchain'
rm -rf /home/albert/build/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/toolchain/.pkgdir/libc.installed /home/albert/build/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/toolchain/.pkgdir/libc
mkdir -p /home/albert/build/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/toolchain/.pkgdir/libc
install -d -m0755 /home/albert/build/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/toolchain/.pkgdir/libc/lib /home/albert/build/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/toolchain/.pkgdir/libc/usr/bin
cp -fpR /home/albert/build/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.4.0_musl_eabi/lib/ld-musl-*.so* /home/albert/build/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/toolchain/.pkgdir/libc/lib/
cp: cannot stat '/home/albert/build/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.4.0_musl_eabi/lib/ld-musl-*.so*': No such file or directory
make[2]: *** [Makefile:792: /home/albert/build/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/toolchain/.pkgdir/libc.installed] Error 1
make[2]: Leaving directory '/home/albert/build/openwrt/package/libs/toolchain'
time: package/libs/toolchain/compile#0.13#0.08#0.25
make[1]: *** [package/Makefile:113: package/libs/toolchain/compile] Error 2
make[1]: Leaving directory '/home/albert/build/openwrt'
make: *** [/home/albert/build/openwrt/include/toplevel.mk:227:package/luci-app-unblockmusic/app/compile] 错误 2

以上为编译日志

de-conf commented 4 years ago

我用google搜索了一下,是需要先编译固件在编译插件吗?

另外,强烈建议上CI直接放出安装包?

de-conf commented 4 years ago

按照先编译固件,在编译软件包,软件包已经编译出来了,但是依赖不满足,怎么解决啊? opkg install node_v12.16.1-1_arm_cortex-a9_vfpv3.ipk

Installing node (v12.16.1-1) to root...
* satisfy_dependencies_for: Cannot satisfy the following dependencies for node:
 *      libstdcpp6
 *      libnghttp2-14
 *      libuv1
 *      libatomic1
 * opkg_install_cmd: Cannot install package node.
de-conf commented 4 years ago

换成源里的node安装成功

maxlicheng commented 4 years ago

这个提示是你现在的这个固件没有这些库文件。

固件版本与你编译的版本差异有点大,不建议这么折腾。

如果你确实要解决,可以在当前编译目录下找到这些库文件,有些可能是ipk,库文件直接放置lib目录,ipk用install安装。

建议直接用新编译的固件。

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: deconf <notifications@github.com> 发送时间: 2020年3月24日 19:35 收件人: maxlicheng/luci-app-unblockmusic <luci-app-unblockmusic@noreply.github.com> 抄送: Subscribed <subscribed@noreply.github.com> 主题: 回复:[maxlicheng/luci-app-unblockmusic] openwrt官方源码编译不过去 (#119)

按照先编译固件,在编译软件包,软件包已经编译出来了,但是依赖不满足,怎么解决啊?

de-conf commented 4 years ago

这个提示是你现在的这个固件没有这些库文件。 固件版本与你编译的版本差异有点大,不建议这么折腾。 如果你确实要解决,可以在当前编译目录下找到这些库文件,有些可能是ipk,库文件直接放置lib目录,ipk用install安装。 建议直接用新编译的固件。 发自我的iPhone ------------------ 原始邮件 ------------------ 发件人: deconf <notifications@github.com> 发送时间: 2020年3月24日 19:35 收件人: maxlicheng/luci-app-unblockmusic <luci-app-unblockmusic@noreply.github.com> 抄送: Subscribed <subscribed@noreply.github.com> 主题: 回复:[maxlicheng/luci-app-unblockmusic] openwrt官方源码编译不过去 (#119) 按照先编译固件,在编译软件包,软件包已经编译出来了,但是依赖不满足,怎么解决啊? satisfy_dependencies_for: Cannot satisfy the following dependencies for node: libstdcpp6 libnghttp2-14 libuv1 libatomic1 opkg_install_cmd: Cannot install package node. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

已经解决问题,成功编译出来了,但是好像iptables好像有问题,只能手机解锁,uwp,windows(包括使用代理服务器 都不行 Linux下忽略证书错误并信任ca都不行