Re: [ns] Ns2 on Mac OS, problem invoking Nam

2011-03-04 Thread Subha Uthayaraj

Hi,

While installing NS2, may your nam had errors that is your nam has failed
while compilation. Try to compile nam separately and clear those errors.
Then nam will work.

All the best!!!

-- 
Regards,
Subha


Re: [ns] Ns2 on Mac OS, problem invoking Nam

2011-03-03 Thread Alessandro Coppola

You found the problem, I don't have nam.exe. Anyway, I already tried to
install nam manually, but I couldn't. There is no makeall file in the
nam-1.11 directory, the only executable files are config.guess,
config.status, configure, install-sh, validate, and no one works.
Thank you


On Thu, Mar 3, 2011 at 4:43 AM, Ilias Tsompanidis i...@cs.ucc.ie wrote:

 Nam is most probably not installed/compiled. Is there a nam executable?
 As it is an optional package of ns-allinone, it doesn't cause the
 installation process to break if it is not compiled correctly.
 Try to compile only nam. In nam directory execute:
 make all (configure is not needed)

 Hope this helps,
 Ilias

 On 03 Μαρ 2011, at 3:25 π.μ., Alessandro Coppola wrote:

 
  Hello everybody,
  I tried to install ns-allinone-2.29.3 to my iMac Intel with Mac OS X
  10.4.11. After the install procedure, I put ns-allinone-2.29/otcl-1.11
 and
  ns-allinone-2.29/lib folders into my DYLD_LIBRARY_PATH environment
 variable,
  and ns-allinone-2.29/tcl8.4.11/library folder into my TCL_LIBRARY
  environmental variable, using these commands:
 
  export
 
 DYLD_LIBRARY_PATH=/Users/Alex/Desktop/ns-allinone-2.29/otcl-1.11:/Users/Alex/Desktop/ns-allinone-2.29/lib
 
  export
 TCL_LIBRARY=/Users/Alex/Desktop/ns-allinone-2.29/tcl8.4.11/library
 
  Executing a simple tcl example file, I have this error message:
 
  ns: finish: couldn't execute nam: no such file or directory
 while executing
  exec nam out.nam 
 (procedure finish line 9)
 invoked from within
  finish
 
  I searched solutions on web for a long time, and I've seen that I've to
 put
  nam directory in the PATH. I tried to do this with
 
  export PATH=$PATH:/Users/Alex/Desktop/ns-allinone-2.29/nam-1.11/
 
  and the directory is effectively added to the path, as I can see with
 echo
  $PATH. But it doesn't work the same.
  Any suggestion?
  Thanks in advance
 
  Alessandro




-- 
Alessandro Coppola


[ns] Ns2 on Mac OS, problem invoking Nam

2011-03-02 Thread Alessandro Coppola

Hello everybody,
I tried to install ns-allinone-2.29.3 to my iMac Intel with Mac OS X
10.4.11. After the install procedure, I put ns-allinone-2.29/otcl-1.11 and
ns-allinone-2.29/lib folders into my DYLD_LIBRARY_PATH environment variable,
and ns-allinone-2.29/tcl8.4.11/library folder into my TCL_LIBRARY
environmental variable, using these commands:

 export
 DYLD_LIBRARY_PATH=/Users/Alex/Desktop/ns-allinone-2.29/otcl-1.11:/Users/Alex/Desktop/ns-allinone-2.29/lib

 export TCL_LIBRARY=/Users/Alex/Desktop/ns-allinone-2.29/tcl8.4.11/library

 Executing a simple tcl example file, I have this error message:

 ns: finish: couldn't execute nam: no such file or directory
 while executing
 exec nam out.nam 
 (procedure finish line 9)
 invoked from within
 finish

 I searched solutions on web for a long time, and I've seen that I've to put
nam directory in the PATH. I tried to do this with

 export PATH=$PATH:/Users/Alex/Desktop/ns-allinone-2.29/nam-1.11/

 and the directory is effectively added to the path, as I can see with echo
$PATH. But it doesn't work the same.
Any suggestion?
Thanks in advance

Alessandro