HI there :

i was trying to install ns-2.28.tar.gz over windows xp , and as you know that ns-2 is linux based , thats why i have to use cygwin ...i did the following steps :

1) download cygwin with all the packages installed ....then download ns-2.28 on the c:/cygwin/home/yas ....as what mentioned in download instructions .. ( note : yas is my user name )

2) unzip the file ns-2.28.tar.gz with command
$ tar xvfz ns-allinone-2.28 , which unzipped that file perfectly


3) then go to the cygwin/home/yas /ns-2.28 ..and i did install ...and i got an error regarding the Tcl8.4.5 make failed .....it was working fine until the Tcl8.4.5 section which was like that :

$ ./install
================================================== ==========
* Build tcl8.4.5
================================================== ==========
loading cache ./config.cache
checking whether to use symlinks for manpages... no
checking compression for manpages... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for unistd.h... (cached) yes
checking for limits.h... (cached) yes
checking for building with threads... no (default)
checking if the compiler understands -pipe... yes
checking for required early compiler flags... (cached) (cached) none
checking for 64-bit integer type... (cached) long long
checking for struct dirent64... (cached) no
checking for struct stat64... (cached) no
checking for off64_t... (cached) no
checking whether byte ordering is bigendian... (cached) no
checking for getcwd... (cached) yes
checking for opendir... (cached) yes
checking for strstr... (cached) yes
checking for strtol... (cached) yes
checking for strtoll... (cached) yes
checking for strtoull... (cached) yes
checking for tmpnam... (cached) yes
checking for waitpid... (cached) yes
checking for strerror... (cached) yes
checking for getwd... (cached) yes
checking for wait3... (cached) yes
checking for uname... (cached) yes
checking for realpath... (cached) yes
checking dirent.h... yes
checking for errno.h... (cached) yes
checking for float.h... (cached) yes
checking for values.h... (cached) no
checking for limits.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/modem.h... (cached) no
checking termios vs. termio vs. sgtty... (cached) termios
checking for fd_set in sys/types... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached)
time.h
checking for sys/time.h... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached)
yes
checking for tm_zone in struct tm... (cached) no
checking for tzname... (cached) yes
checking for gmtime_r... (cached) yes
checking for localtime_r... (cached) yes
checking tm_tzadj in struct tm... (cached) no
checking tm_gmtoff in struct tm... (cached) no
checking long timezone variable... no
checking time_t timezone variable... (cached) no
checking for st_blksize in struct stat... (cached) yes
checking for fstatfs... (cached) yes
checking for 8-bit clean memcmp... (cached) yes
checking for memmove... (cached) yes
checking proper strstr implementation... yes
checking for strtoul... (cached) yes
checking for strtod... (cached) yes
checking for strtod... (cached) yes
checking for Solaris2.4/Tru64 strtod bugs... (cached) ok
checking for ANSI C header files... (cached) yes
checking for mode_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for socklen_t... (cached) no
checking for opendir... (cached) yes
checking union wait... (cached) no
checking for strncasecmp... (cached) yes
checking for BSDgettimeofday... (cached) no
checking for gettimeofday... (cached) yes
checking for gettimeofday declaration... (cached) present
checking whether char is unsigned... (cached) no
checking signed char declarations... (cached) yes
checking for a putenv() that copies the buffer... (cached) no
checking for langinfo.h... (cached) yes
checking whether to use nl_langinfo... yes
checking for sin... (cached) yes
checking for main in -lieee... (cached) no
checking for main in -linet... (cached) no
checking for net/errno.h... (cached) no
checking for connect... (cached) yes
checking for gethostbyname... (cached) yes
checking how to build libraries... static
checking for ranlib... (cached) ranlib
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)...
CYGWIN_NT-5.1-1.5.7(0.109/3/2)
checking for dlopen in -ldl... (cached) no
checking for ar... (cached) ar
Can't figure out how to do dynamic loading or shared libraries
on this system.
checking for build with symbols... no
checking for sys/ioctl.h... (cached) yes
checking for sys/filio.h... (cached) no
checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK
checking how to package libraries... standard shared library
updating cache ./config.cache
creating ./config.status
creating Makefile
creating dltest/Makefile
sed: can't read ./dltest/Makefile.in: No such file or directory
creating tclConfig.sh
make: *** No rule to make target
`/home/Dharmendra/ns-allinone-2.27/tcl8.4.5/uni
x/dltest/Makefile.in', needed by `Makefile'. Stop.
tcl8.4.5 make failed! Exiting ...
for problems with Tcl/Tk see www.scriptics.com

please , i hope some one got knowledge about ns2 and how to install ns-2.28