I managed to get OpenVAS 9 installed on Ubuntu 16.04 LTS from source, but found a few bugs on the way:
OpenVAS Manager.
a) Running ‘make doc’ fails and says i. Error with producer ‘SQL::Translator::Producer::HTML’ : Can’t locate CGI/Pretty.pm in @INC’. I believe CGI/Pretty plugin is deprecated.
b) Work around. Commented out lines in doc/CMakeFiles/doc.dir/build.make, lines 59, 75-76, 103 so it doesn’t install the pretty html files.
c) Requirement not listed in INSTALL: libgd-gd2-perl.
Security Assistant 8.0.3
a) Running ‘make’ on code: IOError: Syntax error in po file (line 430)
src/po/CMakeFiles/gettext-json.dir/build.make:74: recipe for target ‘src/po/gsad-fr.json’ failed|
b) Work around. Comment out lines in src/po/CMakeFiles/gettext-json.dir/build.make, lines 58,73-75, 96.
b) Create an empty src/po/gsad-fr.json file using touch, before running ‘make install’.
GVM tools.
a) Running ‘python3 setup.py install’ fails. No module named ‘setuptools’
b) I am running python 3.5 and have the setuptools module already installed (v20.7.0-1).
I managed to resolve the problem, as different packages need to installed first before you can run the setup.py script:
apt-get install python3-setuptools libffi-dev python3-dev
python3 setup.py install
python3 setup.py install --user