2017-04-24 1 views
0

우분투 16.04에 Luci 웹 인터페이스를 설치하고 싶습니다. 나는 git clone으로 Luci를 혼자 설치하려고 시도했다.우분투 16.04에 Luci를 설치할 때 오류가 발생합니까?

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 

이 오류에 대한 어떤 제안 :하지만

sudo make runuhttpd 

에 의해 메이크업 파일을 실행 한 후 나는 약간의 오차는 무엇입니까? 덕분에

답변

0

Openwrt의 패키지는 x86 플랫폼에서 모든 패키지를 실행하기 위해 makefiles 내에 일부 종속성을 표시합니다. 모든 종속성을 가지고 컴파일해야합니다. 이 경우, 공유 로그에서 Luci가 uhttd (Luci의 기본 웹 서버)를 시작하려고 시도 했으므로 오류가 발생하지 않습니다. 라인 3 :은/etc/초기화 나는 또한 등이

홈/엔지니어/REPO/chetan_luci/luci를/호스트/빈 /..//UCI-기본값/luci를-minidlna과 같은 문제에 직면하고있다

1

.d/minidlna : 해당 파일이나 디렉토리가 없습니다.

/home/engineer/repo/chetan_luci/luci/host/bin/../etc/uci-defaults/luci-upnp : 3 행 :/etc/init. D/miniupnpd : 해당 파일이나 디렉토리 C/luci를/호스트는/usr/sbin에/uhttpd : 발견되지 메이크 : 64 : *** [runuhttpd] 오류 127

+0

: 대상 'runuhttpd'에 대한 조리법 메이크업 실패 수있는 모든 explai 우분투에서 ns 단계 luci 환경 16.04 – Shiva

+0

http://jim-st.blogspot.in/2015_02_01_archive.html에서 완전한 Vmware 설정을 받았습니다. 나는 이것이 당신에게 완전한 Vmware를 줄 것이라고 생각한다. – user2986042

관련 문제