[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ns in Linux?



Rafa Berenguer wrote:
> 
> Hi, everyone:
> 
>     I am trying to install the latest release ns-2.1b5 on Caldera Open
> Linux.
> When I tried to build the tk, I got an error like:

> ===========================================
> make
> 
> cc -c -O  -I. -I./../generic -I./../bitmaps -I/root/ns/tcl8.0/generic
> -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1
> -DTIME_WITH_SYS_TIME=1      ./tkAppInit.c
> In file included from ./tkAppInit.c:16:
> ../generic/tk.h:74: X11/Xlib.h: No such file or directory
> 
> Could anyone give me some advice on that? Thanks in advance.

Hi!

You'll have to install the development libraries for Xwindows because they are
not installed in a "vanilla" version. Then you'll get the appropriate header
files that are missing.

Best regards, Henrik Eriksson