+++ Sergei Golovan [2011-01-31 21:16 +0300]: > On Mon, Jan 31, 2011 at 8:08 PM, Wookey <woo...@wookware.org> wrote: > > > > Line 22 of that file is TCL_CC='x86_64-linux-gnu-gcc' on the x86_64 > > version and TCL_CC='arm-linux-gnueabi-gcc' on the armel version. > > Also the TCL_DEFS= varies with arch, e.g 64-bit arches have different > > defines from 32-bit arches. > > So in fact it's not an arch-independent file, and shouldn't be in > > /usr/share. > > I missed the fact that these scripts are actually arch-dependent. They > should go into /usr/lib/tcltk/tcl8.5 indeed. Thanks for the finding.
No problem - thanks for the quick response. Unfortunately we'll be stuck with this problem in squeeze so anything cross-depending on tcl8.5-dev (and using the tclConfig.sh mechanism) won't cross-build. Still, lots of stuff in squeeze won't cross-build so it's just one of those things. > > I notice that upstream tcl builds these files in /lib but then we move > > them into /usr/share and then put a link back in the old place. Is > > there a good reason for this, or should we just leave them in /lib in > > the first place? > > Yes, though not in /usr/lib itself but in /usr/lib/tcl8.5 because there > are other Tcl/Tk versions around, and symlink /usr/lib/tclConfig.sh is > managed by tcl-dev package (points to the default version). Agreed. Just for info there is further discusison of this issue here: http://lists.debian.org/debian-devel/2011/01/msg00874.html Wookey -- Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM http://wookware.org/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org