如果您在安装 OSPD (OpenVAS) 时遇到以下错误消息:
running build_ext
building 'ospd._bsd' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/ospd
creating build/temp.linux-x86_64-2.7/ospd/bsd
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -D__OSPD_BUILT__ -I/usr/include/python2.7 -c ospd/bsd/ospd_common.c -o build/temp.linux-x86_64-2.7/ospd/bsd/ospd_common.o
error: invalid command 'x86_64-linux-gnu-gcc'
则说明您需要安装 gcc。运行以下命令以安装 gcc:
sudo apt-get install build-essential
安装完毕后,再次尝试安装 OSPD (OpenVAS) 即可。