LinuxQuestions.org
Visit Jeremy's Blog.
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 11-13-2004, 07:31 AM   #1
Arild2
LQ Newbie
 
Registered: Oct 2004
Location: Stockholm, Sweden
Distribution: Redhat 8.0
Posts: 19

Rep: Reputation: 0
Question problems installing Tk (of Tcl/Tk)


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
 
Old 11-13-2004, 11:04 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
Quote:
X11/Xlib.h: No such file or directory
not finding x developement headers

either x-devel not installed or no X11 link in /usr/include to /usr/X11R6/include/X11
 
Old 12-14-2007, 11:58 PM   #3
mdb
LQ Newbie
 
Registered: Aug 2004
Location: Flagstaff, AZ
Posts: 19

Rep: Reputation: 0
Thank you for the help

your help continues to live on! I search all over the internet and you are the only one I found with the solution...thanks again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Help with installing tcl into home directory tuxfood Debian 3 07-31-2005 06:22 AM
Installing Tcl/Tk Quiber SUSE / openSUSE 1 01-18-2005 10:08 AM
Problems installing TCL/TK in Fedora C2 quilop Linux - Software 1 07-09-2004 07:28 AM
Installing tcl/tk on Mandrake 9.1 rish Mandriva 1 09-06-2003 11:41 PM
installing eggdrop (tcl issues) Vallu Linux - Software 0 05-04-2002 12:35 PM

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

All times are GMT -5. The time now is 10:10 AM.

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