LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-11-2011, 10:13 AM   #1
unodior
Member
 
Registered: Mar 2011
Distribution: Fedora 12
Posts: 56

Rep: Reputation: 28
problem with nam-1.12


Does anyone know why nam-1.12 doesn't work in fedora14? The rest of ns-2.30 goes perfectly
 
Old 03-11-2011, 11:31 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,557

Rep: Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512
Did you patch tk8.4.13 before running ./install ?
http://www.linuxquestions.org/questi...11-a-817322/#6

If not, please do : cd ns-allinone-2.30/nam* && make clean && make

If no luck with that : It doesn't mean a thing, any nam can be used :
nam is a separate application.
https://docs.google.com/uc?id=0B7S25...=CLPiyxo&hl=en
>> nam-1.14.i586.tar.gz : Untar to /usr/local/bin : And it is in a system path.

Regards.
.
 
1 members found this post helpful.
Old 03-11-2011, 11:50 AM   #3
unodior
Member
 
Registered: Mar 2011
Distribution: Fedora 12
Posts: 56

Original Poster
Rep: Reputation: 28
Yes, I did the patch and I did the make. I'll try to use the packet you posted. Thank you very much. I hope I won't have more problems with this
 
Old 03-11-2011, 12:31 PM   #4
unodior
Member
 
Registered: Mar 2011
Distribution: Fedora 12
Posts: 56

Original Poster
Rep: Reputation: 28
When you use the patch last event por tk.h, what it actually do is change the lines marked?
I don't know linux, I'm learning, and I would like to know the answer

Last edited by unodior; 03-11-2011 at 12:44 PM.
 
Old 03-11-2011, 01:22 PM   #5
unodior
Member
 
Registered: Mar 2011
Distribution: Fedora 12
Posts: 56

Original Poster
Rep: Reputation: 28
I edit: It works!!!
THANK YOU VERY MUCH

Last edited by unodior; 03-11-2011 at 01:48 PM.
 
Old 03-11-2011, 01:29 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,557

Rep: Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512
# 4 :
'man patch' : http://linux.die.net/man/1/patch

The "visual method" of understanding is probably the most easy :
Have a look at tk.h from line 635 to line 650, to see what's changed.
( A "tk.h original" and a "tk.h patched")

You can also create a patch yourself by comparing the two files with: diff -Naur old new

Example : diff -Naur tk.h-org tk.h-patched > my-tk.patch

.
 
1 members found this post helpful.
Old 03-11-2011, 01:53 PM   #7
unodior
Member
 
Registered: Mar 2011
Distribution: Fedora 12
Posts: 56

Original Poster
Rep: Reputation: 28
Smile

@ knudfl: Thanks for your patience and your explanations. Thank you very much, changing files was driving me crazy. Anyway, I've learned a lot. Than you.
 
Old 03-11-2011, 01:58 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,557

Rep: Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512
# 5 : I don't know.
( I didn't get an OK nam in the Fedora 14 nam-1.12 either.)

And I don't intend to use nam-1.12 ever.
One 'nam' e.g. "nam-1.14" in /usr/local/bin/ will work with all
versions of ns-2.xx. And I have plenty of binary 'nam', that work.
The one I uploaded to Google Docs has a time stamp : 30 Aug 2009.

On another OS it may be the nam-1.13 (from ns-allinone-2.31),
that isn't working. Errors : Always like you show in post # 5.
Lots of examples on the net. (Google .. code omitted because of length ..)
All other (1.10 1.11 1.12 1.14 OK, nam-1.13 from ns-allinone-2.33 OK.
Small things can do a difference : Another tcl / tk /otcl / tclcl,
a slightly different compiler, one updated, the other not.

But actually nam etc. has been fixed : ns-allinone-2.35-RC7.tar.gz
http://www.isi.edu/nsnam/dist/releas....35-RC7.tar.gz

..
 
  


Reply


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
ns-2.34 problem executing 'nam' on ubuntu 9.10 ElijahJ Linux - Software 12 06-02-2014 07:32 AM
problem in running nam-1.11 of ns-allinone-2.29 rishabhk Linux - Newbie 5 03-17-2011 05:31 AM
problem with opening nam in ns2 MLinux Linux - General 1 11-16-2010 04:01 AM
Problem with nam in ns-2.34 dreams2010 Linux - Software 5 09-26-2010 06:49 AM
problem in running NAM marioma Linux - Networking 4 06-01-2010 07:20 PM


All times are GMT -5. The time now is 09:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration