aboutsummaryrefslogtreecommitdiff
path: root/DEPENDENCIES
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@linaro.org>2017-02-21 14:51:34 +0200
committerMaxim Uvarov <maxim.uvarov@linaro.org>2017-03-02 15:47:03 +0300
commit2bac2dbfd7a7c55e588a6b72af22ae7b810558f7 (patch)
tree343e2029e5ea7ffc9834ee203fcaa8e2dbffdec9 /DEPENDENCIES
parente93df7d7b3b278dfadba4a9b7c01afc0dd411f13 (diff)
linux-gen: dependencies: update cunit install instructions
Add missing commands and update instructions for installing into default location for 'make distcheck'. Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'DEPENDENCIES')
-rw-r--r--DEPENDENCIES23
1 files changed, 20 insertions, 3 deletions
diff --git a/DEPENDENCIES b/DEPENDENCIES
index 574859ce5..6b69bd97b 100644
--- a/DEPENDENCIES
+++ b/DEPENDENCIES
@@ -215,8 +215,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 +241,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