diff --git a/README.linux b/README.linux index 6e1e03060889f602b7bdc7bec5b307ca0198b1e1..19bada10ee4c097a54607be28870a794c79aad74 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: