LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-27-2017, 01:07 AM   #1
Jananijana
LQ Newbie
 
Registered: Feb 2017
Posts: 2

Rep: Reputation: Disabled
installation error in ns2.35


Installing libtcl8.5.a to /home/janani/Documents/ns-allinone-2.35/lib/
cp: cannot create regular file ‘/home/janani/Documents/ns-allinone-2.35/lib/#inst.17874#’: Permission denied
rm: cannot remove ‘/home/janani/Documents/ns-allinone-2.35/lib/libtcl8.5.a’: Permission denied
mv: cannot stat ‘/home/janani/Documents/ns-allinone-2.35/lib/#inst.17874#’: No such file or directory
ranlib: could not create temporary file whilst writing archive: No more archived files
make: *** [install-binaries] Error 1
tcl8.5.10 installation failed.

How to solve these problems in Ns2.35?
 
Old 02-27-2017, 06:41 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Hello and welcome to LQ.

You should describe the Linux system which you have as well as more information about how you proceeded to perform this install. Just posting the single error you've encountered doesn't give enough information.

A further suggestion is to search the web for common reports matching some of those strings, such as "inst.17874 permission denied"

Did you use the sudo command to perform this install? Were you logged in as root?
 
1 members found this post helpful.
Old 02-28-2017, 12:47 PM   #3
Jananijana
LQ Newbie
 
Registered: Feb 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
error in leach mit patch file

Thanks sir for last installation.
./install step is done successfully.
./bashrc is empty. How to open bashrc file in ns2.35?
After that ./leach_test is also done successfully. Main problem on leach protocol is mit/leach_sims/leach.out file is blank and I saw the file leach.err is
INITIALIZE THE LIST xListHead
couldn't read file "/home/pradeepkumar/ns-allinone-2.35/ns-2.35/mit/uAMPS/sims/nodescen": no such file or directory
while executing
"source.orig /home/pradeepkumar/ns-allinone-2.35/ns-2.35/mit/uAMPS/sims/nodescen"
("uplevel" body line 1)
invoked from within
"uplevel source.orig[list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig[list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source $opt(sc)"
invoked from within
"if { $opt(sc) == "" } {
puts "*** NOTE: no scenario file specified."
set opt(sc) "none"
} else {
puts "Loading scenario file..."
source $op..."
(file "tcl/ex/wireless.tcl" line 294)

how to solve this error in ns2.35 of ubuntu 14.04?
 
Old 02-28-2017, 01:08 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Jananijana View Post
Thanks sir for last installation.
./install step is done successfully.
./bashrc is empty. How to open bashrc file in ns2.35?
After that ./leach_test is also done successfully. Main problem on leach protocol is mit/leach_sims/leach.out file is blank and I saw the file leach.err is
Code:
INITIALIZE THE LIST xListHead
couldn't read file "/home/pradeepkumar/ns-allinone-2.35/ns-2.35/mit/uAMPS/sims/nodescen": no such file or directory
    while executing
"source.orig /home/pradeepkumar/ns-allinone-2.35/ns-2.35/mit/uAMPS/sims/nodescen"
    ("uplevel" body line 1)
    invoked from within
"uplevel source.orig[list $fileName]"
    invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig[list $fileName]
..."
    (procedure "source" line 8)
    invoked from within
"source $opt(sc)"
    invoked from within
"if { $opt(sc) == "" } {
	puts "*** NOTE: no scenario file specified."
        set opt(sc) "none"
} else {
	puts "Loading scenario file..."
	source $op..."
    (file "tcl/ex/wireless.tcl" line 294)
how to solve this error in ns2.35 of ubuntu 14.04?
I bolded a line in what you posted; please use CODE tags when posting things like this to make it easier to read.

Did you see that line in the .err file??? It clearly tells you what file it's looking for, and where. The obvious things to check would be:
  • Is the file there?
  • Is the name correct?
  • Do you have permissions to read that directory/file??
 
1 members found this post helpful.
Old 02-28-2017, 01:09 PM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Once again, hello and welcome to LQ.

You should provide more information about how you proceeded to perform this install or simulation. Just posting the error log you've encountered doesn't give enough information. To be more clear you should also use [code][/code] tags to enclose what is code versus your own comments.

A further suggestion is to search the web for common reports matching some of those strings.

EDIT: TB0ne also has some excellent suggestions which you should follow-up with.

Last edited by rtmistler; 02-28-2017 at 01:12 PM.
 
Old 03-22-2017, 02:15 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #4.
Quote:
/home/pradeepkumar/ns-allinone-2.35/ns-2.35/mit/uAMPS/sims/nodescen : no such file or directory
You probably have the file mit/uAMPS/sims/nodescen.tcl .
Solution : Make a copy of nodescen.tcl to nodescen
 
  


Reply

Tags
leach ns235, ns2



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
installation error for ns2.35 in fedora 12 Raghavendra Patil Linux - Software 4 02-07-2014 11:32 AM
Error in ns2.28 installation Ajina Khader Linux - Wireless Networking 1 11-01-2013 04:16 AM
ns2.31 installation in fedora14 error sama_safa Linux - Newbie 4 04-18-2012 11:38 AM
NS2.34 Installation error in Fedora 15 reene.g Linux - Newbie 5 10-04-2011 08:05 AM
NS2 Installation Error ajkannan83 Linux - General 2 01-01-2010 03:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:15 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
Open Source Consulting | Domain Registration