Tcl installed succesfully. But now I have problems with installing Tk:
I configured it. Now I type make.
In the first few lines, it says:
Code:
gcc -pipe -c -O2 -Wall -Wno-implicit-int -fno-strict-aliasing -fPIC -I/home/Arild/tk8.4.7/unix -I/home/Arild/tk8.4.7/unix/../generic -I/home/Arild/tk8.4.7/unix/../bitmaps -I/home/Arild/tcl8.4.7/generic -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /home/Arild/tk8.4.7/unix/../generic/tk3d.c
In file included from /home/Arild/tk8.4.7/generic/tkInt.h:21,
from /home/Arild/tk8.4.7/generic/tk3d.h:18,
from /home/Arild/tk8.4.7/generic/tk3d.c:16:
/home/Arild/tk8.4.7/generic/tk.h:96:29: X11/Xlib.h: No such file or directory
In file included from /home/Arild/tk8.4.7/generic/tkInt.h:21,
from /home/Arild/tk8.4.7/generic/tk3d.h:18,
from /home/Arild/tk8.4.7/generic/tk3d.c:16:
/home/Arild/tk8.4.7/generic/tk.h:573: parse error before "Window"
/home/Arild/tk8.4.7/generic/tk.h:573: `Window' declared as function returning a function
/home/Arild/tk8.4.7/generic/tk.h:573: warning: parameter names (without types) in function declaration
and then it continiues showing different kinds of errors, and in the last few lines, it says:
Code:
{standard input}: Assembler messages:
{standard input}:702: Error: symbol `dy' is already defined
{standard input}:709: Error: symbol `dx' is already defined
{standard input}:763: Error: symbol `q' is already defined
{standard input}:770: Error: symbol `p' is already defined
{standard input}:777: Error: symbol `q' is already defined
{standard input}:784: Error: symbol `q' is already defined
make: *** [tk3d.o] Error 1