LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-03-2013, 02:54 PM   #1
chenil
LQ Newbie
 
Registered: Apr 2013
Posts: 21

Rep: Reputation: Disabled
problem after make install


after make install
error : for d in /usr/local/man/man1; do \

if [ ! -d $d ]; then \

mkdir -p $d ;\

fi;\

done

/usr/bin/install -c -m 755 ns /usr/local/bin

/usr/bin/install: cannot remove `/usr/local/bin/ns': Permission denied

make: *** [install-ns] Error 1
 
Old 04-03-2013, 03:07 PM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
You need to run make install as root or use sudo.
jdk
 
Old 04-03-2013, 05:36 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
"autoconf.sh"
"autoreconf -iv"
"./configure --options --options ... and so on "
"make"

are all ran as a normal user

"make install" is ran as root
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] make install problem LaQuirreLL Linux - Software 5 11-03-2009 10:49 PM
make install problem faris10 Debian 1 11-22-2006 11:04 AM
make install problem LaX Linux - General 6 02-02-2006 01:26 PM
make install problem xpcandrew Linux - Newbie 12 01-31-2005 03:16 PM
Problem with Configure, Make, Make Install n8tgc Linux - Newbie 2 07-13-2004 04:16 PM


All times are GMT -5. The time now is 11:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration