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

Re: [ns] problem when compiling nam.



You can change your nam's makefile.vc to point to that tcl8.0p2 etc. you
don't have to INSTALL those two packages.

On Wed, 23 Aug 2000, zhuang zhenyun wrote:

> dear haoboy,thank you.
> 
> but I am not sure about one thing:
>  I have installed tcl8.0.5 and tk8.0.5 in my machine when compiling ns.exe,
> should I install  tcl8.0p2 and tk8.0p2 ? and compile them first,and then compile
> nam with  these two directory?
> 
> really thanks!
> 
> zhuang
> ----- Original Message ----- 
> From: Haobo Yu <[email protected]>
> To: zhuang zhenyun <[email protected]>
> Cc: <[email protected]>
> Sent: Wednesday, August 23, 2000 6:45 AM
> Subject: Re: [ns] problem when compiling nam.
> 
> 
> > If you do a "dir /w" you'll see a autoconf-win32.h. Replace all autoconf.h
> > with this one.
> > 
> > Also you should download a patched tcl and tk 8.0p2 so that you can
> > statically link them into nam. (You also need to correct nam's makefile.vc
> > and set a macro something like STATIC_BUILD to 1.) OTHERWISE YOUR
> > COMPILED NAM WILL NOT START!
> > 
> > These two files are available at
> > http://www.isi.edu/nsnam/dist/tcltk/{tcl,tk}80p2-win32-static.zip
> > Notice that these two contain all libraries and executables prebuilt on
> > win98.
> > 
> > You MAY need to do a little bit tweak of some c files, but they are
> > minor, e.g., adding a 'return 0;' to some functions.
> > 
> > - Haobo
> > 
> > On Tue, 22 Aug 2000, zhuang zhenyun wrote:
> > 
> > > dear friends:
> > > 
> > >    when compiling nam-1.0a8,I encounterd the problem saying:
> > > " config.h(48): ...cannot open include file:'autoconf.h':no such file or directory."
> > > 
> > >    I use win98,have compiled ns successfully.
> > > 
> > > thank you in advance!
> > > zhuang
> > > 
> > 
>