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

Re: [ns] problem in 'make'ing xgraph



If you can send us the Makefile generated, someone might be able help you
further. Did you check what that fatal line was ?

Debo

On Tue, 11 Sep 2001, Raj M Verma wrote:

> 
> Hi, I checked in my ns/ns-allinone-2.1b8a/bin
> directory for the xgraph binary file but it wasn't
> there. The actual error that I'm getting while running
> the example is as follows.
> 
> /user/lh050479/raj/examples>ns example9b.tcl 
> ns: finish: couldn't execute "xgraph": no such file or
> directory 
> while executing "exec xgraph out0.tr out1.tr out2.tr
> -geometry 800x400 &"
> (procedure "finish" line 8)
> invoked from within "finish"
> /user/lh050479/raj/examples>
> 
> so I thought I must compile xgraph before trying to
> use it. then I was trying to compile by giving the
> command ./configure and I'm getting 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>
> 
> after this I'm trying to make it by giving the command
> 'make' and I'm getting the following message. 
> 
> /user/lh050479/raj/ns/ns-allinone-2.1b8a/xgraph-12.1>make
> Makefile:332: *** missing separator. stop.
> /user/lh050479/raj/ns/ns-allinone-2.1b8a/xgraph-12.1>
> 
> so I don't understand wat is the missing operator
> here. cud anyone help me how to use this xgraph
> please. thanx in advance. 
> Raj.
> 
> 
> 
> 
> 
> 
> 
> 
> --- Per Olesen <[email protected]> wrote:
> > Hi,
> > 
> > I'm quite new to ns myself, but maybe I can be of
> > some assistance anyway.
> > 
> > Do you have the xgraph binary anywhere already?
> > 
> > Chances are, if you've already build ns2 with all
> > the nice tools, that you 
> > have the binary already, but that you miss some
> > setup of your environment.
> > 
> > For example: I've installed the allinone2.1b7a on my
> > linux box, so I have the 
> > xgraph-binary in "ns-allinone-2.1b7a/bin". Try to
> > locate if you have the 
> > binary. If not, you should make it -- I trust
> > install instructions are 
> > somewhat clear about this. It installed/build
> > automatically in the 
> > allinone-release for me.
> > 
> > If you DO have the binary, chances are your path is
> > not including it. When 
> > you do "which xgraph" or "type xgraph" (don't know
> > which one works on 
> > Solaris) are you the told that none could be found?
> > 
> > If so, setup your path. I believe the install-script
> > (for allinone-release at 
> > least) tells you as the last step, how to set PATH,
> > LD_LIBRARY_PATH and  
> > TCL_LIBRARY. These are important.
> > 
> > Hope this helps!
> > 
> > Regards, Per Olesen
> > 
> > 
> > On Tuesday 11 September 2001 12:27, Raj M Verma
> > wrote:
> > > Dear ns-users, I'm having some problems while I'm
> > > trying to run the example4(about xgraph) in
> > section
> > > VIII from Marc Greis' tutorial. when I was trying
> > to
> > > run the example by giving the command "ns
> > > example4.tcl" it's saying that
> > >
> > > ns: finish: couldn't execute "xgraph": no such
> > file or
> > > directory
> > >
> > > so I went into the directory of xgraph and I
> > > configured it by using the command ./configure and
> > > then when I'm trying to run 'make' by giving the
> > > command "make" it is giving the followong message.
> > >
> > > Makefile:332:*** missing seperator. Stop.
> > >
> > > Is there any special way to make the xgraph
> > package?
> > > my version is ns2.1b8a and my OS is SunOS 5.7
> > >
> > > this is the 3rd time I'm putting the request. hope
> > I
> > > cud get a reply atleast this time.
> > > thanx,
> > > Raj.
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Get email alerts & NEW webcam video instant
> > messaging with Yahoo! Messenger
> > > http://im.yahoo.com
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
> http://im.yahoo.com
> 
>