Re: [ns] Error installing NS2 (tclcl make failed)

2011-10-22 Thread Juanka

Kostantinos Katsaros dinos.katsaros at gmail.com writes:

 
 
 Hey there,
 
 I'm new in ns2. I tried to install it under Ubuntu 8.04, 9.10 and Fedora 12
 (all of them running in VMware) but I always get the same error. tclcl does
 not compile.
 
 Tcl.cc: In member function ‘void Tcl::eval(char*)’:
 Tcl.cc:182: warning: deprecated conversion from string constant to ‘char*’
 Tcl.cc: In member function ‘int TclObject::traceVar(const char*,
 TclObject*)’:
 Tcl.cc:421: warning: deprecated conversion from string constant to ‘char*’
 Tcl.cc: In static member function ‘static int TclClass::create_shadow(void*,
 Tcl_Interp*, int, const char**)’:
 Tcl.cc:509: warning: deprecated conversion from string constant to ‘char*’
 Tcl.cc:511: warning: deprecated conversion from string constant to ‘char*’
 *Tcl.cc: In static member function ‘static int
 TclClass::dispatch_instvar(void*, Tcl_Interp*, int, const char**)’:
 Tcl.cc:566: error: invalid conversion from ‘const char*’ to ‘char*’*
 Tcl.cc:571: warning: deprecated conversion from string constant to ‘char*’
 Tcl.cc: In member function ‘virtual void TclClass::bind()’:
 Tcl.cc:603: warning: deprecated conversion from string constant to ‘char*’
 Tcl.cc:605: warning: deprecated conversion from string constant to ‘char*’
 make: *** [Tcl.o] Error 1
 tclcl-1.17 make failed! Exiting ...
 
 This was from the last attempt of ns2.29 under Fedora12 . same with 2.28
 
 I found in NS2 webpage that there was a problem with gcc 3.4 and tclcl but
 it says that it has been fixed.
 
 I want to install ns2.28 in order to work with 802.11e MAC possible under
 linux 9.10 that I'm more used to.
 
 Thank you for your help,
 
 Marry X-Mas!
 



Hi:
I'm installing ns-2.30 on Ubuntu 10.04.1. I got the very same errors and will
try to avoid them by casting types. Any other suggestion?
I think the main problem is that ns-2.30 only works properly using g++ and gcc
4.0 and no newer versions of those. 
Maybe I would change to any other distro of Debian or Fedora. I had to use the
Ubuntu 6 dapper repository to get installed g++ and gcc 4.0, but the graphical
interface and the sound of my system crashed. Anyway, I can't use the dapper
repository any more as it seems it is not supported.
Any suggestion or links?
Thanks a lot!!!

J.Carlos




Re: [ns] Error installing NS2 (tclcl make failed)

2010-09-04 Thread tkhan


Hello LeCost,
i also get the same error while downloading ns-allinone-2.28 inubuntu 10.04.
clould you please let me know how to fix the problem?
TKhan

Hey there,

I'm new in ns2. I tried to install it under Ubuntu 8.04, 9.10 and Fedora 12
(all of them running in VMware) but I always get the same error. tclcl does
not compile.

Tcl.cc: In member function ‘void Tcl::eval(char*)’:
Tcl.cc:182: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc: In member function ‘int TclObject::traceVar(const char*,
TclObject*)’:
Tcl.cc:421: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc: In static member function ‘static int TclClass::create_shadow(void*,
Tcl_Interp*, int, const char**)’:
Tcl.cc:509: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc:511: warning: deprecated conversion from string constant to ‘char*’
*Tcl.cc: In static member function ‘static int
TclClass::dispatch_instvar(void*, Tcl_Interp*, int, const char**)’:
Tcl.cc:566: error: invalid conversion from ‘const char*’ to ‘char*’*
Tcl.cc:571: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc: In member function ‘virtual void TclClass::bind()’:
Tcl.cc:603: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc:605: warning: deprecated conversion from string constant to ‘char*’
make: *** [Tcl.o] Error 1
tclcl-1.17 make failed! Exiting ...

This was from the last attempt of ns2.29 under Fedora12 . same with 2.28

I found in NS2 webpage that there was a problem with gcc 3.4 and tclcl but
it says that it has been fixed.

I want to install ns2.28 in order to work with 802.11e MAC possible under
linux 9.10 that I'm more used to.

Thank you for your help,

Marry X-Mas!

-- 
Katsaros Konstantinos
MSc Communications, Network and S/W
Surrey University



-- 
Katsaros Konstantinos



-- 
View this message in context: 
http://old.nabble.com/Error-installing-NS2-%28tclcl-make-failed%29-tp26924643p29621422.html
Sent from the ns-users mailing list archive at Nabble.com.




Re: [ns] Error installing NS2 (tclcl make failed)

2010-04-13 Thread Topgun007


Hi Katsaros,

I am facing the same problem, trying to install ns2.29 on Ubuntu 8.04 but
getting tcl compilation errors. Have you fixed the problem and able to
install sucessfully. Can you please share your experience and
patches/packages installed.

Regards
Hassan


LeCost wrote:
 
 
 Hey there,
 
 I'm new in ns2. I tried to install it under Ubuntu 8.04, 9.10 and Fedora
 12
 (all of them running in VMware) but I always get the same error. tclcl
 does
 not compile.
 
 Tcl.cc: In member function ‘void Tcl::eval(char*)’:
 Tcl.cc:182: warning: deprecated conversion from string constant to ‘char*’
 Tcl.cc: In member function ‘int TclObject::traceVar(const char*,
 TclObject*)’:
 Tcl.cc:421: warning: deprecated conversion from string constant to ‘char*’
 Tcl.cc: In static member function ‘static int
 TclClass::create_shadow(void*,
 Tcl_Interp*, int, const char**)’:
 Tcl.cc:509: warning: deprecated conversion from string constant to ‘char*’
 Tcl.cc:511: warning: deprecated conversion from string constant to ‘char*’
 *Tcl.cc: In static member function ‘static int
 TclClass::dispatch_instvar(void*, Tcl_Interp*, int, const char**)’:
 Tcl.cc:566: error: invalid conversion from ‘const char*’ to ‘char*’*
 Tcl.cc:571: warning: deprecated conversion from string constant to ‘char*’
 Tcl.cc: In member function ‘virtual void TclClass::bind()’:
 Tcl.cc:603: warning: deprecated conversion from string constant to ‘char*’
 Tcl.cc:605: warning: deprecated conversion from string constant to ‘char*’
 make: *** [Tcl.o] Error 1
 tclcl-1.17 make failed! Exiting ...
 
 This was from the last attempt of ns2.29 under Fedora12 . same with 2.28
 
 I found in NS2 webpage that there was a problem with gcc 3.4 and tclcl but
 it says that it has been fixed.
 
 I want to install ns2.28 in order to work with 802.11e MAC possible under
 linux 9.10 that I'm more used to.
 
 Thank you for your help,
 
 Marry X-Mas!
 
 -- 
 Katsaros Konstantinos
 MSc Communications, Network and S/W
 Surrey University
 
 
 
 -- 
 Katsaros Konstantinos
 
 

-- 
View this message in context: 
http://old.nabble.com/Error-installing-NS2-%28tclcl-make-failed%29-tp26924643p28232180.html
Sent from the ns-users mailing list archive at Nabble.com.




Re: [ns] Error installing NS2 (tclcl make failed)

2010-04-13 Thread Teerawat Issariyakul


Hi Hassan,

I did some test on NS2 installation few weeks ago. Here is the result

http://www.ns2ultimate.com/post/439346614/working-combination-ns-2-34-ubuntu-8-04-and-perhaps

There is a problem with the current linux-like distribution. Here is the
solution

http://www.ns2ultimate.com/post/441093095/ns-2-35-works-on-cygwin

I get ns-2.34 working on Ubuntu 8.04. But I'm not sure about ns-2.29. I
hope this will help.

Best Wishes,

Teerawat Issariyakul
http://www.ns2ultimate.com/
http://www.ece.ubc.ca/~teerawat
http://www.t-issariyakul.blogspot.com
http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417
http://twitter.com/T_Bear

On 4/13/2010, Topgun007 hamid...@gmail.com wrote:



Hi Katsaros,

I am facing the same problem, trying to install ns2.29 on Ubuntu 8.04 but
getting tcl compilation errors. Have you fixed the problem and able to
install sucessfully. Can you please share your experience and
patches/packages installed.

Regards
Hassan


LeCost wrote:
 
 
 Hey there,
 
 I'm new in ns2. I tried to install it under Ubuntu 8.04, 9.10 and Fedora
 12
 (all of them running in VMware) but I always get the same error. tclcl
 does
 not compile.
 
 Tcl.cc: In member function ‘void Tcl::eval(char*)’:
 Tcl.cc:182: warning: deprecated conversion from string constant to 
 ‘char*’
 Tcl.cc: In member function ‘int TclObject::traceVar(const char*,
 TclObject*)’:
 Tcl.cc:421: warning: deprecated conversion from string constant to 
 ‘char*’
 Tcl.cc: In static member function ‘static int
 TclClass::create_shadow(void*,
 Tcl_Interp*, int, const char**)’:
 Tcl.cc:509: warning: deprecated conversion from string constant to 
 ‘char*’
 Tcl.cc:511: warning: deprecated conversion from string constant to 
 ‘char*’
 *Tcl.cc: In static member function ‘static int
 TclClass::dispatch_instvar(void*, Tcl_Interp*, int, const char**)’:
 Tcl.cc:566: error: invalid conversion from ‘const char*’ to ‘char*’*
 Tcl.cc:571: warning: deprecated conversion from string constant to 
 ‘char*’
 Tcl.cc: In member function ‘virtual void TclClass::bind()’:
 Tcl.cc:603: warning: deprecated conversion from string constant to 
 ‘char*’
 Tcl.cc:605: warning: deprecated conversion from string constant to 
 ‘char*’
 make: *** [Tcl.o] Error 1
 tclcl-1.17 make failed! Exiting ...
 
 This was from the last attempt of ns2.29 under Fedora12 . same with 2.28
 
 I found in NS2 webpage that there was a problem with gcc 3.4 and tclcl but
 it says that it has been fixed.
 
 I want to install ns2.28 in order to work with 802.11e MAC possible under
 linux 9.10 that I'm more used to.
 
 Thank you for your help,
 
 Marry X-Mas!
 
 -- 
 Katsaros Konstantinos
 MSc Communications, Network and S/W
 Surrey University
 
 
 
 -- 
 Katsaros Konstantinos
 
 

-- 
View this message in context: 
http://old.nabble.com/Error-installing-NS2-%28tclcl-make-failed%29-tp26924643p28232180.html
Sent from the ns-users mailing list archive at Nabble.com.