LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing clish on ubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/installing-clish-on-ubuntu-798644/)

junglerat 03-29-2010 08:55 AM

installing clish on ubuntu
 
hi all

i need to install clish:http://clish.sourceforge.net/
on ubuntu, and i can't understand how.

i tried using the terminal and write the following:

me@me-desktop:~$ sudo apt-get install clish
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package clish

and it can't find the package.
i tried downloading it and install it but i just cant find how to do so
can someone please help me ?

thanks
newbie :)

junglerat 03-29-2010 03:41 PM

can anyone help me with clish - i will be really greatfull for some tips
thank you
jungle

grail 03-30-2010 01:28 AM

Quote:

me@me-desktop:~$ sudo apt-get install clish
This only works when clish is part of the install database of known packages.

As per the link you provided, download the file - clish-0.7.3.tar.gz
Once extracted, follow the INSTALL or README instructions on installation.

Assuming this has to be compiled, you may also have to install the C compiler (gcc).
This can be done via Synaptic Manager. Remember to install the dev (gcc-dev, i think) as well

evo2 03-30-2010 01:37 AM

Code:

wget http://prdownloads.sourceforge.net/clish/clish-0.7.3.tar.gz
tar xzf clish-0.7.3.tar.gz
cd clish-0.7.3
./configure
make
sudo make install

If there are errors from the "./configure" step then you are missing some dependencies. If this is the case, do not follow the remaining steps. You will first need to install the dependences (they should be available with apt-get). If you can't work out how to do this, please post the exact error messages from "./configure" here on the forum.

The "sudo" in the last step is needed if your user does not have write permission to /usr/local

Cheers,

Evo2.

junglerat 03-30-2010 03:28 PM

Quote:

Originally Posted by evo2 (Post 3917583)
Code:

wget http://prdownloads.sourceforge.net/clish/clish-0.7.3.tar.gz
tar xzf clish-0.7.3.tar.gz
cd clish-0.7.3
./configure
make
sudo make install

If there are errors from the "./configure" step then you are missing some dependencies. If this is the case, do not follow the remaining steps. You will first need to install the dependences (they should be available with apt-get). If you can't work out how to do this, please post the exact error messages from "./configure" here on the forum.

The "sudo" in the last step is needed if your user does not have write permission to /usr/local

Cheers,

Evo2.

thanks allot evo2 , i think it worked (no errors).
now that i have it installed i need to study clish, but i can't find any tutorials about it on the web.nothing about it but a 1 page document. do you have any tutorials?. any tips will be great as well.
thanks X2
jungle

tredegar 03-30-2010 04:18 PM

Quote:

i need to study clish, but i can't find any tutorials about it on the web.
I just did a search.

167 pages found. It seems to be redundant and obsolete. The last update to the source was in 2008.

So, why did you want to install clish, if you don't know what it is, what it does, or how to use it?

junglerat 04-02-2010 05:00 AM

Quote:

Originally Posted by tredegar (Post 3918366)
I just did a search.

167 pages found. It seems to be redundant and obsolete. The last update to the source was in 2008.

So, why did you want to install clish, if you don't know what it is, what it does, or how to use it?


i need to install clish in order to implement it to our API
- the idea is to take our API and to generate prints and premmisions according to user groups - this is what clish does - if i ever manage to understand what i need to do next in order for it to work.

junglerat 04-04-2010 03:00 AM

hi all - i have read the clish documentation over again and it says i need to set the enviorment param CLISH_PATH to the current folder and then to run clish. i am not sure how to do this.

for the path settting i have tried : set CLISH_PATH /home/me/clish-0.7.3/xml-examples
(is this the same as setenv? from where should i run this?)

and when i try to run the clish.cpp : ./clish

i get the following:
me@me-desktop:~/clish-0.7.3/bin$ ./clish
*** Failed to open '/etc/clish' directory
*** Failed to open '/home/me/.clish' directory
lt-clish: clish/shell/shell_startup.c:14: clish_shell_startup: Assertion `this->startup' failed.
Aborted

does anyone have any idea what i should do ?
thanks allot
jungle

grail 04-04-2010 05:35 AM

try:

Code:

export CLISH_PATH=/home/me/clish-0.7.3/xml-examples

junglerat 04-05-2010 05:11 PM

THANK YOU VERY MUCH !!!

this is so great it actually worked :)
problem solved!

again thanks all
jungle.

grail 04-05-2010 08:27 PM

Glad it is up and running, don't forget to mark as SOLVED.

nima0102 08-22-2010 02:14 AM

Hi
I have same issue, after reading this topic, the problem is solved :):)
Thanks a lot to all you.
Is there any cli such clish??
In addition to, one person started Klish, that is fork of clish with some bug fix and new features.

Thanks again.


All times are GMT -5. The time now is 01:07 PM.