FedoraThis forum is for the discussion of the Fedora Project.
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.
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.
hello,
i want clear installation and path setting steps for installing ns2.33 in linux fedora 12.please any one of linux experts help me.thankyou.
vahitha
Path : Either try with the path settings suggested, when
you have finished ' ./install ' for ns-allinone-2.33,
Or : install some very few files to a system path :
cd ns-allinone-2.33/otcl-1.13/ &&
./configure --prefix=/usr --enable-release --enable-devel
&& make , # make install
cd ../tclcl-1.19/ &&
./configure --prefix=/usr --enable-release --enable-devel
&& make , # make install
cd ../ns-2.34/
# make install
cd ../nam-1.14/
# make install
..
source ~/.bashrc
cd ns-2.33
./validate
now i cleared ns in installation.when i type ns whereever in commandpropt i can get %. but i m struggling with nam.when i type nam i got instruction like following.
[code omitted because of length]
: no event type or button # or keysym
while executing
“bind Listbox {
%W yview scroll [expr {- (%D / 120) * 4}] units
}”
invoked from within
“if {[tk windowingsystem] eq “classic” || [tk windowingsystem] eq “aqua”} {
bind Listbox {
%W yview scroll [expr {- (%D)}] units
}
bind Li…”
what steps should be follow to rectify this inconvinent.
please help sir
vahitha
sir,
thankyou sir
i patch the tk-8.4-lastevent.patch file from /ns-allinone/tk8.4.18/
nam is also worked well.
now i executed one tcl program.i can view the result in nam sucessfully.
then,when i execute it with ns program_name.tcl from command prompt the part of my program is executed and i can see the calculated through put and delay etc...in terminal window.
i couldn't get it in graph.
error :ns: proc_name: couldn't execute "xgraph": no such file or directory
what are the steps should be followed and what are the possibilities to get these?
i check well in path setting for xgraph also.
please help me to execute my program successfully.
sir,
thankyou.
i followed your suggestions to install xgraph.
it is installed sucessfully.
when i execute builtin xgraph from /xgraph-12.1/example/
it is executed sucessfully.
but when i execute my program,i received "problem in input" message.
in which part i should concentrate?
part of my program
# Plot Recorded Statistics
exec xgraph n5-pkt_rec.tr n12-pkt_rec.tr n11-pkt_rec.tr n14-pkt_rec.tr n0-pkt_rec.tr -geometry 800x400 -t "NO OF PACKET RECIVED AT SINK" -x "Time" -y "Receive packets" &
http://spectral.mscs.mu.edu/Net2008I...TML/node2.html
QUOTE : "awk filters the trace file out.tr using filter fil2.awk and
directs the output to out2.xgr (to be displayed with xgraph later on).
Same with fil4.awk and fil6.awk."
..
sir,
thankyou sir.
i need to know how to uninstall ns2.33 from fedora 12. i cannot delete ns-allinone-2.33 folder from root directory.
if i delete the message displays as "permission denied"
please tell me how to delete ns2 permanantly.
thankyou,
vahitha
Your solution was fantastic and my nam worked perfectly well with your patch file. But after a few runs it failed to work again. It gave some weird message like.....
________________________________________________
nam:
[code omitted because of length]
: no event type or button # or keysym
while executing
"bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D / 120) * 4}] units
}"
invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D)}] units
}
bind Li..."
___________________________________________________
Untar the package to /usr/local/bin/ : And it is in a system path.
Or 'tar xvf nam-1.14.i586.tar.gz' anywhere and : sudo cp nam /usr/local/bin/
> > Tested on Ubuntu 9.10 → → Works perfect.
debasish@debasish-laptop:~/Downloads/nam$ tar xvf nam-1.14.i586.tar.gz
nam-1.14.i586/
nam-1.14.i586/nam
debasish@debasish-laptop:~/Downloads/nam$ sudo cp nam /usr/local/bin/
[sudo] password for debasish:
cp: cannot stat `nam': No such file or directory
debasish@debasish-laptop:~/Downloads/nam$ sudo cp nam/usr/local/bin/
cp: missing destination file operand after `nam/usr/local/bin/'
Try `cp --help' for more information.
_______________________________________________________________________
and now whenever i try to run nam in my terminal it shows the same result.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.