LinuxQuestions.org
Help answer threads with 0 replies.
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-05-2014, 01:46 AM   #16
Mayank2933
LQ Newbie
 
Registered: Mar 2014
Posts: 6

Rep: Reputation: Disabled

Quote:
Originally Posted by knudfl View Post
# 14 .

May be no 'ns' was ever created ?

If the file ns-allinone/ns-2.34/ns is present, please do :
$ cd ns-allinone/ns-2.34/ && sudo make install

-
Really my ns was not working, now it is thanks.

Now as per the blog http://arungupta.co.in/blog/?p=113 , i was able to do all steps successfully till make without errors. Next it says to run test_leach. but there is not such file, though there is leach_test, which i ran and checked for errors in leach.err, and there is none. so i went on to execute ./leach.out, from ...ns234-leach/mit/leach_sims/leach.out

but it says

bash: ./leach.out: Permission denied
 
Old 04-05-2014, 03:12 AM   #17
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,634

Rep: Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268
# 16 .
Quote:
bash: ./leach.out: Permission denied
Ref. post #13, the permissions are OK here.
? May you unpacked with a Windows© application ?
? Moved / copied the files to / from a Windows© file system / USB stick ?
... Then you can get wrong permissions.

Permissions can be changed, see "The chmod manual" / $ man chmod :
http://ss64.com/bash/chmod.html
* http://www.onlineconversion.com/html...calculator.htm

The file "leach_test" is a shell script, and is to be executable :
$ chmod +x leach_test
Or : $ chmod 0755 leach_test

-
 
Old 08-01-2014, 08:39 PM   #18
amitthak
LQ Newbie
 
Registered: Dec 2007
Posts: 1

Rep: Reputation: 0
error of make[common/schedular.o]
 
  


Reply

Tags
chmod


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
Error on Ubuntu 12.04 LTS 20deoctubre Linux - Laptop and Netbook 3 05-09-2012 10:49 AM
Need Help in the NS2 error on Ubuntu maneshmotts Ubuntu 0 02-25-2012 01:20 AM
No enough space error when trying upgrade ubuntu from 8.04 lts to 10.04 lts flik shen Ubuntu 5 06-15-2010 12:44 PM
ns2.1b9 install on ubuntu 10.04 LTS mohxinn Linux - Software 1 06-02-2010 03:08 PM
LXer: I update Ubuntu 6.06 LTS and 8.04 LTS ... one has SSH issues, one does not LXer Syndicated Linux News 0 05-20-2008 07:30 AM


All times are GMT -5. The time now is 03:16 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