hi there: i just been trying to install ns-2.27 and i unzipped the file and was wroking fine until i got the error on the instalation stage , could you help for solving that error $ ./install ============================================================ * Testing for Cygwin environment ============================================================ Cygwin detected Note: Cygwin install is still considered EXPERIMENTAL
Checking Cygwin version is >=1.3.12... 1.5.7 (should be ok) Checking filesystems are mounted as UNIX filetype... yes Checking default mode is binmode... yes Checking legitimate login name...ok Checking legitimate path name...ok Checking required Cygwin packages are installed... Checking for gcc... ok Checking for gcc-g++... ok Checking for gawk... ok Checking for tar... ok Checking for gzip... ok Checking for make... ok Checking for diff... NO! Package diff is not present on your system. Please install it using Cygwin's setup.exe before trying to install the ns-2 distribution. The above test indicates that your installation of Cygwin is probably NOT SUITABLE for installing ns-2 allinone. (More details can be found in the specific error message above.) Do you wish to proceed regardless? [y/N] y *** OK, but you're on your own... *** Checking for patch... ok Checking for perl... ok Checking for w32api... ok Checking for XFree86-base... ok Checking for XFree86-bin... ok Checking for XFree86-prog... ok Checking for XFree86-lib... ok Checking for XFree86-etc... ok Patching Tcl/Tk for Cygwin. Patching sgb for Cygwin. The original sgb/Makefile is backed up as sgb/Makefile.orig Setting executable format to .exe... ============================================================ * Build XGraph-12.1 ============================================================ loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking if malloc debugging is wanted... 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 X... (cached) no checking for float.h... (cached) yes checking for limits.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking for strcasecmp... (cached) yes updating cache ./config.cache creating ./config.status creating Makefile creating autoconf.h autoconf.h is unchanged gcc -g -o xgraph xgraph.o xgX.o hard_devices.o dialog.o hpgl.o ps.o idr aw.o xtb.o st.o params.o alloc.o draw.o init.o read.o tgif.o derivative.o -l X11 -lm /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status make: *** [xgraph] Error 1 Can not create xgraph; But xgraph is an optional package, continuing... ============================================================ * Build CWeb ============================================================ Making cweb gcc -g -c -o ctangle.o ctangle.c gcc -g -DCWEBINPUTS=\"/usr/local/lib/cweb\" -c common.c gcc -g -o ctangle ctangle.o common.o gcc -g -c -o cweave.o cweave.c gcc -g -o cweave cweave.o common.o ln: `cweave.exe': File exists ln: `ctangle.exe': File exists ============================================================ * Build Stanford GraphBase ============================================================ Making sgb gcc -g -I/usr/local/sgb/include test_io.c gb_io.o -o test_io gcc -g -I/usr/local/sgb/include test_graph.c gb_graph.o -o test_graph gcc -g -I/usr/local/sgb/include test_flip.c gb_flip.o -o test_flip ./test_io OK, the gb_io routines seem to work! ./test_graph ................................................................................ ....................Hey, I allocated 10000000 bytes successfully. Terrific... OK, the gb_graph routines seem to work! ./test_flip OK, the gb_flip routines seem to work! make gb_sort.o make[1]: Entering directory `/home/Dharmendra/ns-allinone-2.27/sgb' make[1]: `gb_sort.o' is up to date. make[1]: Leaving directory `/home/Dharmendra/ns-allinone-2.27/sgb' make lib make[1]: Entering directory `/home/Dharmendra/ns-allinone-2.27/sgb' make[1]: Nothing to be done for `lib'. make[1]: Leaving directory `/home/Dharmendra/ns-allinone-2.27/sgb' make test_sample make[1]: Entering directory `/home/Dharmendra/ns-allinone-2.27/sgb' gcc -g -I/usr/local/sgb/include -L. -L/usr/local/lib test_sample.c -lgb -lgb -o test_sample make[1]: Leaving directory `/home/Dharmendra/ns-allinone-2.27/sgb' ./test_sample > sample.out diff test.gb test.correct diff sample.out sample.correct rm -f test.gb sample.out test_io test_io.exe test_graph test_graph.exe test_flip test_flip.exe test_sample test_sample.exe echo "Congratulations --- the tests have all been passed." Congratulations --- the tests have all been passed. touch certified cp: cannot create regular file `../gt-itm/lib/libgb.a': No such file or director y ============================================================ * Build GT-ITM ============================================================ sgb lib not found. gt-itm & sgb2ns could not be installed. Continuing.. ============================================================ * Build zlib ============================================================ Checking for gcc... Building static library libz.a version 1.1.4 with gcc. Checking for unistd.h... Yes. Checking for errno.h... Yes. Checking for mmap support... Yes. make: Nothing to be done for `all'. Zlib has been installed successfully. ============================================================ * 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 i hope you got any useful page for solving these probs --------------------------------- Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster. --------------------------------- Have a burning question? Go to Yahoo! Answers and get answers from real people who know. --0-1188119327-1165633401=:38727 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit hi there: i just been trying to install ns-2.27 and i unzipped the file and was wroking fine until i got the error on the instalation stage , could you help for solving that error $ ./install ============================================================ * Testing for Cygwin environment ============================================================ Cygwin detected Note: Cygwin install is still considered EXPERIMENTAL Checking Cygwin version is >=1.3.12... 1.5.7 (should be ok) Checking filesystems are mounted as UNIX filetype... yes Checking default mode is binmode... yes Checking legitimate login name...ok Checking legitimate path name...ok Checking required Cygwin packages are installed... Checking for gcc... ok Checking for gcc-g++... ok Checking for gawk... ok Checking for tar... ok Checking for gzip... ok Checking for make... ok Checking for diff... NO! Package diff is not present on your system. Please install it using Cygwin's setup.exe before trying to install the ns-2 distribution. The above test indicates that your installation of Cygwin is probably NOT SUITABLE for installing ns-2 allinone. (More details can be found in the specific error message above.) Do you wish to proceed regardless? [y/N] y *** OK, but you're on your own... *** Checking for patch... ok Checking for perl... ok Checking for w32api... ok Checking for XFree86-base... ok Checking for XFree86-bin... ok Checking for XFree86-prog... ok Checking for XFree86-lib... ok Checking for XFree86-etc... ok Patching Tcl/Tk for Cygwin. Patching sgb for Cygwin. The original sgb/Makefile is backed up as sgb/Makefile.orig Setting executable format to .exe... ============================================================ * Build XGraph-12.1 ============================================================ loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking if malloc debugging is wanted... 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 X... (cached) no checking for float.h... (cached) yes checking for limits.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking for strcasecmp... (cached) yes updating cache ./config.cache creating ./config.status creating Makefile creating autoconf.h autoconf.h is unchanged gcc -g -o xgraph xgraph.o xgX.o hard_devices.o dialog.o hpgl.o ps.o idr aw.o xtb.o st.o params.o alloc.o draw.o init.o read.o tgif.o derivative.o -l X11 -lm /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status make: *** [xgraph] Error 1 Can not create xgraph; But xgraph is an optional package, continuing... ============================================================ * Build CWeb ============================================================ Making cweb gcc -g -c -o ctangle.o ctangle.c gcc -g -DCWEBINPUTS=\"/usr/local/lib/cweb\" -c common.c gcc -g -o ctangle ctangle.o common.o gcc -g -c -o cweave.o cweave.c gcc -g -o cweave cweave.o common.o ln: `cweave.exe': File exists ln: `ctangle.exe': File exists ============================================================ * Build Stanford GraphBase ============================================================ Making sgb gcc -g -I/usr/local/sgb/include test_io.c gb_io.o -o test_io gcc -g -I/usr/local/sgb/include test_graph.c gb_graph.o -o test_graph gcc -g -I/usr/local/sgb/include test_flip.c gb_flip.o -o test_flip ./test_io OK, the gb_io routines seem to work! ./test_graph ................................................................................ ....................Hey, I allocated 10000000 bytes successfully. Terrific... OK, the gb_graph routines seem to work! ./test_flip OK, the gb_flip routines seem to work! make gb_sort.o make[1]: Entering directory `/home/Dharmendra/ns-allinone-2.27/sgb' make[1]: `gb_sort.o' is up to date. make[1]: Leaving directory `/home/Dharmendra/ns-allinone-2.27/sgb' make lib make[1]: Entering directory `/home/Dharmendra/ns-allinone-2.27/sgb' make[1]: Nothing to be done for `lib'. make[1]: Leaving directory `/home/Dharmendra/ns-allinone-2.27/sgb' make test_sample make[1]: Entering directory `/home/Dharmendra/ns-allinone-2.27/sgb' gcc -g -I/usr/local/sgb/include -L. -L/usr/local/lib test_sample.c -lgb -lgb -o test_sample make[1]: Leaving directory `/home/Dharmendra/ns-allinone-2.27/sgb' ./test_sample > sample.out diff test.gb test.correct diff sample.out sample.correct rm -f test.gb sample.out test_io test_io.exe test_graph test_graph.exe test_flip test_flip.exe test_sample test_sample.exe echo "Congratulations --- the tests have all been passed." Congratulations --- the tests have all been passed. touch certified cp: cannot create regular file `../gt-itm/lib/libgb.a': No such file or director y ============================================================ * Build GT-ITM ============================================================ sgb lib not found. gt-itm & sgb2ns could not be installed. Continuing.. ============================================================ * Build zlib ============================================================ Checking for gcc... Building static library libz.a version 1.1.4 with gcc. Checking for unistd.h... Yes. Checking for errno.h... Yes. Checking for mmap support... Yes. make: Nothing to be done for `all'. Zlib has been installed successfully. ============================================================ * 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 http://www.scriptics.com">www.scriptics.com i hope you got any useful page for solving these probs --------------------------------- Access over 1 million songs - Yahoo! Music Unlimited. --------------------------------- Have a burning question? Go to Yahoo! Answers and get answers from real people who know.