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

Re: [ns] ns-allinone-2.1b6 configure and compile problem




Ns-allinone's "install" script automatically passes several arguments
to configure when it builds to tell ns where the pieces are.
If you want to re-run configure, you need to pass these options.

Look in the install script for what these options.
My allinone has the line:

    ./configure --enable-gcc --with-otcl=../otcl-1.0a5 --with-tclcl=../tclcl-1.0b9 --with-tcl=../tclbox --with-tk=../tkbox --disable-static || die "Ns configuration failed! Exiting ..."

but that might have changed since the 2.1b6 release.
   -John


>I think you may have forgotten to give the tcl/tk paths when you did a
>configure ... a simple cobnfigure isnt enough. You have to check the exact
>the syntax ... check makefile.
>
>Debo
>
>On Mon, 25 Sep 2000, Pan Li wrote:
>
>> Hi, All:
>>      I have installed ns-allinone-2.1b6 successfully. Then I changed
>> some head files of ns-2.1b6 and
>> tried to recompile ns-2.1b6. I run ./configure , then I got following
>> error:
>> 
>> checking for gethostbyname in -lnsl... (cached) yes