Leaving directory Error


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Leaving directory Error
# 1  
Old 10-05-2015
Leaving directory Error

Hi, i have a question, when I install any software it give error message like as follow :

Code:
 sudo make
[sudo] password for csm: 
make  all-recursive
make[1]: Entering directory `/home/csm/Desktop/miRanda-3.3a'
Making all in man
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/man'
Making all in RNAlib
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
Making all in H
make[3]: Entering directory `/home/csm/Desktop/miRanda-3.3a/RNAlib/H'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/RNAlib/H'
make[3]: Entering directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
Making all in src
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/src'
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a'
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a'
make[1]: Leaving directory `/home/csm/Desktop/miRanda-3.3a'
csm@csm-HP-Z420:~/Desktop/miRanda-3.3a$ make install
Making install in man
make[1]: Entering directory `/home/csm/Desktop/miRanda-3.3a/man'
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a/man'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/man/man1" || mkdir -p -- "/usr/local/share/man/man1"
 /usr/bin/install -c -m 644 './miranda.1' '/usr/local/share/man/man1/miranda.1'
/usr/bin/install: cannot remove ‘/usr/local/share/man/man1/miranda.1': Permission denied
make[2]: *** [install-man1] Error 1
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/man'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/man'
make: *** [install-recursive] Error 1
csm@csm-HP-Z420:~/Desktop/miRanda-3.3a$

how can i solve this problem?
# 2  
Old 10-05-2015
I think, you should execute sudo make install, not just make install.
# 3  
Old 10-05-2015
I have tried this also.... problem remains same...
# 4  
Old 10-05-2015
OK, please post the output of
Code:
ls -ld /usr/local/share/man/man1
ls -l /usr/local/share/man/man1/miranda.1

# 5  
Old 10-05-2015
Code:
csm@csm-HP-Z420:~/Desktop/miRanda-3.3a$ ls -ld /usr/local/share/man/man1
drwxr-xr-x 2 root root 4096 Oct  1 12:14 /usr/local/share/man/man1
csm@csm-HP-Z420:~/Desktop/miRanda-3.3a$ ls -l /usr/local/share/man/man1/miranda.1
-rw-r--r-- 1 root root 6268 Oct  1 12:14 /usr/local/share/man/man1/miranda.1


Last edited by Don Cragun; 10-07-2015 at 04:14 AM.. Reason: Add CODE tags again!
# 6  
Old 10-05-2015
Usualy it is:
Code:
./configure --prefix=/usr
make
sudo make install

Just so all 3 commands are there for completness.

Likewise for deinstall, just change the last command to:
Code:
sudo make uninstall

Hope this helps
# 7  
Old 10-05-2015
Hmm, looks good. Is this on a NFS mounted filesystem?
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Leaving space inside sed

Hi Gurus, I have 2 files File1 : veg apple ap pl le end veg orange or an ge end File2: (2 Replies)
Discussion started by: jayadanabalan
2 Replies

2. Web Development

Directory index forbidden by Options directive error on specific directory with indexing disabled

I am seeing the following error appear numerous times in my Apache error log: I have my Apache config configured as below, so I would expect indexing not to occur on this directory as it falls under the parent /web directory. Strangely all the IP address, including this example, all... (5 Replies)
Discussion started by: crmpicco
5 Replies

3. Red Hat

How to compare file leaving certain filelds?

How to compare two files leaving certain fields, using diff command the entire file is being compared. Can any one please help. (5 Replies)
Discussion started by: ramsavi
5 Replies

4. Shell Programming and Scripting

Leaving last 30 lines

If we want to display lines from file leaving last 30 lines. i dont know the count of lines in file (14 Replies)
Discussion started by: mirwasim
14 Replies

5. Shell Programming and Scripting

Leaving for loop on condition

hi all, i have a problem...no dream :-) i want to scan a file i use the loop famous while read line do do < myfile but this scan must finish when find the another string . How can i do it? best regards for all. Francesco Please use descriptive subjects. "script." doesn't tell... (5 Replies)
Discussion started by: FrancescoIt
5 Replies

6. UNIX for Dummies Questions & Answers

Delete all rows but leaving first and last ones

Hello, Merry Christmas to all! I wish you the best for these holidays and the best for the next year 2011. I'd like your help please, I need to delete all the rows in the third column of my file, but without touching nor changing the first and last value position, this is an example of my... (2 Replies)
Discussion started by: Gery
2 Replies

7. Solaris

leaving ALOM mode

Some netra 240 machines went into ALOM mode, and when I issue the command; sc> console it got stuck, does it mean Solaris OS had crashed ? or what can I do to reboot,because reboot is not starting? And advice ? (3 Replies)
Discussion started by: xramm
3 Replies

8. UNIX for Dummies Questions & Answers

Searching a file withoug leaving home directory!!

hello there ! I am in my current working directory, and i want search a file in "dev" directory which is under root(/), but i donot want leave my current working directory. is it possible to find file like that ? let us say i am in /home/bin/user/malik/abid directory and i want find a file... (2 Replies)
Discussion started by: abidmalik
2 Replies
Login or Register to Ask a Question