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

Re: [ns] nam1.0a10 installation problem



I have successfully configured nam but when I run make I get the following 
message:

/e/local/include  netview.cc
In file included from bbox.h:39,
                 from netview.cc:44:
/e/local/include/X11/Xlib.h:2063: ANSI C++ forbids declaration 
`XSetTransientForHint' with no type
/e/local/include/X11/Xlib.h:2071: ANSI C++ forbids declaration 
`XActivateScreenSaver' with no type
/e/local/include/X11/Xlib.h:2078: ANSI C++ forbids declaration `XAddHost' 
with no type
/e/local/include/X11/Xlib.h:2086: ANSI C++ forbids declaration `XAddHosts' 
with no type
/e/local/include/X11/Xlib.h:2093: ANSI C++ forbids declaration 
`XAddToExtensionList' with no type
/e/local/include/X11/Xlib.h:2100: ANSI C++ forbids declaration 
`XAddToSaveSet' with no type
/e/local/include/X11/Xlib.h:2154: ANSI C++ forbids declaration 
`XAllowEvents' with no type
/e/local/include/X11/Xlib.h:2160: ANSI C++ forbids declaration 
`XAutoRepeatOff' with no type
/e/local/include/X11/Xlib.h:2166: ANSI C++ forbids declaration 
`XAutoRepeatOn' with no type
.......
.......

/e/local/include/X11/Xlib.h:4156: ANSI C++ forbids declaration 
`XWindowEvent' with no type
make: *** [netview.o] Error 1

Could anybody give me a hand with this problem? How can I fix this?
Thanks!


>From: Xuan Chen <[email protected]>
>To: "Anastasia R." <[email protected]>
>CC: <[email protected]>
>Subject: Re: [ns] nam1.0a10 installation problem
>Date: Tue, 26 Jun 2001 18:56:09 -0700 (PDT)
>
>On Tue, 26 Jun 2001, Anastasia R. wrote:
>
> > Hello!
> >
> > I have successfully installed all parts of ns-2 except nam1.0a10. When I 
>run
> > ./configure I get the following message:
> >
> > checking for tcl.h... -I/homes/stas/tcl8.0.5/generic
> > checking for libtcl8.3... no
> > checking for init.tcl... /homes/stas/tcl8.0.5/library
> > checking for tclsh8.3.2... no
> > checking for tclsh8.3... no
> > checking for tclsh... /usr/local/bin/tclsh
> > configure: error: Installation of tcl seems incomplete or can't be found
> > automatically.
> > Please correct the problem by telling configure where tcl is
> > using the argument --with-tcl=/path/to/package
> > (perhaps after installing it),
> > or the package is not required, disable it with --with-tcl=no.
> >
> >
> > Then I ran ./configure -with-tcl=../tcl8.0.5/ -with-tk=../tk8.0.5/
>for ns-2.1b8, you need tcl/tk 8.3.2
>
>Thanks,
>-chen xuan
>
> >
> > which worked for installation of other parts of ns-2, but I get the same
> > error message again. Does anybody have any hints about what to do about 
>this
> > problem?
> >
> > Thanks!
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at http://explorer.msn.com
> >
>
>--
>Xuan Chen
>USC/ISI
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com