install NS 2 on Ubuntu

Alan Pope alan at popey.com
Tue Sep 20 14:05:29 UTC 2011


On 20 September 2011 14:41, Leila M <mech.loulou at gmail.com> wrote:
> Hi, I was using Ubuntu 9.04 but now I moved to Ubuntu 11.04 and I'm trying
> to install NS 2.34. when executing the following command:
> ./install
>
> I got the following error :
>
> ...
>  from
> /home/leila/loulou/ns-allinone-2.34/tk8.4.18/unix/../generic/tk3d.c:16:
> /home/leila/loulou/ns-allinone-2.34/tk8.4.18/unix/../generic/tk.h:81:23:
> fatal error: X11/Xlib.h: No such file or directory

This indicates you're missing some build dependency. Install is thus:-

sudo apt-get install libx11-dev

Then re-try the install script.

Al.




More information about the ubuntu-users mailing list