updated install instructions from cmake
This commit is contained in:
parent
d8a592a401
commit
002379f092
14
INSTALL
14
INSTALL
@ -10,16 +10,16 @@ ZMap requires GMP, a free library for arbitrary precision arithmetic,
|
||||
gengetopt, and libpcap. These packages can be installed on
|
||||
Debian-based systems by running:
|
||||
|
||||
sudo apt-get install libgmp3-dev gengetopt libpcap-dev
|
||||
sudo apt-get install libgmp3-dev gengetopt libpcap-dev bison
|
||||
|
||||
or on RHEL- and Fedora-based systems by running:
|
||||
|
||||
sudo yum install gmp gmp-devel gengetopt libpcap-devel
|
||||
sudo yum install gmp gmp-devel gengetopt libpcap-devel bison
|
||||
|
||||
Once these prerequisites have been installed, ZMap can be installed
|
||||
by running:
|
||||
|
||||
cmake ./
|
||||
cmake ./ [-DWITH_REDIS=ON] [-DWITH_JSON=ON] [-DENABLE_DEVELOPMENT=ON] [-DENABLE_HARDENING=ON]
|
||||
make
|
||||
sudo make install
|
||||
|
||||
@ -28,12 +28,12 @@ followed by:
|
||||
sudo make install
|
||||
|
||||
Redis support is not enabled by default. If you are want to use ZMap
|
||||
with Redis, you will first need to install Hiredis. Then, rebuild
|
||||
ZMap with the command "make REDIS=true".
|
||||
with Redis, you will first need to install Hiredis. Then run cmake with
|
||||
"-DWITH_REDIS=ON".
|
||||
|
||||
JSON support is not enabled by default. If you are want to use ZMap
|
||||
with JSON output, you will first need to install json-c. Then, rebuild
|
||||
ZMap with the command "make JSON=true".
|
||||
with JSON output, you will first need to install json-c. Then, run cmake with
|
||||
"-DWITH_JSON=ON"
|
||||
|
||||
Installing json-c requires git and autotools to be available. For more
|
||||
information on how to install json-c, please see http://github.com/json-c/json-c
|
||||
|
Loading…
Reference in New Issue
Block a user