LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problems installing Tk (of Tcl/Tk) (https://www.linuxquestions.org/questions/linux-software-2/problems-installing-tk-of-tcl-tk-254306/)

Arild2 11-13-2004 07:31 AM

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

:(

foo_bar_foo 11-13-2004 11:04 AM

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

mdb 12-14-2007 11:58 PM

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.


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