You can try run the following command in terminal.

sudo apt-get install build-essential

sudo apt-get install tcl8.4 tcl8.4-dev tk8.4 tk8.4-dev

sudo apt-get install libxmu-dev



On Sun, Mar 7, 2010 at 11:35 PM, tarik tarik <emtari...@gmail.com> wrote:

>
> I want to install NS2.27 on ubuntu 9.10.
> but it indicate the following problem
>
> ============================================================
> * Build tcl8.4.5
> ============================================================
> loading 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: 1: Syntax
> error: Unterminated quoted string
> *tcl8.3.2 configuration failed! Exiting ...
> Tcl is not part of the ns project. Please see
> www.Scriptics.com<http://www.scriptics.com/>
> to see if they have a fix for your platform.*
>
>
>
>
>
> thanks
>

Reply via email to