
우분투 14.04에 ns-2.35를 설치하려고 했는데 이런 문제가 발생했습니다.
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$
답변1
을 설치해야 합니다 libx11
. 다음 명령을 실행하십시오.
sudo apt-get install libx11-dev
이 패키지는 X Window System( 라고도 함)에 대한 클라이언트 인터페이스를 제공합니다 Xlib
. 윈도우 시스템의 기본 기능에 대한 완전한 API를 제공합니다.