LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   can not install shc for encrypting shell scripts (https://www.linuxquestions.org/questions/linux-software-2/can-not-install-shc-for-encrypting-shell-scripts-867651/)

morad_dba 03-10-2011 03:41 AM

can not install shc for encrypting shell scripts
 
Dear all,

I downloaded shc-3.8.7.tgz and tried to install it.

but i am getting error that is

make: *** [install] Error 1

I am giving the steps i followed to install shc

1. tar -xzvf shc-3.8.7.tgz

2. cd cd shc-3.8.7

3. make

4. make install

i got the following error.

*** Installing shc and shc.1 on /usr/local
*** żDo you want to continue?
make: *** [install] Error 1

Please help me..

Thanks in advance...

quanta 03-10-2011 03:45 AM

Press 'y' instead of enter when it prompt "Do you want to continue?".

corp769 03-10-2011 03:46 AM

Can you post the full output in code tags? Thanks,

Josh

morad_dba 03-10-2011 03:51 AM

Dear Quanta,

when i press y then i got the following errors...

[oracle@MIS shc-3.8.7]$ make install
*** Installing shc and shc.1 on /usr/local
*** żDo you want to continue? y
install -c -s shc /usr/local/bin/
install: cannot create regular file `/usr/local/bin/shc': Permission denied
make: *** [install] Error 1


please help

knudfl 03-10-2011 03:54 AM

Quote:

*** żDo you want to continue?
This message appears only, when you try to install as unprivileged user.

Ubuntu : sudo make install

Other Linux : 1) su ; <enter-password> ; 2) make install

http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html

..

corp769 03-10-2011 03:55 AM

You need to install as root:
Code:

su -c 'make install'
You need to enter your root password. Cheers,

Josh

morad_dba 03-10-2011 04:06 AM

Dear all,

when i typed su -c 'make install' i got the error

*** Installing shc and shc.1 on /usr/local
*** żDo you want to continue? y
install -c -s shc /usr/local/bin/
install -c -m 644 shc.1 /usr/local/man/man1/
install: target `/usr/local/man/man1/' is not a directory: No such file or directory
make: *** [install] Error 1

please help me...

corp769 03-10-2011 04:07 AM

Perform the following:
Code:

mkdir -p /usr/local/man/man1

morad_dba 03-10-2011 05:12 AM

Dear all,

Thank you very much The problem is solved. by crating directory

mkdir -p /usr/local/man/man1


Thanks again.

corp769 03-10-2011 10:43 AM

Glad to hear it is solved! Please mark your thread as solved, thanks!

Josh


All times are GMT -5. The time now is 07:23 AM.