Re: [ns] Aquasim installation problem

2015-03-15 Thread knudfl

> @nazish
> Xgraph

Xgraph isn't required for building ns2.  
But can be of use for "xgraph visualizations".

May be you can get it with $ *sudo apt-get* update && sudo apt-get install
xgraph

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Aquasim-installation-problem-tp29785p29814.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Aquasim installation problem

2015-03-11 Thread nazish


I did this:
 sudo apt-get install g++ g++-4.4 automake libtool libxmu-dev xgraph

but the output is:
Reading package lists... Done
Building dependency tree   
Reading state information... Done
E: Unable to locate package xgraph

how to solve it?



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Aquasim-installation-problem-tp29785p29800.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Aquasim installation problem

2015-03-11 Thread knudfl

> @nazish
> X11/Xlib.h: No such file or directory.

You will of course have to get the ns2 build prerequisites, before you can
build any ns2 :

$ sudo apt-get install g++ g++-4.4 automake libtool libxmu-dev xgraph

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Aquasim-installation-problem-tp29785p29797.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Aquasim installation problem

2015-03-11 Thread nazish

Sir, when I execute the following command:
 export CC=gcc-4.4 CXX=g++-4.4 && ./install

I am getting this error:

In file included from
/home/ubuntu/aquasim/tk8.4.13/unix/../generic/tkInt.h:21,
 from
/home/ubuntu/aquasim/tk8.4.13/unix/../generic/tk3d.h:18,
 from
/home/ubuntu/aquasim/tk8.4.13/unix/../generic/tk3d.c:16:
/home/ubuntu/aquasim/tk8.4.13/unix/../generic/tk.h:83: fatal error:
X11/Xlib.h: No such file or directory
compilation terminated.
make: *** [tk3d.o] Error 1
tk8.4.13 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com.

Please help.



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Aquasim-installation-problem-tp29785p29795.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Aquasim installation problem

2015-03-07 Thread knudfl

> @ nazish
> Aqua-Sim
> C compiler cannot create executables. 

$ sudo apt-get install g++-4.4

$ cd Aquasim/
$ patch -p0 < ns230_gcc44.patch
https://drive.google.com/file/d/0B7S255p3kFXNdHJpbkJ2Tm5mX00/view?usp=sharing
$ export CC=gcc-4.4 CXX=g++-4.4 && ./install

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Aquasim-installation-problem-tp29785p29786.html
Sent from the ns-users mailing list archive at Nabble.com.