sudo pkg install os-generic-userland-devtools
先安装必要的开发工具
参考:https://ghostbsd-documentation-portal.readthedocs.io/en/latest/user/FAQ.html#why-can-t-i-compile-code-or-ports-on-ghostbsd