2018-01-17

Build CLISH (Command Line Interface Shell)

1. Download the source tarball from http://clish.sourceforge.net/#downloads

2. unzip and untar the source codes into your desired place.

3. generate the Makefile, run ./configure in e.g. clish-0.7.3

4. make, run make in e.g. clish-0.7.3

5. install, run make install in  e.g. clish-0.7.3, , files are installed in /usr/local/lib, /usr/local/bin and /usr/local/include respectively.

6. test run: run clish, which is an executable installed in /usr/local/bin. In case of the following erors:

*** Failed to open ‘/etc/clish’ directory
*** Failed to open ‘/root/.clish’ directory
clish: clish/shell/shell_startup.c:14: clish_shell_startup: Assertion `this->startup’ failed.
Aborted (core dumped)

you need to set the CLISH_PATH as follows

export CLISH_PATH=/home/user-name/workplace/conning/clish-0.7.3/xml-examples

A successful test run will show something like below