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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-27-2017, 01:07 AM
|
#1
|
LQ Newbie
Registered: Feb 2017
Posts: 2
Rep: 
|
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?
|
|
|
02-27-2017, 06:41 AM
|
#2
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,940
|
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.
|
02-28-2017, 12:47 PM
|
#3
|
LQ Newbie
Registered: Feb 2017
Posts: 2
Original Poster
Rep: 
|
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?
|
|
|
02-28-2017, 01:08 PM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,605
|
Quote:
Originally Posted by Jananijana
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.
|
02-28-2017, 01:09 PM
|
#5
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,940
|
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.
|
|
|
03-22-2017, 02:15 PM
|
#6
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
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
|
|
|
All times are GMT -5. The time now is 12:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|