[Pkg-tcltk-devel] Bug#628460: TEA: is easily confused by nearby tcl source trees
Jonathan Nieder
jrnieder at gmail.com
Sun May 29 07:38:25 UTC 2011
Source: tile
Version: 0.8.2-2.1
Severity: important
Justification: potential ftbfs
Tags: upstream
Reproduction recipe:
apt-get -b source tcl-8.4
apt-get -b source tile
Expected result:
successful build.
Actual result:
In file included from ./generic/tkstate.c:12:0:
/usr/include/tcl8.6/tk-private/generic/tk.h:23:3: error: #error Tk 8.6 must be compiled with tcl.h from Tcl 8.6 or better
Workaround:
mkdir -p away
mv tcl8.4-* away/
apt-get -b source tile
Explanation: TEA_PATH_TCLCONFIG aggressively searches nearby directories
like ../../../tcl8.4-8.4.19 for "unix/tclConfig.sh" in searching for tcl
headers. IMHO this is insane --- unless the user specifically requests
otherwise, the systemwide installation is the right one to use.
Thoughts on a fix: If this were fixed in tcl8.6-dev, packages that use
TEA could get the fix automatically with an autoreconf.
More information about the Pkg-tcltk-devel
mailing list