具体错误:

checking for getprevcon in -lselinux... no
configure: error: SELinux selected but libselinux not found

解决办法:

sudo apt install -y libselinux1 libselinux1-dev