Re: [ns] running configuration..Installation of tclcl seems incomplete or can't be found automatically.

2014-02-23 Thread knudfl

  faza2004
 invalid command name EnergyModel/Battery

 invalid command name EnergyModel/Battery : That's either a failed build.
Or you are using a wrong version of the executable 'ns'.

You will have to use a renamed copy of ns-allinone-2.29/ns-2.29/*ns* ,
.. e.g. a copy by name '*ns-m*' , which you then copy to
/usr/local/bin/(*ns-m*)
.. Then you can do the simulation with :  $ ns-m mannasim-rede-plana.tcl

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/running-configuration-Installation-of-tclcl-seems-incomplete-or-can-t-be-found-automatically-tp10576p28267.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] running configuration..Installation of tclcl seems incomplete or can't be found automatically.

2014-02-18 Thread knudfl

@ faza2004.

Testing :
A) $ ns-mannasim mannasim-rede-plana.tcl : The file mannasim-rede-plana.tr
38 kB is created.
B) $ ns-mannasim mannasim-rede-hierarquica.tcl : 
mannasim-rede-hierarquica.tr 53 kB.

** Mannasim does not support nam.
It is possible to edit the above files to produce a small out.nam.
But running $ nam out.nam : Will show an empty nam window.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/running-configuration-Installation-of-tclcl-seems-incomplete-or-can-t-be-found-automatically-tp10576p28233.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] running configuration..Installation of tclcl seems incomplete or can't be found automatically.

2014-02-17 Thread knudfl

  faza2004
 make: g++-41: Command not found 

make: g++-41: Command not found : You have a typo in the export command
:
It's g++41 , not g++-41
I.e.  $ export CC=gcc41 CXX=g++41  ./install

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/running-configuration-Installation-of-tclcl-seems-incomplete-or-can-t-be-found-automatically-tp10576p28228.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] running configuration..Installation of tclcl seems incomplete or can't be found automatically.

2014-02-16 Thread knudfl

 @ faza2004

From your previous post  fatal error: X11/Xlib.h: No such file or
directory.

When you can forget to install the X libraries, may be you didn't install
all the ns2 prerequisites ?
They are : $ sudo apt-get install g++ autoconf automake libtool patch
libxmu-dev xgraph

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/running-configuration-Installation-of-tclcl-seems-incomplete-or-can-t-be-found-automatically-tp10576p28225.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] running configuration..Installation of tclcl seems incomplete or can't be found automatically.

2014-02-13 Thread knudfl

 faza2004
 list.h: No such file or directory 

** Probably reinstall gcc41-compat-4.1.2.ubu1110_i386.deb.
The fact is, I get no errors at all with mannasim / ns-2.29.3 .

Are you sure that your OS is 32bits (i686) ?
? You didn't answer to my first question / first post to you ? : 
→ The reply from the command $ uname -m Enter

mannasim examples http://www.nsnam.com/2013_06_01_archive.html
→ mannasim-rede-plana.tcl , mannasim-rede-hierarquica.tcl .
( Both files are working OK here with the 32bits Ubuntu 11.10 / mannasim.)

Other option : There is also an ns2.35-mannasim.patch.
And ns-allinone-2.35-mannasim-patched.tar.gz.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/running-configuration-Installation-of-tclcl-seems-incomplete-or-can-t-be-found-automatically-tp10576p28217.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] running configuration..Installation of tclcl seems incomplete or can't be found automatically.

2014-02-11 Thread knudfl

 @ faza2004
  sudo apt-get install g++-4.1 

! There is no 'g++-4.1' to be installed with apt. (That's Ubuntu 10.04 and
earlier.)

Read the above posts ! The install command is :
sudo dpkg -i gcc41-compat-4.1.2.ubu1110_i386.deb g++41-compat-4.1.2_i386.deb 

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/running-configuration-Installation-of-tclcl-seems-incomplete-or-can-t-be-found-automatically-tp10576p28200.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] running configuration..Installation of tclcl seems incomplete or can't be found automatically.

2014-02-08 Thread knudfl

  faza2004
 cp: cannot create regular file
 `/home/baran/ns-allinone-2.29/lib/#inst.5697#': Permission denied

Looks like you have unpacked the ns-allinone-2.29.3.tar.gz with 'sudo'.
Please do all ns2 commands as unprivileged user  (except 'make install') :
$ tar xvf  ns-allinone-2.29.3.tar.gz
. or you will have limited access to the files : Permission denied.

Suggest : Delete ns-allinone-2.29/ , and start from scratch.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/running-configuration-Installation-of-tclcl-seems-incomplete-or-can-t-be-found-automatically-tp10576p28191.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] running configuration..Installation of tclcl seems incomplete or can't be found automatically.

2014-02-04 Thread knudfl

 @faza2004 , Feb 04, 2014
 ?

Well, then be sure to read
http://www.linuxquestions.org/questions/tags/mannasim/
... and use the proof patch mannasim-patched-ns229.tar.bz2, post #16 here
..
http://www.linuxquestions.org/questions/linux-newbie-8/help-ns2-29-installation-on-ubuntu-10-04-a-4175458207/page2.html

Building ns-allinone-2.29.3 / mannasim in Ubuntu 11.10 - 32bits (i686) :
a) $ tar xvf ns-allinone-2.29.3.tar.gz
b) $ cd ns-allinone-2.29/  tar xvf mannasim-patched-ns229.tar.bz2
c) $ export CC=gcc41 CXX=g++-41  ./install

Getting the compilers gcc41 / g++41 for Ubuntu 11.10, post #62 here ..
http://www.linuxquestions.org/questions/linux-newbie-8/ns2-some-validation-tests-failed-732164/page5.html
→ $ sudo dpkg -i gcc41-compat-4.1.2.ubu1110_i386.deb
g++41-compat-4.1.2_i386.deb

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/running-configuration-Installation-of-tclcl-seems-incomplete-or-can-t-be-found-automatically-tp10576p28173.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] running configuration..Installation of tclcl seems incomplete or can't be found automatically.

2014-02-04 Thread knudfl

 my above post
 c) $ export CC=gcc41 CXX=g++

Sorry, I have a typo.
Must be (c) $ export CC=gcc41 CXX=g++41  ./install 

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/running-configuration-Installation-of-tclcl-seems-incomplete-or-can-t-be-found-automatically-tp10576p28174.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] running configuration..Installation of tclcl seems incomplete or can't be found automatically.

2014-02-03 Thread knudfl

 @faza2004
 ... same problem ..

Please tell what you are trying to do.
Is it mannasim ? Which version of ns-allinone-2.xx ?
.. And please specify your Linux OS :
a) The reply from the command $ uname -m Enter
b) The OS name and version.

** Mannasim info http://www.linuxquestions.org/questions/tags/mannasim/

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/running-configuration-Installation-of-tclcl-seems-incomplete-or-can-t-be-found-automatically-tp10576p28170.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] running configuration..Installation of tclcl seems incomplete or can't be found automatically.

2010-02-16 Thread Souha Rayana

Thank you very much,

I have already installed ns-2.34. It was easier. But , the wireless sensor
networks module is named mannasim-2.29. I was told that it works only with
ns-2.29. But I am still not sure about the information.

I am waiting confirmation because installation of mannasim on ns-2.34 didn't
work. I want to know if it is a matter of compatibility or a technical
mistake.

Thanks

---

Regards,
Suha

2010/2/16 Hari Prabhat Gupta hprabhatgu...@rediffmail.com


 hi,
 use ns2.33 in place of ns2.2X.

 hariprabhat
 iit guwahati
 On Mon, 15 Feb 2010 18:06:56 +0530 wrote
 

 Hello,

 I tried to install ns2.29. when I enter ns command, % is displayed, so it

 is ok.

 then, I tried to add the mannasim framework (for sensor networks) by

 modifiying some files in the ns main folder.

 while re-running configuration script, the above message is displayed.



 Your answers would be very helful for me!




 --

 Regards,

 Suha









 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

 checking for tcl.h... -I../include

 checking for libtcl8.4... -L../lib -ltcl8.4

 checking for init.tcl... ../lib/tcl8.4

 checking for tclsh8.4.11... no

 checking for tclsh8.4... ../bin/tclsh8.4

 checking for tk.h... -I../include

 checking for libtk8.4... -L../lib -ltk8.4

 checking for tk.tcl... ../lib/tk8.4

 checking for otcl.h... -I../otcl-1.11

 checking for libotcl1.11... -L../otcl-1.11 -lotcl

 checking for tclcl.h... -I../tclcl-1.17

 checking for libtclcl... no

 checking for tcl2c++... ../tclcl-1.17

 configure: error: Installation of tclcl seems incomplete or can't be found

 automatically.

 Please correct the problem by telling configure where tclcl is

 using the argument --with-tclcl=/path/to/package

 (perhaps after installing it),

 or the package is not required, disable it with --with-tclcl=no.

 [r...@localhost ns-2.29]#



 http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline@middle?