Linux - NewbieThis 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.
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 am a newbie to linux as well as ns-2.34 , working with it for my FYP on asymmetric mobile adhoc networks. All was going well untill now i dont know what actually happened my nam is not working properly it is showing the following error
Cannot connect to existing nam instance. Starting a new one...
as well as this one
*** !!! ***
nam cannot recognize the trace file tmp
Please make sure that the file is not empty and it is a nam trace
hello
Actually i am working with MCM , generated its scenario , a cbr file all that now i have a tcl script as well and after simulating the tcl file i get a nam and a trace file . Which i can visualize in nam but when i place in the commands
perl visualize.pl Obstacles.txt 10 simple-manet.nam
it gives his error
Cannot connect to existing nam instance. Starting a new one...
*** !!! ***
nam cannot recognize the trace file tmp
Please make sure that the file is not empty and it is a nam trace
http://www.wltl.ee.upatras.gr/mcm/
yup used the same mcm website ...my tcl script my scenario file and trafic file it gives out a .nam file as well as .tr
but when i try to visualize it perl visualize.pl Obstacles.txt 10 simple-manet.nam
it gives the error i stated above
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 8 .
Did you do a check with the link right now ?
→ http://www.wltl.ee.upatras.gr/mcm/
.... The link doesn't work here.
Alternatively you can upload the MCM files as a package, to GoogleDocs,
then I will make a test build etc. with Ubuntu 12.10 - <?>.
The two "12.10" versions are Ubuntu 12.10-i686 and Ubuntu 12.10-x86_64 →
→
→ Repeat : Please show the output from the command $ uname -m
.. to decide if your OS is i686 or x86_64.
It's actually crucial, as not all protocols will work with both 12.10 versions.
i installed my ubuntu and ns-allinone-2.35 again and now when i ./configure ns-2.35 this error pops up
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
No .configure file found in current directory
Continuing with default options...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for dcgettext in -lintl... no
checking for getnodebyname in -ldnet_stub... no
checking that g++ can handle -O2... no
checking if C++ libraries work without any namespace... no
checking if C++ libraries work with namespace std... yes
checking if STL works without any namespace... no
checking if STL works with namespace std... yes
checking should use STL... yes
./configure: line 5453: tclsh: command not found
checking for tcl.h... -I../include
checking for tclInt.h... -I../include
checking for libtcl... no
checking for init.tcl... ../lib/tcl8.5
checking for http.tcl... ../lib/tcl8.5/http1.0
checking Tcl http.tcl library... yes
checking for tclsh... no
checking for tclsh... no
checking for tclsh... no
checking for tclsh8.4... no
configure: error: Installation of tcl seems incomplete or can't be found automatically.
Please correct the problem by telling configure where tcl is
using the argument --with-tcl=/path/to/package
(perhaps after installing it),
or the package is not required, disable it with --with-tcl=no.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 10 .
"./configure" won't do, when it is ns-2.35. Is for all earlier versions.
Do a $ make clean in ns-2.35, and edit the Makefile.in : `mobile/obstacle.o´
then go to the top directory ns-allinone-2.35/,
and do $ ./install
-
The link http://www.wltl.ee.upatras.gr/mcm/ is up again.
But I can't unzip the package mcm.zip ( 'unzip' or '7z x' ).
? How did you unpack "mcm.zip" ?
EDIT : The downloaded mcm.zip is 4.8 kB !
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.