aboutsummaryrefslogtreecommitdiff
path: root/DEPENDENCIES
diff options
context:
space:
mode:
Diffstat (limited to 'DEPENDENCIES')
-rw-r--r--DEPENDENCIES30
1 files changed, 24 insertions, 6 deletions
diff --git a/DEPENDENCIES b/DEPENDENCIES
index 574859ce5..7bcbd5ebc 100644
--- a/DEPENDENCIES
+++ b/DEPENDENCIES
@@ -8,13 +8,14 @@ Prerequisites for building the OpenDataPlane (ODP) API
automake
autoconf
+ autoconf-archive
libtool
On Debian/Ubuntu systems:
- $ sudo apt-get install automake autoconf libtool
+ $ sudo apt-get install automake autoconf autoconf-archive libtool
On CentOS/RedHat/Fedora systems:
- $ sudo yum install automake autoconf libtool
+ $ sudo yum install automake autoconf autoconf-archive libtool
3. Required libraries
@@ -165,7 +166,7 @@ Prerequisites for building the OpenDataPlane (ODP) API
3.4.1 Building DPDK and ODP with DPDK pktio support
- DPDK packet I/O has been tested to work with DPDK v16.07.
+ DPDK packet I/O has been tested to work with DPDK v17.02.
Follow steps in ./scripts/build-pktio-dpdk
@@ -215,8 +216,22 @@ Prerequisites for building the OpenDataPlane (ODP) API
tar -jxf *.bz2
cd CUnit*
./bootstrap
+
+ # Install CUnit into the default location (/usr/local). This is needed for
+ # 'make distcheck'.
+ ./configure
+ make
+ sudo make install
+
+ # ... OR ... Install CUnit into user defined location. The same path is
+ # used in step 4.4 --with-cunit-path=/home/<my_cunit_path>
+ ./configure --prefix=/home/<my_cunit_path>
+ make
make install
- #In Step 4.4 use --with-cunit-path=/home/${USER}/CUnitHome
+
+ # Also (in Ubuntu at least) run ldconfig to update shared lib cache or
+ # reboot, before trying to run e.g. 'make distcheck'.
+ sudo ldconfig
4.3 Cross compile of Cunit
@@ -227,8 +242,11 @@ Prerequisites for building the OpenDataPlane (ODP) API
4.4 Using Cunit with ODP
$ Add the configuration option to the regular configuration options
- ./configure --enable-cunit #if cunit is in the PATH
- ./configure --with-cunit-path=DIR #only if you need a path to Cunit libs and headers
+ # Use the default path ...
+ ./configure --enable-cunit
+
+ # ... OR the user defined path.
+ ./configure --with-cunit-path=/home/<my_cunit_path>
5.0 Documentation Images & Doxygen