Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Other Versions > EOL (End Of Life) Versions
FedoraForum Search

Forgot Password? Join Us!

EOL (End Of Life) Versions This is a Forum to discuss problems and workarounds for versions of Fedora that have passed End of Life.

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 13th May 2009, 08:36 AM
ratnesh1729 Offline
Registered User
 
Join Date: May 2009
Posts: 2
thanks for reply.. can you please give the commands for configuring again..... srry for the trouble..
Reply With Quote
  #17  
Old 13th May 2009, 08:45 AM
Nowhere82 Offline
Registered User
 
Join Date: May 2009
Posts: 5
If you are taking ns2 at piece you can try this http://nslab.ee.ntu.edu.tw/courses/n...labs/lab1.html
If you are using allinone... "The package contains an "install" script to automatically configure, compile and install these components. After downloading, run the install script".

I hope this help, I'm a newbie such as you
Reply With Quote
  #18  
Old 14th May 2009, 09:47 AM
terbulance129 Offline
Registered User
 
Join Date: May 2009
Posts: 1
Quote:
Originally Posted by Nowhere82 View Post
Be sure to do again configure and make of all ( tk, otcl, tclcl, ns2 ) after change.
Hi, I'm a newbie here and I am using ns-allinone.2.33 on Cygwin, so can you be more specific on how to configure and make all tk, otcl, tclcl and ns2?

I have configure and make tk8.4.18 following the previous post and I am still getting the same problem.

Please help
Reply With Quote
  #19  
Old 14th May 2009, 09:56 AM
Nowhere82 Offline
Registered User
 
Join Date: May 2009
Posts: 5
I'd suggest you to configure and "make clean" and "make" again otcl, tclcl, ns2 after tk.
But if you use allinone the script should do this for you...but I haven't ever seen it so I'm not sure. Also, be sure you haven't ns.exe anywhere (bin folder for example).
Reply With Quote
  #20  
Old 1st July 2009, 02:50 AM
vahid_ghasemi Offline
Registered User
 
Join Date: Jul 2009
Posts: 1
It works well

Quote:
Originally Posted by ratnesh1729 View Post
i did changes as mentioned above , but i dnt knw what to do after that.. (
m a newbie, using ubuntu and i installed NS-2 2.33 today and while running .tcl examples i got same error as mentioned in first post.).
I use ns2.33 (ns-allinone-2.33 package) on ubuntu 9.04 and had exactly this problem with nam. After extracting the package ns-allinone-2.33 modify /ns-allinone-2.33/tk8.4.18/generic/tkBind.c according to folowing line numbers and save it:
....
line 588 : /* MappingNotify */ 0,
line 589 : #ifdef GenericEvent
line 590 : /* GenericEvent */ 0,
line 591 : #endif
line 592 : /* VirtualEvent */ VIRTUAL,
....
then install/reinstal package ns-allinone-2.33.

it easily works.
Reply With Quote
  #21  
Old 14th September 2009, 11:08 AM
bagira Offline
Registered User
 
Join Date: Sep 2009
Posts: 1
windows_xp_2003ie
Quote:
Originally Posted by Nowhere82 View Post
Be sure to do again configure and make of all ( tk, otcl, tclcl, ns2 ) after change.
Hello,

Recently ive installed ns2.33 on fedora 10 and got problem with nam which does not start. I did modify tk.h and tkBind.c files manually as inserting codes below:

tkBind.c :
#ifdef GenericEvent
/* GenericEvent */ 0,
#endif

tk.h :
#define VirtualEvent (MappingNotify + 1)
#define ActivateNotify (MappingNotify + 2)
#define DeactivateNotify (MappingNotify + 3)
#define MouseWheelEvent (MappingNotify + 4)
#define TK_LASTEVENT (MappingNotify + 5)

After all these modification, i go into my tk8.4.18/generic/unix, otcl, tclcl and ns2.33 folders and did:
./configure and make

But same problem with Nam still appears. Can you please tell what and how I should step by step...... Please, so sorry for im really noob for Linux and ns2
Thank you

bagira
Reply With Quote
  #22  
Old 15th September 2009, 12:15 AM
dudu Offline
Registered User
 
Join Date: Sep 2009
Posts: 1
linuxfedorafirefox
Hi I am using ns-allinone-2.31, which uses tk8.4.14. I encounter the same problem
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..."

I need to stick to version 2.31 because it is the one what works with the nist wimax patch. Is there any way to solve the problem. I am new linux user.

I tried Badar Abbas 's solution. It does not work. I do not know if it is because i am using tk8.4.14 and the patches are for tk8.4.18 or because I did it wrong. What I did was I changed the tk8.4.14/generic/tkBind.c to

#ifdef GenericEvent
/* GenericEvent*/ 0,
#endif
/* VirtualEvent */ VIRTUAL,
/* Activate */ ACTIVATE,

and change the tk.h to

#define VirtualEvent (MappingNotify + 1)
#define ActivateNotify (MappingNotify + 2)
#define DeactivateNotify (MappingNotify + 3)
#define MouseWheelEvent (MappingNotify + 4)
#define TK_LASTEVENT (MappingNotify + 5)

#define MouseWheelMask (1L << 28)
#define ActivateMask (1L << 29)
#define VirtualEventMask (1L << 30)
Reply With Quote
  #23  
Old 17th November 2009, 09:31 AM
aagajaba Offline
Registered User
 
Join Date: Nov 2009
Posts: 1
linuxfedorafirefox
Thanx

I was trying this for a long time.
Thanx, it worked 4 me.
Thanx a lot.
Reply With Quote
  #24  
Old 26th November 2009, 01:28 AM
Darshana123 Offline
Registered User
 
Join Date: Nov 2009
Posts: 1
windows_xp_2003firefox
Quote:
Originally Posted by Nowhere82 View Post
Now it works...
It was a wrong reconfigure by me, what a stupid I'm! :-)
Hi,
I continue to get the same error as in the first post. I have made changes in the tkBind and tk.h files as mentioned in the posts. Then i ran ./configure and make for tk,otcl, tclcl and ns2. All this did not help
Can you please tell me how exactly did you solve you problem? I use cygwin for ns-2.
Reply With Quote
  #25  
Old 29th March 2010, 08:56 PM
merioum Offline
Registered User
 
Join Date: Mar 2010
Posts: 1
windows_xp_2003ie
Re: running NS2 on Fedora 10

Quote:
Originally Posted by mirzaw View Post
hello all i have the same problem ...... After successful installation of ns-allinone-2.33 on windows xp under cygwin......
Please help me in fixing this problem.. or should i install fedora 10 for ns-2??
Hello,
I'm trying to install NS2.33 under cygwin but the installation is not finished and I get the following message:
Creating library file: libns.dll.a
g++ -DNSLIBNAME = \”libns.dll\” -Wl, -export-dynamic -o ns common/mai-modular.cc -ldl
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../i686-pc-cygwin/bin/ld: cannot find ldl
Collect2: ld returned 1 exit status
Make: *** [ns] Error 1
Ns Make failed
So please how can I solve this problem or can I use another version of NS2 which goes with the patch of hwmp.
Thanks a lot
Best regards.
Reply With Quote
  #26  
Old 21st April 2010, 02:23 AM
bigstan Offline
Registered User
 
Join Date: Apr 2010
Posts: 1
linuxubuntufirefox
Re: running NS2 on Fedora 10

I had the same problem, and now it's working fine as I followed the guidelines, thanks Badar.
Reply With Quote
  #27  
Old 14th March 2012, 04:50 AM
sugan Offline
Registered User
 
Join Date: Mar 2012
Location: cbe
Posts: 1
windows_xp_2003chrome
Re: running NS2 on Fedora 10

hi i am using ns-2.31 and encountered the same problem in nam (code is omitted because of length ) and tried to apply patch as mentioned by badar but in vain i am geeting the same problem plz hlp me
Reply With Quote
  #28  
Old 19th July 2012, 01:47 PM
manolin Offline
Registered User
 
Join Date: Jul 2012
Location: Iran
Posts: 1
windows_xp_2003firefox
Re: running NS2 on Fedora 10

hi guys

i wrote a new agent and modified the relevant files (makefile,packet.h,ns-default.tcl ) ,then i make clean and make the ns-2.34 i get this error (no rule to make target 'vanet.o' needed by ns) and when i want to run my tcl file i get this error (ns: [code ommited because of length] : invalid command name "Agent/Vanet" while executing "Agent/Vanet set packetSize_ 64").

will u pls help me out with this error.
i appreciate any help.
ps: tcl/tk 8.4.18 have already been installed.
Reply With Quote
Reply

Tags
fedora, ns2, running

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems when running emacs 22.3 under an X86_64 running FC10 dcelta@gmail.co Using Fedora 1 20th July 2009 06:07 PM
Fedora 9 (Sulpher) still running after preupgrade to Fedora 10 rando1000 Installation and Live Media 1 19th April 2009 08:27 PM
network bridge from Dell running Fedora 8 to laptop running Vista asset47 Servers & Networking 2 6th April 2008 03:27 AM


Current GMT-time: 01:51 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat