Hi,

I eventually succeeded compiling ns.
It was pretty tricky, and I have no clue why it was such a pain (apart 
from using
cygwin on vista, which is admittedly the hard way to proceed)
Here is what I did:
I installed tcl8.4.15 and it compiled smoothly with cygwin.
Then I installed tk8.4.15 and the compilation failed with an
error saying that tkWinDefault.h could not be found (during the 
compilation of tkButtons)
I found tkWinDefault.h in the directory win/ and I copied it to the 
directory unix/

That solved the problem and tk8.4.15 finished to compile smoothly.

Then I compiled otcl. The configure failed due to lack of X11 libraries.
I replaced in the configure file the line:
if test -r $i/libX11.a -o -r $i/libX11.so; then
with the line
if test -r $i/libX11.a -o -r $i/libX11.so -o -r $i/libX11.dll.a; then

then I ran configure and make without problem.

I had the same problem with tclcl.
I used the same trick (replacing the line in the configure file)

For both otcl and tclcl configure do not forget to use the options 
--with-tcl and --with-tk with the ./configure.

then I ran configure and make for ns, and it worked.

I hope that may help someone who will face the same problems.

Arnaud.




Arnaud Legout wrote:
>
> ------------------------------------------------------------------------
>
> Hello,
>
> I am trying to compiling ns on windows vista without success. The
> compilation process
> fails during the tcl compilation.
>
> I am on windows vista 32bit, with the latest version of cygwin 1.5.24-2
> (gcc 3.4.4).
> I have tried ns-allinone2.31, ns-allinone 2.29-3. Both fail with an
> error during the compilation.
> I attached the compilation error for ns-allinone2.31
>
> Does anybody successfully build ns on vista?
>
> Regards,
> Arnaud.
>
>

Reply via email to