[ns] ns path and xgraph ... gadir
Miguel Griot
mgriot@iie.edu.uy
Tue Apr 9 10:50:03 2002
> I've got the same problem because I don't have libX11.a. Where can I
> get it?
>
> Debojyoti Dutta wrote:
>
> > > Hi...
> > > I face problem with ns2 and with xgraph....
> > >
> > > I installed ns-2allinone2.1b8a and when validating few tests
> > > faild... it
> > > said something about xgraph..
> > >
> > > I tried to re install xgraph-12.1 but it displys this message....
> > >
> > > [root@linux6 xgraph-12.1]# make
> > > gcc -g -o xgraph xgraph.o xgX.o hard_devices.o dialog.o
> > > hpgl.o ps.o
> > > idraw.o xtb.o st.o params.o alloc.o draw.o init.o read.o tgif.o
> > > derivative.o
> > > -lX11 -lm
> > > /usr/bin/ld: cannot find -lX11
> > > collect2: ld returned 1 exit status
> > > make: *** [xgraph] Error 1
> >
> > check whether you have libX11.a somewhere. thats why you get this
> >
> > >
> > > ----------------------------============
> > > Then I tried to run one of the tutorial examples in ns
> > > the result was like this :
> > >
> > > [root@linux6 bin]# ./ns example1a.tcl
> > > ns: finish: couldn't execute "nam": no such file or directory
> > > while executing
> > > "exec nam out.nam &"
> > > (procedure "finish" line 7)
> > > invoked from within
> > > "finish"
> > > [root@linux6 bin]#
> > >
> >
> > this is a natural ourtcome of the previosu problem