• checking system version (for dynamic loading)…

    by  • October 25, 2010 • Network Simulator 2, NS2 errors • 4 Comments


    If you encounter the following error,  checking system version (for dynamic loading)… ./configure: 1: Syntax error: Unterminated quoted string
    then do the following,

    Open the following files under ns-allinone-2.xx/

    tcl: file tcl8.x.x/unix/tcl.m4
    tk: file tk8.x.x/unix/tcl.m4
    otcl: file otcl-1.x/configure.in

    In all the above files, you can find the following line
    system=MP-RAS-`awk ‘ { print $3 } ‘/etc/.relid’`

    and change the above line to (just remove the last but one single quote, remember that ‘ is different from ` you need to remove only ‘ and not `)

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

    4 Responses to checking system version (for dynamic loading)…

    1. sabareesh
      October 29, 2010 at 6:23 am

      hi
      i installed ns2.31
      ns2 succesfully installed it gives but
      gives errors for nam like
      nam:
      [code omitted because of length]
      : no event type or button # or keysym
      while executing
      "bind Listbox {
      %W yview scroll [expr {- (%D / 120) * 4}] units
      }"
      invoked from within
      "if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
      bind Listbox {
      %W yview scroll [expr {- (%D)}] units
      }
      bind Li..."
      child process exited abnormally
      plz tell me the solution for this

    2. sabareesh
      October 29, 2010 at 6:25 am

      hi
      i installed ns2.31 in ubuntu 10.04lts

      ns2 succesfully installed it gives but
      gives errors for nam like
      nam:
      [code omitted because of length]
      : no event type or button # or keysym
      while executing
      "bind Listbox {
      %W yview scroll [expr {- (%D / 120) * 4}] units
      }"
      invoked from within
      "if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
      bind Listbox {
      %W yview scroll [expr {- (%D)}] units
      }
      bind Li..."
      child process exited abnormally
      plz tell me the solution for this

    3. November 1, 2010 at 1:11 am

      i copied 802.16 protocols into the common folder and mac folder and modified the makefile
      then after that i tried to reconfigure using the make clean make install but it gives the following errors can u help me plz

      sabareesh@sabareesh-laptop:~/ns-allinone-2.35-RC3/ns-2.35$ make clean
      Makefile:251: *** commands commence before first target. Stop.

    4. November 1, 2010 at 1:22 am

      when i ./configure it gives followng error

      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.

    Leave a Reply

    Your email address will not be published. Required fields are marked *