我想在Ubuntu 16.04上安装Luci web界面。我试着用git clone单独安装Luci。但是在运行make file之后
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对这个错误有什么建议吗?谢谢
发布于 2017-05-05 17:29:53
我也面临着同样的问题
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 Error 127
发布于 2017-04-30 02:01:41
Openwrt的包在makefile中标记了一些依赖项,要在x86平台上运行任何包,您必须使用所有依赖项来编译它。在这种情况下,从共享日志中可以清楚地看出,Luci正在尝试启动uhttd(Luci的默认web服务器)并不存在,因此出现错误。
https://stackoverflow.com/questions/43587874
复制相似问题