[ns] configuration : warning :

najwa al_mawajdeh najwa61_ahmad at hotmail.com
Sat Jul 11 11:00:59 PDT 2009



hi all,

im trying to install ns-2.26 in red hat,

but after i used the command ./install i got the folllowing error:

configure : warning : can't find TCL configuration on definition.

 i tried the following solution but it didnt work:

 

 

May 7, 2006
Problem in Installing NS 2.29.2-allinone 
If you find this error in your installation of the new version ns-allinone 2.29 2 :

"checking system version (for dynamic loading)... ./configure: line
7624: syntax error near unexpected token ')'
./configure: line 7624: ' OSF*)'
tcl8.3.2 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 problem."

the problem is due to these files :

 

tcl: file tcl8.x.x/unix/tcl.m4.

tk: file tk8.x.x/unix/tcl.m4.

otcl: file otcl-1.x/configure.in.

According to Gauraz,

The line generating the problem was :

system=MP-RAS-`awk ' { print $3 } '/etc/.relid'`

The problem lies in how bash 3.1.x and 4.x.x parse the configure file. This will simply pass through bash 3.0.x and lower versions. So in order to make things work I changed the above line to:

system=MP-RAS-`awk ' { print $3 } '/etc/.relid`

You will have to take following steps in order to bring the changes into effect:
Remove the second last character ( ' ) from the line and do this for all the three files above. Now after changing the configuration files you will have to delete older configure file and any cache if it exists in the respective folders. After that do not forget to run autoconf from command line in the respective folders to generate a fresh configure file.

And finally re-install it by the following command :

./install

please can any body help me?


 

 

 

Najwa





_________________________________________________________________
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/


More information about the Ns-users mailing list