首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在ubuntu 16.04上安装Luci时出现错误?

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

Stack Overflow用户
提问于 2017-04-24 20:17:15
回答 2查看 534关注 0票数 0

我想在Ubuntu 16.04上安装Luci web界面。我试着用git clone单独安装Luci。但是在运行make file之后

代码语言:javascript
复制
sudo make runuhttpd 

我收到一些错误:

代码语言:javascript
复制
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

对这个错误有什么建议吗?谢谢

EN

回答 2

Stack Overflow用户

发布于 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

票数 1
EN

Stack Overflow用户

发布于 2017-04-30 02:01:41

Openwrt的包在makefile中标记了一些依赖项,要在x86平台上运行任何包,您必须使用所有依赖项来编译它。在这种情况下,从共享日志中可以清楚地看出,Luci正在尝试启动uhttd(Luci的默认web服务器)并不存在,因此出现错误。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/43587874

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档