Open nchen194 opened 4 years ago
把luci.mk这行改为include $(TOPDIR)/feeds/luci/luci.mk
追加下,默认lean的代码是没有luci-compat的,可以官方的luci里面git软连接到/home/lede/lede/feeds/luci/modules里面或者,直接复制到这个目录。
改了后依然报错 /usr/bin/install -c -m 644 glade.loc glade1.its glade2.its gtkbuilder.its gsettings.loc gsettings.its appdata.loc appdata.its '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/staging_dir/hostpkg/share/gettext-0.19.8/its' make[8]: Leaving directory '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/build_dir/hostpkg/gettext-0.19.8.1/gettext-tools/its' make[7]: Leaving directory '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/build_dir/hostpkg/gettext-0.19.8.1/gettext-tools/its' make[7]: Entering directory '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/build_dir/hostpkg/gettext-0.19.8.1/gettext-tools' make[8]: Entering directory '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/build_dir/hostpkg/gettext-0.19.8.1/gettext-tools' make[8]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/staging_dir/hostpkg/share/doc/gettext/examples/build-aux' /usr/bin/install -c -m 644 ../build-aux/javacomp.sh.in ../build-aux/javaexec.sh.in ../build-aux/csharpcomp.sh.in ../build-aux/csharpexec.sh.in '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/staging_dir/hostpkg/share/doc/gettext/examples/build-aux' /usr/bin/mkdir -p '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/staging_dir/hostpkg/share/gettext' /usr/bin/install -c ../build-aux/config.rpath '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/staging_dir/hostpkg/share/gettext' make[8]: Leaving directory '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/build_dir/hostpkg/gettext-0.19.8.1/gettext-tools' make[7]: Leaving directory '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/build_dir/hostpkg/gettext-0.19.8.1/gettext-tools' make[6]: Leaving directory '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/build_dir/hostpkg/gettext-0.19.8.1/gettext-tools' make[6]: Entering directory '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/build_dir/hostpkg/gettext-0.19.8.1' make[7]: Entering directory '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/build_dir/hostpkg/gettext-0.19.8.1' make[7]: Nothing to be done for 'install-exec-am'. make[7]: Nothing to be done for 'install-data-am'. make[7]: Leaving directory '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/build_dir/hostpkg/gettext-0.19.8.1' make[6]: Leaving directory '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/build_dir/hostpkg/gettext-0.19.8.1' make[5]: Leaving directory '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/build_dir/hostpkg/gettext-0.19.8.1' make[4]: Leaving directory '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/build_dir/hostpkg/gettext-0.19.8.1' mkdir -p /workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/staging_dir/hostpkg/stamp touch /workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/build_dir/hostpkg/gettext-0.19.8.1/.built touch /workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/staging_dir/hostpkg/stamp/.gettext-full_installed make[3]: Leaving directory '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/package/libs/gettext-full' time: package/libs/gettext-full/host-compile#301.43#146.55#655.21 make[2]: Leaving directory '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede' make[1]: [package/Makefile:107: /workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede' make: [/workspace/OpenwrtCompileScript/Openwrt/openwrt/lede/include/toplevel.mk:227: world] Error 2
追加下,默认lean的代码是没有luci-compat的,可以官方的luci里面git软连接到/home/lede/lede/feeds/luci/modules里面或者,直接复制到这个目录。
好像不是19.07的话…把luci-compat删了…编译也能成功…不知道有没影响就是了
这个是加入原版openwrt 19.07的luci项目,lede没有验证过。
如果只需要luci界面,可以直接在smartdns的代码中执行
package/build-pkg.sh --platform luci
你好,想要把最新的smartdns加入编译该如何操作,我是个小白,翻了网络资料几天了,想自己在lede r20加入luci-compat无果;smartdns官方也无解,难道要改源码?哎。。。或者只能等lede支持新的luci?
报错信息如下 ERROR: please fix package/luci-app-smartdns/Makefile - see logs/package/luci-app-smartdns/dump.txt for details