TCL/TK configure problems
could soemeone explain to me how the tcl/tk configure stuff is suposed
to worl?
I built 6.4.2 on my HP-UX machine a week or so agao, and had to do some
_really_ strange things to get it working. Tonite I tried to build on
FreeBSD (sort of a reference paltform, no?), and still had the folowint
error, during configure:
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?
--
Stan Brown stanb@netcom.com 843-745-3154
Westvaco
Charleston SC.
--
Windows 98: n.
useless extension to a minor patch release for 32-bit extensions and
a graphical shell for a 16-bit patch to an 8-bit operating system
originally coded for a 4-bit microprocessor, written by a 2-bit
company that can't stand for 1 bit of competition.
-
(c) 1999 Stan Brown. Redistribution via the Microsoft Network is prohibited.
"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
Import Notes
Reply to msg id not found: StanBrownsmessageofSat9Jan1999194121-0500EST
"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:
Or you could add configure --with-libs=DIR.
--
Bruce Momjian | http://www.op.net/~candle
maillist@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Karl Eichwalder <ke@suse.de> writes:
"Stan Brown" <stanb@awod.com> writes:
| 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.
Well, it doesn't exactly insist that the config files be in the same
directory. What it does do is assume that they will both be found in
the "auto_path" search path that's configured into 'tclsh'. Maybe
it'd be a better idea to look for a 'wish' and ask it its auto_path
when looking for the Tk configure info.
That's not gonna be easy, however, since 'wish' won't fire up unless it
can connect to an X display. I don't think we want to have a configure
script that fails (or delivers different results) depending on whether
you are running it inside an X session or not.
I'm also worried that we risk selecting incompatible versions of Tcl
and Tk, which would be bad news indeed. In any reasonable installation
Tcl and Tk will have similar auto_path settings; you'd have to go out
of your way during configure/build to make them different. If we don't
find the Tk configure file on the Tcl auto_path, I'd take that as a
strong sign that we've not found the Tcl that goes with Tk. (As a
person with several different Tcl/Tk versions installed on my system,
I take this concern pretty seriously...)
I'm inclined to leave the code alone and tell people with weird
Tcl/Tk layouts that they have to provide --with-tclconfig='search path'.
The code and docs do need improved to make it clear that more than one
directory can be listed in --with-tclconfig.
regards, tom lane
Import Notes
Reply to msg id not found: Yourmessageof10Jan1999103450+0100shww2veait.fsf@Frechet.suse.de | Resolved by subject fallback
Tom Lane <tgl@sss.pgh.pa.us> writes:
| The code and docs do need improved to make it clear that more than one
| directory can be listed in --with-tclconfig.
That's okay with me. Thanks for your explanation.
--
Karl Eichwalder
Import Notes
Reply to msg id not found: TomLanesmessageofSun10Jan1999122843-0500