在ubuntu 16.04上安装Luci时出现错误?

我想在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: 没有那个文件或目录
/home/NEWUSER/Desktop/openwrt/build/uci/build/luci/host/bin/../etc/uci-defaults/luci-minidlna: line 3: /etc/init.d/minidlna: 没有那个文件或目录
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: 未找到
Makefile:64: recipe for target 'runuhttpd' failed
make: *** [runuhttpd] Error 127

对此错误有何建议?谢谢。

点赞
用户1328485
用户1328485

Openwrt 的软件包在 makefiles 中标记了一些依赖项,要在 x86 平台上运行任何软件包,必须编译它及其所有依赖项。 在这种情况下,从共享的日志中可以清楚地看出,Luci 试图启动 uhttd(Luci 的默认 Web 服务器),但该服务器未安装,因此出现错误。

Openwrt 的软件包在 makefiles 中标记了一些依赖项,要在 x86 平台上运行任何软件包,必须编译它及其所有依赖项。
在这种情况下,从共享的日志中可以清楚地看出,Luci 试图启动 uhttd(Luci 的默认 Web 服务器),但该服务器未安装,因此出现错误。
2017-04-29 18:01:40
用户7854384
用户7854384

我也遇到了同样的问题:

home/engineer/repo/chetan_luci/luci/host/bin/../etc/uci-defaults/luci-minidlna: line 3: /etc/init.d/minidlna: No such file or directory

/home/engineer/repo/chetan_luci/luci/host/bin/../etc/uci-defaults/luci-upnp: line 3: /etc/init.d/miniupnpd: No such file or directory
c/luci/host/usr/sbin/uhttpd: not found
Makefile:64: recipe for target 'runuhttpd' failed
make: *** [runuhttpd] Error 127
2017-05-05 09:29:53