最近在f1c200s上调整busybox工具,添加了grep指令,使用buildroot的配置使能grep,但是在编译后buildroot报告pcre_compile异常。
敢问路过的仁人志士,类似的情况有遇到过吗?
现在尝试的方法是,在ubuntu上安装了pcre和pcre2环境,无效。
也尝试过在busybox工具配置里也同时使能pcre,无效。
checking for a traditional french locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for a traditional japanese locale... (cached) none
checking for a transitional chinese locale... (cached) none
checking for stdint.h... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether closedir returns void... yes
checking whether NLS is requested... no
checking for msgfmt... /home/book/work/f1c200s/new_edition_20240225/buildroot-tiny200/output/host/bin/msgfmt
checking for gmsgfmt... /home/book/work/f1c200s/new_edition_20240225/buildroot-tiny200/output/host/bin/msgfmt
checking for xgettext... /home/book/work/f1c200s/new_edition_20240225/buildroot-tiny200/output/host/bin/xgettext
checking for msgmerge... /home/book/work/f1c200s/new_edition_20240225/buildroot-tiny200/output/host/bin/msgmerge
checking for CFPreferencesCopyAppValue... (cached) no
checking for CFLocaleCopyCurrent... (cached) no
checking for CFLocaleCopyPreferredLanguages... (cached) no
checking whether to use NLS... no
checking for PCRE... yes
checking for pcre_compile... no
configure: error: pcre support not available
package/pkg-generic.mk:254: recipe for target '/home/book/work/f1c200s/new_edition_20240225/buildroot-tiny200/output/build/grep-3.3/.stamp_configured' failed
make[1]: *** [/home/book/work/f1c200s/new_edition_20240225/buildroot-tiny200/output/build/grep-3.3/.stamp_configured] Error 1
Makefile:84: recipe for target '_all' failed
make: *** [_all] Error 2
最近编辑记录 willX (2025-05-10 18:30:44)
离线