Temat: Kompilacja OpenWRT - Brakujące pakiety [Ubuntu 18.04]
Chciałem skompilować sobie swój obraz.
Najpierw zgodnie z poradą zainstalowałem:
$ sudo apt install build-essential binutils bzip2 gawk gettext git libncurses5-dev patch unzip zlib1g-dev subversion flex python3-distutilsPo ściągnięciu źródeł i próbie wykonania:
make menuconfigOtrzymuje coś takiego:
shevchenko1987@dell-inspiron-7560:~/Temp/openwrt$ make menuconfig
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... failed.
Checking 'working-gcc'... failed.
Checking 'g++'... failed.
Checking 'working-g++'... failed.
Checking 'ncurses'... failed.
Checking 'perl-thread-queue'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'getopt'... ok.
Checking 'stat'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'perl'... ok.
Checking 'python3-cleanup'... ok.
Checking 'python'... ok.
Checking 'git'... ok.
Checking 'file'... ok.
/home/shevchenko1987/Temp/openwrt/include/prereq-build.mk:158: recipe for target '/home/shevchenko1987/Temp/openwrt/staging_dir/host/bin/mkhash' failed
Prerequisite check failed. Use FORCE=1 to override.
/home/shevchenko1987/Temp/openwrt/include/toplevel.mk:176: recipe for target 'staging_dir/host/.prereq-build' failed
make: *** [staging_dir/host/.prereq-build] Error 1Widzę, że wywala się na:
Checking 'gcc'... failed.
Checking 'working-gcc'... failed.
Checking 'g++'... failed.
Checking 'working-g++'... failed.
Checking 'ncurses'... failed.Ktoś wie jakie konkretnie pakiety trzeba doinstalować? Bo nie chcę instalować 1000 bibliotek by nie zaśmiecić sobie niepotrzebnie systemu ![]()