我想在Ubuntu 16.04上安装Luci Web界面。我试图用git clone单独安装Luci。但是在通过
运行make文件之后sudo make runuhttpd
我收到了一些错误:
rm -f host/luci
ln -s ./usr/lib/lua/luci host/luci
rm -rf /tmp/luci-* || true
build/hostenv.sh /home/NEWUSER/Desktop/openwrt/build/uci/build/luci/host /usr/lib/lua /usr/lib/lua "/home/NEWUSER/Desktop/openwrt/build/uci/build/luci/host/bin/uci-defaults --exclude luci-freifunk-*"
/home/NEWUSER/Desktop/openwrt/build/uci/build/luci/host/bin/../etc/uci-defaults/luci-upnp: line 3: /etc/init.d/miniupnpd: No such file or directory
/home/NEWUSER/Desktop/openwrt/build/uci/build/luci/host/bin/../etc/uci-defaults/luci-minidlna: line 3: /etc/init.d/minidlna: No such file or directory
cp /home/NEWUSER/Desktop/openwrt/build/uci/build/luci/build/luci.cgi /home/NEWUSER/Desktop/openwrt/build/uci/build/luci/host/www/cgi-bin/luci
build/hostenv.sh /home/NEWUSER/Desktop/openwrt/build/uci/build/luci/host /usr/lib/lua /usr/lib/lua "/home/NEWUSER/Desktop/openwrt/build/uci/build/luci/host/usr/sbin/uhttpd -p 8080 -h /home/NEWUSER/Desktop/openwrt/build/uci/build/luci/host/www -f"
build/hostenv.sh: 8: build/hostenv.sh: /home/NEWUSER/Desktop/openwrt/build/uci/build/luci/host/usr/sbin/uhttpd: not found
Makefile:64: recipe for target 'runuhttpd' failed
make: *** [runuhttpd] Error 127
有关此错误的任何建议吗?谢谢
答案 0 :(得分:1)
我也面临同样的问题
home / engineer / repo / chetan_luci / luci / host / bin /../ etc / uci-defaults / luci-minidlna:第3行:/etc/init.d/minidlna:没有这样的文件或目录
/ home / engineer / repo / chetan_luci / luci / host / bin /../ etc / uci-defaults / luci-upnp:第3行:/etc/init.d/miniupnpd:没有这样的文件或目录 c / luci / host / usr / sbin / uhttpd:未找到 Makefile:64:目标配方' runuhttpd'失败 make:*** [runuhttpd]错误127
答案 1 :(得分:0)
Openwrt的软件包在makefile中标记了一些依赖项,要在x86平台上运行任何软件包,你必须使用所有依赖项来编译它。 在这种情况下,从共享日志中可以清楚地看到Luci正在尝试启动uhttd(Luci的默认Web服务器),因此不存在错误。