Installation of NS-2 on Windows - PowerPoint PPT Presentation

1 / 8
About This Presentation
Title:

Installation of NS-2 on Windows

Description:

ns-allinone-2.1b8a.tar.gz. 11/14/09. 4. How do I get the software? ( 2) Ns is available both ... ns-allinone-2.1b8a.tar.gz. Create a C:NetSim directory ... – PowerPoint PPT presentation

Number of Views:109
Avg rating:3.0/5.0
Slides: 9
Provided by: Lee133
Category:

less

Transcript and Presenter's Notes

Title: Installation of NS-2 on Windows


1
Installation of NS-2on Windows
  • George Lee

2
What is needed?
  • O.S.
  • Unix (FreeBSD, Linux, SunOS, Solaris)
  • Windows
  • The allinone package requires about 250MB of disk
    space to build.
  • Compiler
  • Microsoft VC

3
How do I get the software? (1)
  • There are two ways to build ns
  • from all the pieces
  • Tcl release 8.3.2 (required component)
  • Tk release 8.3.2 (required component)
  • Otcl release 1.0a7 (required component)
  • TclCL release 1.0b11 (required component)
  • Ns release 2.1b8a (required component)
  • Nam release 1.0a10 (optional component)
  • Xgraph version 12 (optional component)
  • CWeb version 3.4g (optional component)
  • SGB version 1.0 (?) (optional component, builds
    sgblib for all UNIX type platforms)
  • Gt-itm gt-itm and sgb2ns 1.1 (optional component)
  • Zlib version 1.1.3 (optional, but required should
    Nam be used)
  • all at once.
  • ns-allinone-2.1b8a.tar.gz

4
How do I get the software? (2)
  • Ns is available both
  • by HTTP at http//www.isi.edu/nsnam/dist/
  • by anonymous FTP at ftp//ftp.isi.edu/nsnam

5
BUILDING ON WINDOWS (1)
  • Download source current release 2.1b8a
  • ns-allinone-2.1b8a.tar.gz
  • Create a C\NetSim directory
  • Unzip the various files into the C\NetSim
    directory
  • Click Overwirte if files with the same name
    occurs (i.e. case sensitive for UNIX, and not for
    Windows)
  • All files will be unzipped to C\NetSim\ns-allinon
    e-2.1b8a

6
BUILDING ON WINDOWS (2)
  • Installing tcl and tk
  • Switch to your C\NetSim directory and type
    vcvars32.bat (or download and execute
    setupNS.bat).
  • Switch to your tcl directory (tcl8.3.2 for
    ns-2.1b8). 
  • Switch to the win directory. file.  Make several
    changes in makefile.vc.

7
BUILDING ON WINDOWS (3)
  • ROOT ..
  • INSTALLDIR c\Progra1\Tcl
  • !IF "(MACHINE)" "IA64"
  • TOOLS32 c\ia64sdk17
  • TOOLS32_rc c\ia64sdk17
  • !ELSE
  • TOOLS32 c\Progra1\devstudio\vc?
    c\Progra1\micros3\vc98
  • TOOLS32_rc c\Progra1\devstudio\sharedide?
    c\Progra1\micros3\common\msdev98
  • !ENDIF
  • Note Use dir /x to verify where the VC is
    located.

8
BUILDING ON WINDOWS (4)
  • Compile the tcl source code
  • nmake /I /f makefile.vc
  • The compiler will show only warning or minor
    errors.
  • Install it
  • nmake /I /f makefile.vc install
  • The TCL files will be generated in C\Program
    Files\Tcl (with three subdirectories bin,
    include, lib)
Write a Comment
User Comments (0)
About PowerShow.com