From: Matias Elo <matias....@nokia.com> Update instructions to support RHEL 7.4.
Signed-off-by: Matias Elo <matias....@nokia.com> --- /** Email created from pull request 349 (matiaselo:fix/redhat_build) ** https://github.com/Linaro/odp/pull/349 ** Patch: https://github.com/Linaro/odp/pull/349.patch ** Base sha: 6b5cdc77eb9759a2349b10372a964648559bc92c ** Merge commit sha: b7cb2807d0d8daae786abe4a77c68c1be9db059d **/ DEPENDENCIES | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/DEPENDENCIES b/DEPENDENCIES index 68c7b8be5..0805a1831 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -19,7 +19,7 @@ Prerequisites for building the OpenDataPlane (ODP) API 3. Required libraries - Libraries currently required to link: openssl + Libraries currently required to link: openssl, libatomic 3.1 OpenSSL native compile @@ -163,6 +163,8 @@ Prerequisites for building the OpenDataPlane (ODP) API DPDK pktio adds a depency to NUMA library. # Debian/Ubuntu $ sudo apt-get install libnuma-dev + # CentOS/RedHat/Fedora + $ sudo yum install numactl-devel Note: only packet I/O is accelerated with DPDK. Use https://git.linaro.org/lng/odp-dpdk.git @@ -227,14 +229,16 @@ Prerequisites for building the OpenDataPlane (ODP) API make sudo make install + # On RedHat you also have to add path /usr/local/lib to /etc/ld.so.conf + # ... OR ... Install CUnit into user defined location. The same path is # used in step 4.4: PKG_CONFIG_PATH=/home/<my_cunit_path>/lib/pkgconfig ./configure --prefix=/home/<my_cunit_path> make make install - # Also (in Ubuntu at least) run ldconfig to update shared lib cache or - # reboot, before trying to run e.g. 'make distcheck'. + # Also (in Ubuntu/RedHat 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