I think you don't seem to have Tcl/Tk development packages for Debian.
You could probably do "sudo apt-get install tcl8.3-dev tk8.3-dev", and
then try again ns-2 installation.

-SH


On 1/11/06, Leonardo Maccari
<[EMAIL PROTECTED]> wrote:
>
>
> I'm trying to install ns2 2.29 (tried 2.28 too) on debian testing.  If I
> understood correctly the allinone package should contain all I need, apart
> x library that I have installed separately, but installation script fails
> with this:
>
> ============================================================
> * Build tcl8.4.5
> ============================================================
> creating cache ./config.cache
> checking whether to use symlinks for manpages... no
> checking compression for manpages... no
> checking for gcc... 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... yes
> checking whether gcc accepts -g... yes
> checking how to run the C preprocessor... gcc -E
> checking for unistd.h... yes
> checking for limits.h... yes
> checking for building with threads... no (default)
> checking if the compiler understands -pipe... yes
> checking for required early compiler flags...  _LARGEFILE64_SOURCE
> checking for 64-bit integer type... long long
> checking for struct dirent64... no
> checking for struct stat64... yes
> checking for off64_t... yes
> checking whether byte ordering is bigendian... no
> checking for getcwd... yes
> checking for opendir... yes
> checking for strstr... yes
> checking for strtol... yes
> checking for strtoll... yes
> checking for strtoull... yes
> checking for tmpnam... yes
> checking for waitpid... yes
> checking for strerror... yes
> checking for getwd... yes
> checking for wait3... yes
> checking for uname... yes
> checking for realpath... yes
> checking dirent.h... yes
> checking for errno.h... yes
> checking for float.h... yes
> checking for values.h... yes
> checking for limits.h... (cached) yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for sys/wait.h... yes
> checking for dlfcn.h... yes
> checking for unistd.h... (cached) yes
> checking for sys/param.h... yes
> checking for sys/modem.h... no
> checking termios vs. termio vs. sgtty... termios
> checking for fd_set in sys/types... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking for sys/time.h... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking for tm_zone in struct tm... yes
> checking for gmtime_r... yes
> checking for localtime_r... yes
> checking tm_tzadj in struct tm... no
> checking tm_gmtoff in struct tm... yes
> checking long timezone variable... yes
> checking for st_blksize in struct stat... yes
> checking for fstatfs... yes
> checking for 8-bit clean memcmp... yes
> checking for memmove... yes
> checking proper strstr implementation... yes
> checking for strtoul... yes
> checking for strtod... yes
> checking for strtod... (cached) yes
> checking for Solaris2.4/Tru64 strtod bugs... ok
> checking for ANSI C header files... yes
> checking for mode_t... yes
> checking for pid_t... yes
> checking for size_t... yes
> checking for uid_t in sys/types.h... yes
> checking for socklen_t... yes
> checking for opendir... (cached) yes
> checking union wait... yes
> checking for strncasecmp... yes
> checking for BSDgettimeofday... no
> checking for gettimeofday... yes
> checking for gettimeofday declaration... present
> checking whether char is unsigned... no
> checking signed char declarations... yes
> checking for a putenv() that copies the buffer... no
> checking for langinfo.h... yes
> checking whether to use nl_langinfo... yes
> checking for sin... no
> checking for main in -lieee... yes
> checking for main in -linet... no
> checking for net/errno.h... no
> checking for connect... yes
> checking for gethostbyname... yes
> checking how to build libraries... static
> checking for ranlib... ranlib
> checking if 64bit support is requested... no
> checking if 64bit Sparc VIS support is requested... no
> checking system version (for dynamic loading)... ./configure: line 7068:
> syntax error near unexpected token `)'
> ./configure: line 7068: `       OSF*)'
> tcl8.3.2 configuration failed! Exiting ...
> Tcl is not part of the ns project.  Please see www.Scriptics.com
> to see if they have a fix for your platform.
>
>
> the configure file giving error is the tcl8.4.5 configure:
>
>
>  case $system in
>        # There used to be code here to use FIONBIO under AIX.  However,
>        # it
>        # was reported that FIONBIO doesn't work under AIX 3.2.5.  Since
>        # using O_NONBLOCK seems fine under AIX 4.*, I removed the FIONBIO
>        # code (JO, 5/31/97).
>
>
> ###
> ### following is line 7068
> ###
>
>        OSF*)
>            cat >> confdefs.h <<\EOF
> #define USE_FIONBIO 1
> EOF
>
>            echo "$ac_t""FIONBIO" 1>&6
>            ;;
>        SunOS-4*)
>            cat >> confdefs.h <<\EOF
> #define USE_FIONBIO 1
> EOF
>
>            echo "$ac_t""FIONBIO" 1>&6
>            ;;
>        ULTRIX-4.*)
>            cat >> confdefs.h <<\EOF
> #define USE_FIONBIO 1
> EOF
>
>            echo "$ac_t""FIONBIO" 1>&6
>            ;;
>        *)
>            echo "$ac_t""O_NONBLOCK" 1>&6
>            ;;
>    esac
>
>
> I couldn't find any help in archives or website.
>
> suggestions?
>
> ciao,
> leonardo.
>
> --
>   Key fingerprint = 3129 C583 F03B 2E73 0115  C040 3489 0185 B592 19FE
>  Obviously -thisaintpartofmyaddress- is not part of my real email address
>
>

Reply via email to