No matter how hard I try, TCL and TK will not install...I'm trying to uses amsn. This is very frustrating as I'm a total newb to Linux. I'm using Mandrake 10 Community, kernel 2.6.3-4mdk I think. I am following instructions to ./configure and make install TCL before TK. Here are the messages.
make installing TK looks really screwy. IMO this should all be automatic. This is definately turning me off. Can anyone please help me get this stupid TK installed so I can use amsn? (unless you can think of something better than amsn to use
)
I can't even fit all of the error lines in here so here are some pieces that might help.
make installing in tk8.4.6 folder::
make install
gcc -pipe -c -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -Wall -Wconversion -Wno-implicit-int -fPIC -I/home/kika/tk8.4.6/unix -I/home/kika/tk8.4.6/unix/../generic -I/home/kika/tk8.4.6/unix/../bitmaps -I/home/kika/tcl8.4.3/generic -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DPEEK_XCLOSEIM=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/kika/tk8.4.6/unix/../generic/tk3d.c
In file included from /home/kika/tk8.4.6/generic/tkInt.h:21,
from /home/kika/tk8.4.6/generic/tk3d.h:18,
from /home/kika/tk8.4.6/generic/tk3d.c:16:
/home/kika/tk8.4.6/generic/tk.h:96:29: X11/Xlib.h: No such file or directory
In file included from /home/kika/tk8.4.6/generic/tkInt.h:21,
from /home/kika/tk8.4.6/generic/tk3d.h:18,
from /home/kika/tk8.4.6/generic/tk3d.c:16:
/home/kika/tk8.4.6/generic/tk.h:572: error: parse error before "Window"
/home/kika/tk8.4.6/generic/tk.h:572: error: `Window' declared as function returning a function
/home/kika/tk8.4.6/generic/tk.h:572: warning: parameter names (without types) in function declaration
/home/kika/tk8.4.6/generic/tk.h:575: error: parse error before "XEvent"
/home/kika/tk8.4.6/generic/tk.h:584: error: parse error before "Tk_ClassCreateProc"
/home/kika/tk8.4.6/generic/tk.h:584: warning: no semicolon at end of struct or union
/home/kika/tk8.4.6/generic/tk.h:592: error: parse error before '}' token
/home/kika/tk8.4.6/generic/tk.h:592: warning: data definition has no type or storage class
/home/kika/tk8.4.6/generic/tk.h:678: error: parse error before "Bool"
/home/kika/tk8.4.6/generic/tk.h:678: warning: no semicolon at end of struct or union
/home/kika/tk8.4.6/generic/tk.h:679: warning: data definition has no type or storage class
/home/kika/tk8.4.6/generic/tk.h:683: error: parse error before "time"
/home/kika/tk8.4.6/generic/tk.h:683: warning: data definition has no type or storage class
/home/kika/tk8.4.6/generic/tk.h:688: error: parse error before "same_screen"
/home/kika/tk8.4.6/generic/tk.h:688: warning: data definition has no type or storage class
/home/kika/tk8.4.6/generic/tk.h:689: warning: data definition has no type or storage class
this goes on forever yada yada
zation makes pointer from integer without a cast
/home/kika/tk8.4.6/generic/tk3d.c:1138: error: initializer element is not constant
/home/kika/tk8.4.6/generic/tk3d.c:1138: warning: data definition has no type or storage class
/home/kika/tk8.4.6/generic/tk3d.c:1139: error: request for member `x' in something not a structure or union
/home/kika/tk8.4.6/generic/tk3d.c:1139: error: request for member `x' in something not a structure or union
/home/kika/tk8.4.6/generic/tk3d.c:1139: warning: data definition has no type or storage class
/home/kika/tk8.4.6/generic/tk3d.c:1140: error: request for member `y' in something not a structure or union
/home/kika/tk8.4.6/generic/tk3d.c:1140: error: request for member `y' in something not a structure or union
/home/kika/tk8.4.6/generic/tk3d.c:1140: warning: data definition has no type or storage class
/home/kika/tk8.4.6/generic/tk3d.c:1141: error: parse error before "if"
/home/kika/tk8.4.6/generic/tk3d.c:1143: error: redefinition of `dy'
/home/kika/tk8.4.6/generic/tk3d.c:1140: error: `dy' previously defined here
/home/kika/tk8.4.6/generic/tk3d.c:1143: error: initializer element is not constant
/home/kika/tk8.4.6/generic/tk3d.c:1143: warning: data definition has no type or storage class
/home/kika/tk8.4.6/generic/tk3d.c:1144: error: parse error before '}' token
/home/kika/tk8.4.6/generic/tk3d.c:1149: error: redefinition of `dx'
/home/kika/tk8.4.6/generic/tk3d.c:1139: error: `dx' previously defined here
/home/kika/tk8.4.6/generic/tk3d.c:1149: error: initializer element is not constant
/home/kika/tk8.4.6/generic/tk3d.c:1149: warning: data definition has no type or storage class
/home/kika/tk8.4.6/generic/tk3d.c:1150: error: parse error before '}' token
/home/kika/tk8.4.6/generic/tk3d.c:1189: error: parse error before "XPoint"
/home/kika/tk8.4.6/generic/tk3d.c:1189: warning: data definition has no type or storage class
/home/kika/tk8.4.6/generic/tk3d.c:1190: error: parse error before '*' token
/home/kika/tk8.4.6/generic/tk3d.c:1190: warning: data definition has no type or storage class
and on for another gazillion lines...
{standard input}: Assembler messages:
{standard input}:697: Error: symbol `dy' is already defined
{standard input}:703: Error: symbol `dx' is already defined
{standard input}:750: Error: symbol `q' is already defined
{standard input}:756: Error: symbol `p' is already defined
{standard input}:762: Error: symbol `q' is already defined
{standard input}:768: Error: symbol `q' is already defined
make: *** [tk3d.o] Error 1
---
Now, I might be a new...but that's a LOT of parse errors, eh? WHAT IS THAT