Re: TCL/TK configure problems - Mailing list pgsql-hackers

From Karl Eichwalder
Subject Re: TCL/TK configure problems
Date
Msg-id shww2veait.fsf@Frechet.suse.de
Whole thread Raw
In response to TCL/TK configure problems  ("Stan Brown" <stanb@awod.com>)
Responses Re: [HACKERS] Re: TCL/TK configure problems  (Bruce Momjian <maillist@candle.pha.pa.us>)
Re: [HACKERS] Re: TCL/TK configure problems  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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


pgsql-hackers by date:

Previous
From: Brook Milligan
Date:
Subject: pgdump and sequences
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Re: TCL/TK configure problems