From b6dcd8b603c7f02635336e072eb083f8ba9141ea Mon Sep 17 00:00:00 2001
From: balaskoa <Jeno.Balasko@ericsson.com>
Date: Wed, 7 Oct 2020 14:47:29 +0200
Subject: [PATCH] OLD_LIBEDIT info in the README.linux

Signed-off-by: balaskoa <Jeno.Balasko@ericsson.com>
Change-Id: I0ed96e52fbeef30f1475f2df733cd84e50669c17
---
 README.linux | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/README.linux b/README.linux
index 6e1e03060..19bada10e 100644
--- a/README.linux
+++ b/README.linux
@@ -16,12 +16,13 @@ cd******************************************************************************
 Build and install Titan on Linux
 
 1.Install required libraries: 
-(examples are given for Ubuntu 12.04/14.04; for other Linuxes, pls. use the relevant library installation method)
+(Examples are given for Ubuntu 12.04/14.04/16.04/18.04; for other Linuxes, pls. use the relevant library installation method)
+UBUNTU :
 sudo apt-get update -y
 sudo apt-get install g++ expect libssl-dev libxml2-dev libncurses5-dev flex bison libedit2 libedit-dev
-SLES 11 : sudo zypper in libopenssl-devel  g++ libedit0 libedit-devel
-SLED 14.0: sudo zypper in libopenssl-devel,  g++, flex, bison already installed)
- (RHEL: g++, flex, bison already installed)
+SLES 11: sudo zypper in libopenssl-devel  g++ libedit0 libedit-devel
+SLED 14.0: sudo zypper in libopenssl-devel libedit0 libedit-devel,  g++, flex, bison already installed
+RHEL8: sudo yum libedit; g++, flex, bison already installed
 
 xutils-dev is needed by makedepend:
 sudo apt-get install xutils-dev
@@ -102,6 +103,8 @@ OPENSSL_DIR := /usr
 XMLDIR := /usr
 JNI := no
 GEN_PDF := no
+OLD_LIBEDIT = yes # if the first line of /usr/include/editline/readline.h (or /usr/include/readline/readline.h) 
+                  # contains v1.34 or older i.e version of editline is 2.0.53 or older.
 
 b) JNI  disabled, clang compiler ver. 3.8
 
@@ -116,7 +119,8 @@ JNI := no
 GEN_PDF := no
 CXX := clang++-3.8
 CC := clang-3.8 
-
+OLD_LIBEDIT = yes # if the first line of /usr/include/editline/readline.h (or /usr/include/readline/readline.h) 
+                  # contains v1.34 or older i.e version of editline is 2.0.53 or older.
 
 c) JNI  enabled, gcc compiler (default)
 
@@ -132,6 +136,8 @@ XMLDIR := /usr
 JNI := yes
 GEN_PDF := no
 COMPILERFLAGS += -Wall -Wlogical-op -I/home/<user id>/jdk/include -I/usr/include
+OLD_LIBEDIT = yes # if the first line of /usr/include/editline/readline.h (or /usr/include/readline/readline.h) 
+                  # contains v1.34 or older i.e version of editline is 2.0.53 or older.
 
 d) For Alpine Linux, an appropriate flag has to be set:
 
-- 
GitLab