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

Re: [ns] I have a problem with the command "./configure"



use ./install with the allinone release. or use this:

to configure ns, use 

./configure --with-otcl=../otcl-1.0a5 --with-tclcl=../tclcl-1.0b9
--with-tcl=../tclbox --with-tk=../tkbox --disable-static

substitute tck and tk paths if you need to.

debo

ps: your messages are not pine/elm friendly. 

> I have a problem with the command ./configure.
> Then I saw http://www.isi.edu/nsnam/ns/ns-problems.html. and I found my problem:
> 
> Problem:Configure on some platforms fail with this error message: 
> checking for tk.h... configure: error: NONE is not a directory 
> Solution:Apply the following patch to configure (thanks to the report and fix by Guillermo Rodriguez Garcia) : 
> 
> --- configure.old       Tue Feb 22 14:25:15 2000
> +++ configure   Mon Mar  6 12:45:35 2000
> @@ -2021,7 +2021,7 @@
>    withval="$with_tk"
>    d=$withval
>  else
> -  d=$prefix
> +  d=""
>  fi
> 
> So I modified the file configure and re-ran ./configure with this surprise:
> 
> [root@localhost ns-2.1b6]# ./configure
> loading cache ./config.cache
> No .configure file found in current directory
> Continuing with default options...
> checking..............
> .....................
> checking for tk.h... -I../tk8.0.4/generic
> checking.............
> .....................
> configure: error: otcl is required but could not be completely found.
> 
> How can I do?
>  
> 
> 
>