weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #30907] tclConfig.sh search in configure.in not optim


From: HggdH
Subject: [Weechat-dev] [bug #30907] tclConfig.sh search in configure.in not optimal
Date: Mon, 30 Aug 2010 15:40:43 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100830 Ubuntu/10.10 (maverick) Firefox/3.6.9

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]