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

Re: [ns] problem of compiling tk8.3.2



It looks like there is a problem with you X windows installation.  Check
to see if you have the file Xlib.h installed on your machine.



> king wrote:
> 
> hi,
>   I met the following problem when i made tk8.3.2,Please give me clue.
>   I am looking forward to your help.
> 
> my os: Linux 6.2
> 
> sincerely,
> Hui Wang
> 
> make
> cc -pipe -c -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -Wall
> -Wconversion -Wnc
> In file included from /home/week/tk8.3.2/unix/../generic/tkInt.h:21,
>                  from /home/week/tk8.3.2/unix/../generic/tk3d.h:18,
>                  from /home/week/tk8.3.2/unix/../generic/tk3d.c:16:
> /home/week/tk8.3.2/unix/../generic/tk.h:83: X11/Xlib.h: No such file
> or directoy
> In file included from /home/week/tk8.3.2/unix/../generic/tkPort.h:32,
>                  from /home/week/tk8.3.2/unix/../generic/tkInt.h:27,
>                  from /home/week/tk8.3.2/unix/../generic/tk3d.h:18,
>                  from /home/week/tk8.3.2/unix/../generic/tk3d.c:16:
> /home/week/tk8.3.2/unix/../generic/../unix/tkUnixPort.h:77:
> X11/Xlib.h: No suchy
> /home/week/tk8.3.2/unix/../generic/../unix/tkUnixPort.h:78:
> X11/cursorfont.h: Ny
> /home/week/tk8.3.2/unix/../generic/../unix/tkUnixPort.h:79:
> X11/keysym.h: No suy
> /home/week/tk8.3.2/unix/../generic/../unix/tkUnixPort.h:80:
> X11/Xatom.h: No sucy
> /home/week/tk8.3.2/unix/../generic/../unix/tkUnixPort.h:81:
> X11/Xproto.h: No suy
> /home/week/tk8.3.2/unix/../generic/../unix/tkUnixPort.h:82:
> X11/Xresource.h: Noy
> /home/week/tk8.3.2/unix/../generic/../unix/tkUnixPort.h:83:
> X11/Xutil.h: No sucy
> In file included from /home/week/tk8.3.2/unix/../generic/tkInt.h:21,
>                  from /home/week/tk8.3.2/unix/../generic/tk3d.h:18,
>                  from /home/week/tk8.3.2/unix/../generic/tk3d.c:16:
> /home/week/tk8.3.2/unix/../generic/tk.h:581: parse error before `Bool'
> /home/week/tk8.3.2/unix/../generic/tk.h:581: warning: no semicolon at
> end of stn
> /home/week/tk8.3.2/unix/../generic/tk.h:582: warning: data definition
> has no tys
> /home/week/tk8.3.2/unix/../generic/tk.h:583: parse error before
> `event'
> /home/week/tk8.3.2/unix/../generic/tk.h:583: warning: data definition
> has no tys
> /home/week/tk8.3.2/unix/../generic/tk.h:584: parse error before `root'
> /home/week/tk8.3.2/unix/../generic/tk.h:584: warning: data definition
> has no tys
> /home/week/tk8.3.2/unix/../generic/tk.h:585: parse error before
> `subwindow'
> /home/week/tk8.3.2/unix/../generic/tk.h:585: warning: data definition
> has no tys
> /home/week/tk8.3.2/unix/../generic/tk.h:586: parse error before `time'
> /home/week/tk8.3.2/unix/../generic/tk.h:586: warning: data definition
> has no tys
> /home/week/tk8.3.2/unix/../generic/tk.h:591: parse error before
> `same_screen'
> /home/week/tk8.3.2/unix/../generic/tk.h:591: warning: data definition
> has no tys
> /home/week/tk8.3.2/unix/../generic/tk.h:592: warning: data definition
> has no tys
> /home/week/tk8.3.2/unix/../generic/tk.h:597: parse error before `Bool'
> /home/week/tk8.3.2/unix/../generic/tk.h:597: warning: no semicolon at
> end of stn
> /home/week/tk8.3.2/unix/../generic/tk.h:598: warning: data definition
> has no tys
> /home/week/tk8.3.2/unix/../generic/tk.h:599: parse error before
> `window'
> /home/week/tk8.3.2/unix/../generic/tk.h:599: warning: data definition
> has no tys
> /home/week/tk8.3.2/unix/../generic/tk.h:600: warning: data definition
> has no tys
> /home/week/tk8.3.2/unix/../generic/tk.h:601: parse error before
> `XActivateEvent'
> /home/week/tk8.3.2/unix/../generic/tk.h:601: warning: data definition
> has no tys
> /home/week/tk8.3.2/unix/../generic/tk.h:602: parse error before
> `XDeactivateEve'
> /home/week/tk8.3.2/unix/../generic/tk.h:602: warning: data definition
> has no tys
> /home/week/tk8.3.2/unix/../generic/tk.h:657: parse error before
> `Display'
> /home/week/tk8.3.2/unix/../generic/tk.h:657: warning: no semicolon at
> end of stn
> /home/week/tk8.3.2/unix/../generic/tk.h:660: parse error before `*'
> /home/week/tk8.3.2/unix/../generic/tk.h:660: warning: data definition
> has no tys
> /home/week/tk8.3.2/unix/../generic/tk.h:662: parse error before
> `window'
> /home/week/tk8.3.2/unix/../generic/tk.h:662: warning: data definition
> has no tys
> /home/week/tk8.3.2/unix/../generic/tk.h:671: parse error before
> `changes'
> /home/week/tk8.3.2/unix/../generic/tk.h:671: warning: data definition
> has no tys
> /home/week/tk8.3.2/unix/../generic/tk.h:673: parse error before `atts'
> /home/week/tk8.3.2/unix/../generic/tk.h:673: warning: data definition
> has no tys
> /home/week/tk8.3.2/unix/../generic/tk.h:692: parse error before `}'
> /home/week/tk8.3.2/unix/../generic/tk.h:692: warning: data definition
> has no tys
> /home/week/tk8.3.2/unix/../generic/tk.h:787: parse error before
> `XPoint'
> /home/week/tk8.3.2/unix/../generic/tk.h:887: parse error before
> `Display'
> /home/week/tk8.3.2/unix/../generic/tk.h:889: parse error before
> `Display'
> /home/week/tk8.3.2/unix/../generic/tk.h:985: parse error before
> `XColor'
> /home/week/tk8.3.2/unix/../generic/tk.h:985: warning: no semicolon at
> end of stn
> /home/week/tk8.3.2/unix/../generic/tk.h:1015: parse error before `}'
> /home/week/tk8.3.2/unix/../generic/tk.h:1015: warning: data definition
> has no ts
> /home/week/tk8.3.2/unix/../generic/tk.h:1049: parse error before `GC'
> /home/week/tk8.3.2/unix/../generic/tk.h:1049: warning: no semicolon at
> end of sn
> /home/week/tk8.3.2/unix/../generic/tk.h:1061: parse error before `*'
> /home/week/tk8.3.2/unix/../generic/tk.h:1061: warning: data definition
> has no ts
> /home/week/tk8.3.2/unix/../generic/tk.h:1062: parse error before `*'
> /home/week/tk8.3.2/unix/../generic/tk.h:1062: warning: data definition
> has no ts
> /home/week/tk8.3.2/unix/../generic/tk.h:1063: parse error before `*'
> /home/week/tk8.3.2/unix/../generic/tk.h:1063: warning: data definition
> has no ts
> /home/week/tk8.3.2/unix/../generic/tk.h:1064: parse error before
> `stipple'
>