[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] need help: installation problem



Hi there,

I have problem installing ns2. I posted this kind of message a month
agao,
but still can't resolve it.

The problem is: when I run ./configure for TCL8.0.4, it seems the
installation can't find many
c files it's looking for. I attach the copy of the info showed on the
screen. Also I use Linux (redhad
6.0). Same problem for installing newer version of TCL.
There is a TCL 8.0 pre-installed in the system.

I really need help, please!


Liang Qin

[liang@localhost unix]$ ./configure
loading cache ./config.cache
checking for ranlib... (cached) ranlib
checking whether cross-compiling... (cached) yes
checking for getcwd... (cached) no
checking for opendir... (cached) no
checking for strstr... (cached) no
checking for strtol... (cached) no
checking for tmpnam... (cached) no
checking for waitpid... (cached) no
checking for strerror... (cached) no
checking for getwd... (cached) no
checking for wait3... (cached) no
checking for uname... (cached) no
checking for sin... (cached) no
checking for -lieee... (cached) no
checking dirent.h... no
checking how to run the C preprocessor... (cached) /lib/cpp
checking for errno.h... (cached) no
checking for float.h... (cached) yes
checking for values.h... (cached) no
checking for limits.h... (cached) no
checking for stdlib.h... (cached) no
checking for string.h... (cached) no
checking for sys/wait.h... (cached) no
checking for dlfcn.h... (cached) no
checking for unistd.h... (cached) no
checking termios vs. termio vs. sgtty... none
checking fd_set and sys/select... no
checking for sys/time.h... (cached) no
checking whether time.h and sys/time.h may both be included... (cached) no
checking whether struct tm is in sys/time.h or time.h... (cached) sys/time.h
checking for tm_zone in struct tm... (cached) no
checking for tzname... (cached) no
checking tm_tzadj in struct tm... no
checking tm_gmtoff in struct tm... no
checking long timezone variable... no
checking time_t timezone variable... no
checking for st_blksize in struct stat... (cached) no
checking proper strstr implementation... broken, using substitute
checking for strtoul... (cached) no
checking for strtod... (cached) no
checking for strtod... (cached) no
checking for ANSI C header files... (cached) no
checking for mode_t... (cached) no
checking for pid_t... (cached) no
checking for size_t... (cached) no
checking for uid_t in sys/types.h... (cached) no
checking for opendir... (cached) no
checking union wait... no
checking matherr support... no
checking return type of signal handlers... (cached) int
checking for vfork... (cached) no
checking for strncasecmp... (cached) no
checking for -lsocket... (cached) no
checking for -linet... (cached) no
checking for BSDgettimeofday... (cached) no
checking for gettimeofday... (cached) no
checking for gettimeofday declaration... missing
checking for -linet... (cached) no
checking for net/errno.h... (cached) no
checking whether char is unsigned... (cached) no
checking signed char declarations... yes
checking for connect... (cached) no
checking for -lsocket... (cached) no
checking for accept... (cached) no
checking for gethostbyname... (cached) no
checking for -lnsl... (cached) no
checking system version (for dynamic loading)... Linux-2.2.13-4mdk
checking for -ldl... (cached) no
checking for dld.h... (cached) no
Can't figure out how to do dynamic loading or shared libraries
on this system.
checking for sys/ioctl.h... (cached) no
checking for sys/filio.h... (cached) no
checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK
creating ./config.status
[liang@localhost unix]$ make
cc -c -O   -I./../generic -I. -DUSEGETWD=1 -DNO_STRERROR=1 -DNO_GETWD=1 -DNO_WAIT3=1 -DNO_UNAME=1 -DNO_DIRENT_H=1 -DNO_ERRNO_H=1 -DNO_VALUES_H=1 -DNO_LIMITS_H=1 -DNO_STDLIB_H=1 -DNO_STRING_H=1 -DNO_SYS_WAIT_H=1 -DNO_DLFCN_H=1 -DNO_FD_SET=1
-DTM_IN_SYS_TIME=1 -Dmode_t=int -Dpid_t=int -Dsize_t=unsigned -Duid_t=int -Dgid_t=int -DUSE_DIRENT2_H=1 -DNO_UNION_WAIT=1 -DRETSIGTYPE=int -Dvfork=fork -DNO_GETTOD=1 -DGETTOD_NOT_DECLARED=1 -DHAVE_SIGNED_CHAR=1        -DTCL_SHLIB_EXT=\"\" ./../generic/panic.c
./../generic/panic.c:17: stdio.h: No such file or directory
In file included from ../generic/../compat/stdlib.h:23,
                 from ./../generic/panic.c:19:
../generic/tcl.h:133: stdio.h: No such file or directory
make: *** [panic.o] Error 1