2026-12-01T10:17:46 Your Perl installation is not complete enough; at least the following
2026-12-01T10:17:46 modules are missing:
2026-12-01T10:17:46
2026-12-01T10:17:46 English
2026-12-01T10:17:46 ExtUtils::MakeMaker
2026-12-01T10:17:46 Thread::Queue
2026-12-01T10:17:46 FindBin
2026-12-01T10:17:46 IPC::Cmd
2026-12-01T10:17:46
2026-12-01T10:17:46 make: *** [support/dependencies/dependencies.mk:27: dependencies] Error 1
2026-12-01T10:17:46 make: Leaving directory '/home/oct1158/Documents/Code/C/Luckfox_Lyra_SDK_250815/buildroot'
解決辦法:
sudo dnf install perl-English
sudo dnf install perl-ExtUtils-MakeMaker
sudo dnf install perl-Thread-Queue
sudo dnf install perl-FindBin
sudo dnf install perl-IPC-Cmd
Updated 0 paths from the index
[oct1158@oct1158-fedora configs]$ cd ../..
[oct1158@oct1158-fedora Luckfox_Lyra_SDK_250815]$ ./build.sh
make: Entering directory '/home/oct1158/Documents/Code/C/Luckfox_Lyra_SDK_250815/buildroot'
GEN /home/oct1158/Documents/Code/C/Luckfox_Lyra_SDK_250815/buildroot/output/rockchip_rk3506_luckfox/Makefile
Parsing defconfig: /home/oct1158/Documents/Code/C/Luckfox_Lyra_SDK_250815/buildroot/configs/rockchip_rk3506_luckfox_defconfig
: No such file or directorykchip/base/base.config
: No such file or directorykchip/fs/vfat.config
' does not exist. Exit.ockchip/base/base.config
用Notepad++在右下角狀態欄上將buildroot/configs/rockchip_rk3506_luckfox_defconfig的換行符轉為Unix格式 (LF),然後再次用./build.sh命令編譯,問題就解決了。
make: Entering directory '/home/oct1158/Documents/Code/C/Luckfox_Lyra_SDK_250815/buildroot'
GEN /home/oct1158/Documents/Code/C/Luckfox_Lyra_SDK_250815/buildroot/output/rockchip_rk3506_luckfox/Makefile
Parsing defconfig: /home/oct1158/Documents/Code/C/Luckfox_Lyra_SDK_250815/buildroot/configs/rockchip_rk3506_luckfox_defconfig
Using configs/rockchip/base/kernel.config as base
Merging configs/rockchip/fs/e2fs.config
Merging configs/rockchip/base/common.config
Merging configs/rockchip/base/base.config
Merging configs/rockchip/fs/vfat.config
Merging /home/oct1158/Documents/Code/C/Luckfox_Lyra_SDK_250815/buildroot/configs/rockchip_rk3506_luckfox_defconfig
Value of BR2_TARGET_GENERIC_ROOT_PASSWD is redefined by /home/oct1158/Documents/Code/C/Luckfox_Lyra_SDK_250815/buildroot/configs/rockchip_rk3506_luckfox_defconfig:
Previous value: BR2_TARGET_GENERIC_ROOT_PASSWD="rockchip"
New value: BR2_TARGET_GENERIC_ROOT_PASSWD="luckfox"
#
# merged configuration written to /home/oct1158/Documents/Code/C/Luckfox_Lyra_SDK_250815/buildroot/output/rockchip_rk3506_luckfox/.config.in (needs make)
#
#
# configuration written to /home/oct1158/Documents/Code/C/Luckfox_Lyra_SDK_250815/buildroot/output/rockchip_rk3506_luckfox/.config
#
make: Leaving directory '/home/oct1158/Documents/Code/C/Luckfox_Lyra_SDK_250815/buildroot'