LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-31-2004, 12:14 AM   #1
lostlyre
Member
 
Registered: Mar 2004
Location: Fairfield, OH
Distribution: Gentoo 2005.1 AMD64 2.6.12-r6
Posts: 41

Rep: Reputation: 15
Unhappy tcl and tk WON'T install


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
 
Old 03-31-2004, 02:05 AM   #2
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Rep: Reputation: 30
hello

i faced this problem when i was installing amsn in redhat 9 ,
please install develments tools and then install tk or tcl (develment tools are in linux cd just run add and remove programe
and select all develments tools), it will work
aftre installtion just tyep wish amsn will rum amsn

regards
 
Old 03-31-2004, 02:11 AM   #3
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Rep: Reputation: 30
hello
u can also visit this link regarding istalling issue

http://www.linuxquestions.org/questi...393#post396393

thanks
 
Old 03-31-2004, 02:15 AM   #4
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Rep: Reputation: 30
hello

here is links regarding tcl and tk for amn

http://www.linuxquestions.org/questi...272#post396272

thanks
 
Old 03-31-2004, 06:55 AM   #5
lostlyre
Member
 
Registered: Mar 2004
Location: Fairfield, OH
Distribution: Gentoo 2005.1 AMD64 2.6.12-r6
Posts: 41

Original Poster
Rep: Reputation: 15
I installed tcl8.3 and then tried to install the tcl8.3.5 rpm as suggested by the thread you gave me. Here is the error I received when rpm -Uvh the tk8.3 rpm:

warning: tk-8.3.5-88asp.i386.rpm: V3 DSA signature: NOKEY, key ID 9b3c94f4
error: Failed dependencies:
libtcl8.3.so is needed by tk-8.3.5-88asp

Any ideas?
 
Old 03-31-2004, 06:56 AM   #6
lostlyre
Member
 
Registered: Mar 2004
Location: Fairfield, OH
Distribution: Gentoo 2005.1 AMD64 2.6.12-r6
Posts: 41

Original Poster
Rep: Reputation: 15
on locating libtcl.so it said that it is in my usr/local/lib/ directory

locate libtcl8.3
/home/kika/tcl8.3.5/unix/libtcl8.3.so

Hope this helps, any ideas?
 
Old 03-31-2004, 07:18 AM   #7
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Rep: Reputation: 30
try this link

http://www.linuxsecurity.com/advisor...sory-2278.html


may u solve problem
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where to install BWidget (tcl) yapp Linux - Software 3 01-16-2006 07:13 PM
I can't install ActiveState Tcl uslic001 Linux - Software 3 03-18-2004 11:45 AM
how to install tcl/tk Boomba Linux - Newbie 3 01-22-2004 11:34 PM
trying to install tcl/tk jasonmcneil0 Linux - Software 1 10-18-2003 11:07 PM
TCL/TK install isom3tric Linux - Software 1 09-12-2003 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration