Re: TCL/TK configure problems

Karl Eichwalder <ke@suse.de>

From: Karl Eichwalder <ke@suse.de>
To: "Stan Brown" <stanb@awod.com>
Cc: pgsql-hackers@hub.org
Date: 1999-01-10T09:34:50Z
Lists: pgsql-hackers
"Stan Brown" <stanb@awod.com> writes:

|   checking for tkConfig.sh... no
|   configure: warning: TK support disabled; Tk configuration script missing
|   
|   	I used teh --with-tcl and --with tk configure flags, so what's going on
|   	here?

The configure script wrongly thinks, tcl and tk are to be found at the
same loaction.  On SuSE Linux I've to use the following *ugly* hack:

--- pgsql/src/configure.in~	Fri Oct 30 03:146 1998
+++ pgsql/src/configure.in	Fri Oct 30 14:52:34 1998
@@ -790,7 +790,7 @@
 	AC_MSG_CHECKING(for tkConfig.sh)
 	TK_CONFIG_SH=
 	# library_dirs are set in the check for TCL
-	for dir in $library_dirs
+	for dir in /usr/X11R6/lib
 	do
 		if test -d "$dir" -a -r "$dir/tkConfig.sh"
 		then

-- 
Karl Eichwalder