Weird Tcl/Tk configuration - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Weird Tcl/Tk configuration
Date
Msg-id Pine.LNX.4.21.0009211441510.362-100000@peter
Whole thread Raw
Responses Re: Weird Tcl/Tk configuration
List pgsql-hackers
As things stand, if you use the --with-tcl configure option and a
sufficient Tcl installation could not be found, it will print a message
and continue without it.  I have already on several occasions explained
why I consider that behaviour is undesirable, and it also seems quite
absurd, considering that the user explicitly asked for Tcl by specifying
the option in the first place.

That seems easy to fix, but what should we do about the Tk part?  
Currently, --with-tcl implies Tk, except that it will be disabled if
tkConfig.sh or X Windows could not be found.  I propose that we instead
make that a failure and advise the user to use the --without-x option to
disable Tk.  (That option already exists, but it is not evaluated.)  That
would imply that Tk = Tcl + X, and consequently X = Tk - Tcl, which would
fail if we ever add another X program that is unrelated to Tcl/Tk.  If you
are concerned about that, maybe a --without-tk option would be better.  
The general assumption here is that the majority of users that want to use
Tcl is also equipped with Tk and X, so that only a few users would have to
specifically disable Tk.

Comments?

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: PQsetdbLogin
Next
From: Peter Eisentraut
Date:
Subject: Re: Timezone discrepancies