OpenWrt编译报错——configure: error: you should not run configure as root

发布时间 2023-11-30 17:34:28作者: 付时凡

OpenWrt编译报错——configure: error: you should not run configure as root

具体日志如下:

checking whether mknod can create fifo without root privileges... configure: error: in `/home/docker/openwrt/build_dir/host/tar-1.34':
configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)
See `config.log' for more details

解决方案:

export FORCE_UNSAFE_CONFIGURE=1