Cannot get TK 8.4.5 to install on RH Linux 8.0
From: bb (bbeacham_at_desanasystems.com)
Date: 12/09/03
- Next message: Jeff Hobbs: "Re: Comfortable source file size?"
- Previous message: Aric Bills: "Re: TCL equivalent of PHP's ORD() function"
- Next in thread: Jeff Hobbs: "Re: Cannot get TK 8.4.5 to install on RH Linux 8.0"
- Reply: Jeff Hobbs: "Re: Cannot get TK 8.4.5 to install on RH Linux 8.0"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 8 Dec 2003 17:00:20 -0800
TK 8.4.5 will not build on Redhat 8.0. TCL 8.4.5 built and installed
without any issues. I downloaded the zip file, unzipped it, and
untarred it. Then followed the README installation procedure. I also
tried 8.3.5 with the same results. X windows is installed on the
computer and works fine.
Per the README the process is ./configure, make, make install.
I am not sure what is going on, but make gives this error message:
/home/robot/tcl/tk8.4.5/generic/tk.h:96:29: X11/Xlib.h: No such file
or directory
This code section is from tk.h and includes line 96. The comments
preceding this section state that is is for Window or Mac
installations. Also, since line 96 is commented out why is it even
being looked at?
<PRE>
#ifndef RC_INVOKED
#ifndef _XLIB_H
# if defined (MAC_TCL)
# include <Xlib.h>
# include <X.h>
# elif defined(MAC_OSX_TK)
# include <X11/Xlib.h>
# include <X11/X.h>
# else
# include <X11/Xlib.h> ;# line 96
# endif
#endif
#ifdef __STDC__
# include <stddef.h>
#endif
</PRE>
This is the output from ./configure, and make
<PRE>
[root@Iwl unix]# ./configure
loading cache ./config.cache
checking for Tcl configuration... found
/home/robot/tcl/tcl8.4.5/unix/tclConfig.sh
checking for existence of
/home/robot/tcl/tcl8.4.5/unix/tclConfig.sh... loading
checking whether to use symlinks for manpages... no
checking compression for manpages... no
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for unistd.h... yes
checking for limits.h... yes
checking for building with threads... no (default)
checking if the compiler understands -pipe... yes
checking for required early compiler flags... _LARGEFILE64_SOURCE
checking for 64-bit integer type... long long
checking for struct dirent64... no
checking for struct stat64... yes
checking for off64_t... yes
checking how to build libraries... shared
checking for ranlib... ranlib
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)... Linux-2.4.18-14
checking for dlopen in -ldl... yes
checking for ar... ar
checking for build with symbols... no
checking for sin... no
checking for main in -lieee... yes
checking stdlib.h... yes
checking fd_set and sys/select... yes
checking for ANSI C header files... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking pw_gecos in struct pwd... yes
checking for X... no
checking for X11 header files... checking for X11 libraries...
checking for XCreateWindow in -lXwindow... no
couldn't find any! Using -lX11.
checking for main in -lXbsd... no
checking for connect... yes
checking for gethostbyname... yes
checking for sin... (cached) no
checking for main in -lieee... (cached) yes
checking whether char is unsigned... no
checking for strtod... yes
checking for Solaris2.4/Tru64 strtod bugs... ok
updating cache ./config.cache
creating ./config.status
creating Makefile
creating tkConfig.sh
[root@Iwl unix]#
[root@Iwl unix]# make
gcc -pipe -c -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -Wall
-Wconversion -Wno-implicit-int -fPIC -I/home/robot/tcl/tk8.4.5/unix
-I/home/robot/tcl/tk8.4.5/unix/../generic
-I/home/robot/tcl/tk8.4.5/unix/../bitmaps
-I/home/robot/tcl/tcl8.4.5/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/robot/tcl/tk8.4.5/unix/../generic/tk3d.c
In file included from /home/robot/tcl/tk8.4.5/generic/tkInt.h:21,
from /home/robot/tcl/tk8.4.5/generic/tk3d.h:18,
from /home/robot/tcl/tk8.4.5/generic/tk3d.c:16:
/home/robot/tcl/tk8.4.5/generic/tk.h:96:29: X11/Xlib.h: No such file
or directory
In file included from /home/robot/tcl/tk8.4.5/generic/tkInt.h:21,
from /home/robot/tcl/tk8.4.5/generic/tk3d.h:18,
from /home/robot/tcl/tk8.4.5/generic/tk3d.c:16:
/home/robot/tcl/tk8.4.5/generic/tk.h:573: parse error before "Window"
/home/robot/tcl/tk8.4.5/generic/tk.h:573: `Window' declared as
function returning a function
/home/robot/tcl/tk8.4.5/generic/tk.h:573: warning: parameter names
(without types) in function declaration
/home/robot/tcl/tk8.4.5/generic/tk.h:576: parse error before "XEvent"
/home/robot/tcl/tk8.4.5/generic/tk.h:584: parse error before
"Tk_ClassCreateProc"
/home/robot/tcl/tk8.4.5/generic/tk.h:584: warning: no semicolon at end
of struct or union
/home/robot/tcl/tk8.4.5/generic/tk.h:592: parse error before '}' token
/home/robot/tcl/tk8.4.5/generic/tk.h:592: warning: data definition has
no type or storage class
/home/robot/tcl/tk8.4.5/generic/tk.h:678: parse error before "Bool"
/home/robot/tcl/tk8.4.5/generic/tk.h:678: warning: no semicolon at end
of struct or union
/home/robot/tcl/tk8.4.5/generic/tk.h:679: warning: data definition has
no type or storage class
/home/robot/tcl/tk8.4.5/generic/tk.h:683: parse error before "time"
/home/robot/tcl/tk8.4.5/generic/tk.h:683: warning: data definition has
no type or storage class
/home/robot/tcl/tk8.4.5/generic/tk.h:688: parse error before
"same_screen"
/home/robot/tcl/tk8.4.5/generic/tk.h:688: warning: data definition has
no type or storage class
/home/robot/tcl/tk8.4.5/generic/tk.h:689: warning: data definition has
no type or storage class
/home/robot/tcl/tk8.4.5/generic/tk.h:694: parse error before "Bool"
/home/robot/tcl/tk8.4.5/generic/tk.h:694: warning: no semicolon at end
of struct or union
/home/robot/tcl/tk8.4.5/generic/tk.h:695: warning: data definition has
no type or storage class
/home/robot/tcl/tk8.4.5/generic/tk.h:697: parse error before '}' token
/home/robot/tcl/tk8.4.5/generic/tk.h:697: warning: data definition has
no type or storage class
/home/robot/tcl/tk8.4.5/generic/tk.h:698: parse error before
"XActivateEvent"
/home/robot/tcl/tk8.4.5/generic/tk.h:698: warning: data definition has
no type or storage class
/home/robot/tcl/tk8.4.5/generic/tk.h:699: parse error before
"XDeactivateEvent
</PRE>
Any suggestions would be greatly appreciated.
Bud Beacham
budbeacham@yahoo.com
- Next message: Jeff Hobbs: "Re: Comfortable source file size?"
- Previous message: Aric Bills: "Re: TCL equivalent of PHP's ORD() function"
- Next in thread: Jeff Hobbs: "Re: Cannot get TK 8.4.5 to install on RH Linux 8.0"
- Reply: Jeff Hobbs: "Re: Cannot get TK 8.4.5 to install on RH Linux 8.0"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|