Wie installiere ich NS 2.35 auf Ubuntu 14.04?

Wie installiere ich NS 2.35 auf Ubuntu 14.04?

Ich habe versucht, ns-2.35 auf Ubuntu 14.04 zu installieren. Aber ich habe das Problem

In file included from /home/mouli/ns-allinone-2.35/tk8.5.10/unix/../generic/tkInt.h:19:0,
                 from /home/mouli/ns-allinone-2.35/tk8.5.10/unix/../generic/tk3d.c:14:
/home/mouli/ns-allinone-2.35/tk8.5.10/unix/../generic/tk.h:76:23: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
make: *** [tk3d.o] Error 1
tk8.5.10 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com
mouli@ubuntu:~/ns-allinone-2.35$ ^C
mouli@ubuntu:~/ns-allinone-2.35$ 

Antwort1

Sie sollten installieren libx11. Führen Sie den folgenden Befehl aus:

sudo apt-get install libx11-dev

Dieses Paket bietet eine Client-Schnittstelle zum X Window System, auch bekannt als Xlib. Es bietet eine vollständige API für die grundlegenden Funktionen des Fenstersystems.

verwandte Informationen