URL:
<http://savannah.nongnu.org/bugs/?30907>
Summary: tclConfig.sh search in configure.in not optimal
Project: WeeChat
Submitted by: hggdh
Submitted on: Mon 30 Aug 2010 03:40:42 PM GMT
Category: compilation
Severity: 3 - Normal
Item Group: compile/install
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
IRC nick: hggdh
_______________________________________________________
Details:
After a git pull today, a build of weechat failed on src/plugins/scripts/tcl
with on weechat-tcl.c.
Root cause was the dependency update from tcl8.4 to tcl8.5. Now, configure.in
sets the path to search for tclConfig.sh as:
cl_dirs="/lib /usr/lib /usr/tcl/lib /usr/lib/tcl8.5 /usr/lib/tcl8.4
/usr/lib/tcl8.3 /usr/local/lib /usr/local/tcl-8.5/lib /usr/local/tcl-8.4/lib
/usr/local/tcl-8.3/lib /usr/local/tcl/lib /opt/lib"
At least for Debian/Ubuntu (and derivatives) this is not ideal: Debian (and
Ubuntu) still consider tcl8.4 as the default TCL to be used (up to
unstable/Maverick, only Debian experimental carries tcl8.5 as the default); as
such, the default 'tcl-dev' package sets a soft link on /usr/lib/tclConfig.sh
pointing to the tcl8.4's tclConfig.sh.
Since /usr/lib is before /usr/lib/tcl8.5 in the search path, the incorrect
tclConfig.sh is selected and used -- causing a compile failure due to changes
in API/ABI.
Additionally, there is no need for the 8.4 and 8.3 TCL versions in the path
anymore (since they are API/ABI incompatible).
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?30907>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
Weechat-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/weechat-dev