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

Re: [ns] how to 'make' xgraph



I have already built and installed ns-allinone-2.1b8a
long time back. I'm using the nam successfully except
for some xamples where I'm not able to see the
topology on the screen. my problem is only with
xgraph. when I installed ns-allinone-2.1b8a, it
mentioned in the install-result file that I've to
compile my xgraph seperately. so now I'm trying to
compile it seperately by going into the xgraph
directory and I'm not able to succeed -_- any
suggestions??
Raj.
         

--- Nirmal Prasad <[email protected]> wrote:
> If you are trying to build ns-allinone-2.1b8a then
> you
> need to run ./install not ./configure (the install
> script invokes configure and make for all the
> components and in the right order).
> 
> I have been able to build on SunOS 5.8 so it should
> build under 5.7.
> -Nirmal
> --- Raj M Verma <[email protected]> wrote:
> > hi, I've already posted this prob long time back
> but
> > I
> > didn't get any fruitful suggestion. The problem is
> > that I'm not able to get a binary for xgraph. I've
> > downloaded ns-allinone-2.1b8a a month ago and I'm
> > trying to run some examples in xgraph but it's
> > saying
> > that "couldn't execute xgraph: no such file or
> > directory" that means it's checking for binary of
> > xgraph. I know that there isn't any bin for xgraph
> > and
> > that we've to compile it seperately and set the
> path
> > later. so I was trying to compile it as per the
> > instructions given in the install file in the
> > xgraph-12.1 directory. I'm using SunOS 5.7
> version.
> > When I'm giving ./configure under this directory,
> > it's
> > giving the following output. 
> > 
> >
>
/user/lh050479/raj/ns/ns-allinone-2.1b8a/xgraph-12.1>./configure
> > loading cache ./config.cache
> > checking for a BSD compatible install... (cached)
> > /pool/local/bin/install -c
> > checking whether build environment is sane... yes
> > checking whether make sets ${MAKE}... (cached) yes
> > checking for working aclocal... found
> > checking for working autoconf... found
> > checking for working automake... found
> > checking for working autoheader... found
> > checking for working makeinfo... found
> > checking if malloc debugging is wanted... no
> > checking for gcc... (cached) gcc
> > checking whether the C compiler (gcc  ) works...
> yes
> > checking whether the C compiler (gcc  ) is a
> > cross-compiler... no
> > checking whether we are using GNU C... (cached)
> yes
> > checking whether gcc accepts -g... (cached) yes
> > checking how to run the C preprocessor... (cached)
> > gcc
> > -E
> > checking for X... (cached) libraries
> > /usr/openwin/lib,
> > headers /usr/openwin/include
> > checking whether -R must be followed by a space...
> > no
> > checking for dnet_ntoa in -ldnet... (cached) no
> > checking for dnet_ntoa in -ldnet_stub... (cached)
> no
> > checking for gethostbyname... (cached) no
> > checking for gethostbyname in -lnsl... (cached)
> yes
> > checking for connect... (cached) no
> > checking for connect in -lsocket... (cached) yes
> > checking for remove... (cached) yes
> > checking for shmat... (cached) yes
> > checking for IceConnectionNumber in -lICE...
> > (cached)
> > yes
> > checking for float.h... (cached) yes
> > checking for limits.h... (cached) yes
> > checking for stdlib.h... (cached) yes
> > checking for string.h... (cached) yes
> > checking for strings.h... (cached) yes
> > checking for unistd.h... (cached) yes
> > checking for strcasecmp... (cached) yes
> > creating ./config.status
> > creating Makefile
> > creating autoconf.h
> > autoconf.h is unchanged
> >
>
/user/lh050479/raj/ns/ns-allinone-2.1b8a/xgraph-12.1>
> > 
> > Now I gave the command 'make' to compile the
> package
> > and I'm getting the following message.
> > 
> > Makefile:332: *** missing separator. stop.
> > 
> > so I wonder wat this missing operator is. I wud
> > really
> > appreciate if u can help me in using the xgraph. 
> > thanx.
> > Raj.

__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com