2017-04-24 208 views
0

我想在Ubuntu 16.04上安裝Luci網頁界面。我試圖用git克隆單獨安裝Luci。但是,在ubuntu 16.04上安裝Luci時出錯?

sudo make runuhttpd 

運行make文件後,我得到了一些錯誤:

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

Openwrt的軟件包在makefile中標有一些依賴項,要在x86平臺上運行任何軟件包,必須使用所有依賴項進行編譯。 在這種情況下,從共享日誌中可以明顯看出,Luci試圖啓動uhttd(Luci的默認Web服務器)不存在,因此是錯誤。

1

,我也面臨着同樣的問題與此

家/工程師/回購/ chetan_luci /熒光素酶/主機/ bin中/../等/ UCI-默認/熒光素酶,minidlna:3號線:在/ etc /初始化.d/minidlna:沒有這樣的文件或目錄

/home/engineer/repo/chetan_luci/luci/host/bin/../etc/uci-defaults/luci-upnp:line 3:/ etc/init。 d/miniupnpd:沒有這樣的文件或目錄 C/luci的/主機/ usr/sbin目錄/ uhttpd:找不到 生成文件:64:配方目標 'runuhttpd' 失敗 化妝:*** [runuhttpd]錯誤127

+0

可以任何解釋ns在ubuntu中執行luci環境16.04 – Shiva

+0

我從http://jim-st.blogspot.in/2015_02_01_archive.html獲得了完整的Vmware安裝程序。我認爲這會給你完整的Vmware。 – user2986042