Skip to content

DEM_Installation_Build

Cayton edited this page Apr 9, 2019 · 24 revisions

Build and Install

Repository

$ git clone https://github.com/linux-nvme/nvme-dem.git 

Pulled as part of make (if not copied to mongoose/.git and jansson/.git)

https://github.com/cesanta/mongoose.git
https://github.com/akheron/jansson.git

If target system is behind a ‘head’ node and does not have access to the internet:
    1. clone on a system with internet access
    2. On the system with internet access build without installing
    3. Tar build directory
    4. copy resulting tar file to remote system

Libraries Required for a RedHat distribution installation.

Similar libraries may be required for other distributions.

	libcurl-devel
	librdmacm-devel
	libpthread-devel
	libuuid-devel
	libibverbs-devel

Build and install

$ ./autoconf.sh

$ ./configure

    For a list of configuration options use "./configure --help". <br>
    Specific options to dem are:
	--enable-debug                  Turn on debugging
	--enable-nvmeof-tracing         Turn on tracing nvme-of commands
	--enable-extra-security-cflags  Turn on extra_security_cflags

    Optional Packages:
	--with-spdk             enable endpoint manager to support spdk target
	--with-configfs         enable endpoint manager to support in-kernel target

$ make

As root, run the following
# make install

Man pages for dem-ac, dem-em, dem-dm, and dem are available after installation