forked from greenbone/openvas-smb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
51 lines (34 loc) · 1.46 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
INSTALLATION INSTRUCTIONS FOR OPENVAS-SMB
=========================================
Please note: The reference system used by most of the developers is Debian
GNU/Linux 'Jessie' 8. The build might fail on any other system. Also it is
necessary to install dependent development packages.
Prerequisites for openvas-smb
-----------------------------
* gcc-mingw32 | gcc-mingw-w64
* libgnutls-dev >= 3.2.15
* perl-base
* heimdal-dev | heimdal-multidev >= 1.6.0
* libpopt-dev
* libglib2.0-dev
Install prerequisites on Debian GNU/Linux 'Jessie' 8:
# apt-get install gcc cmake pkg-config gcc-mingw32 | gcc-mingw-w64 \
libgnutls28-dev perl-base heimdal-dev | heimdal-multidev libpopt-dev libglib2.0-dev
Compiling openvas-smb
---------------------
Create a build directory and change into it with
$ mkdir build
$ cd build
Configure the build with
$ cmake -DCMAKE_INSTALL_PREFIX=/path/to/your/installation ..
or (if you want to use the default installation path /usr/local)
$ cmake ..
This only needs to be done once.
Thereafter, the following commands are useful.
$ make # build the binaries
$ make install # install the build
$ make rebuild_cache # rebuild the cmake cache
Please note that you may have to execute "make install" as root, especially if
you have specified a prefix for which your user does not have full permissions.
To clean up the build environment, simply remove the contents of the "build"
directory you created above.