Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
To @ yasirimteyaz and @ joelits :
I never did it that way, but installed
otcl, tclcl, ns, nam to /usr/local/ , just
by doing # 'make install' after 'cd' into
each of those. ( Please see post # 6.)
Installs 18 ( small ) files in /usr/local/.
cd /usr/local/bin/
# strip *
( or sudo strip * , if Ubuntu.)
.. makes ns , nam smaller.
Some times it is possible to use the system tcl / tk .
And as not all Linux's needs " system tcl / tk ",
the tcl-8.4.18 / tk-8.4.18 from ns-allinone can be
installed too.
Check out my latest blog on installing ns2 on Ubuntu 9.10 http://bit.ly/1DiXzB
It works perfectly with this method. No need to set path or environment.
3) Start or restart 'synaptic', and ns (-2.33), nam (-1.13) are there.
.. "mitotcl", tclcl, tcl8.4, tk8.4 will be installed automatically as dependency.
.. And you have ns, nam in a system path per the recommandations in
this thread ... and thus : no setting no extra path's.
Notice this : ns provides /usr/bin/ns only, no other ns files,
so there is no reason to delete your already unpacked files.
( If the versions will fit.)
.....
.....
A comment to your blog, concerning gcc-4.4 :
'otcl-1.13' compiles with no errors, gcc-4.4.0 ( Fedora 11 ) ,
gcc-4.4.1 ( pclos 2009.2 ), and gcc-4.4.1 in Mandriva 2010 ,
... but not with the gcc-4.4.1 supplied with Ubuntu 9.10 .
.....
hello mate, is working thanks for your help, i didn't had to modify nothing, i did what you have told me and now is working perfectly as i was want it, thanks a lot i need it so much for my school project, cool.
i have a question to ask, i have to build a cluster with 100 pc what i am interested is in hardware, can you give me some advices regarding to this. thanks again and good luck...
Well mate I try to install it on my other computer and now I get this error, I did the building essential and install the gcc but the error is still here.
Code:
Build tcl8.4.18
============================================================
configure: WARNING: unrecognized options: --enable-gcc
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc-4.3
checking for C compiler default output file name...
configure: error: in `/home/mountain/ns/ns-allinone-2.34/tcl8.4.18/unix':
configure: error: C compiler cannot create executables
See `config.log' for more details.
tcl8.4.18 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.
Check out my latest blog on installing ns2 on Ubuntu 9.10 http://bit.ly/1DiXzB
It works perfectly with this method. No need to set path or environment.
that's a good tutorial, thanks for your help, it was very easy to install it...............
Distribution: pclos2009.2, slack13, Debian Lenny (+30 others, for test only)
Posts: 2,935
Thanked: 277
@ mzarei , # 23 : Welcome to LQ.
Quote:
make: gcc-4.3: Command not found
Which Linux are you using ? ? Like Ubuntu 9.10 .. Fedora 11 .. etc.
Ubuntu 9.10 : install the package gcc-4.3 with the Package Manager
to get the command. Only Ubuntu 9.10 needs this modification. AFAIK.
'gcc-4.1' or 'gcc-3.x' are OK too, if available.
Which Linux are you using ? ? Like Ubuntu 9.10 .. Fedora 11 .. etc.
Ubuntu 9.10 : install the package gcc-4.3 with the Package Manager
.
Hi
I using ubuntu 9.10
Tanks knudfl
Quote:
Ubuntu 9.10 : install the package gcc-4.3 with the Package Manager
it's working
I also validate it and "validate overall report: all tests passed"
But in validation process I saw this "warning: Route to base_stn not known: dropping pkt"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.