This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: host-side configury update


>>>>> "Sergei" == Sergei Gavrikov <sg@belvok.com> writes:

    Sergei> On Mon, Aug 18, 2008 at 03:48:51PM +0200, Andrew Lunn wrote:
    >> > I have also done some work on the Tcl/Tk detection, hopefully making
    >> > it more robust.
    >> 
    >> Hi Bart
    >> 
    >> I'm trying on a Debian unstable machine with both tcl 8.3 and 8.4
    >> development packages installed. The README.host suggests it is looking
    >> for tclConfig.sh which i do have:
    >> 
    >> $ find /usr/lib -name tclConfig.sh
    >> /usr/lib/tcl8.4/tclConfig.sh
    >> /usr/lib/tcl8.3/tclConfig.sh
    >> 
    >> and i've tried various --with-tcl-version and --with-tcl
    >> 
    >> but it always ends up in:
    >> 
    >> checking for Tcl installation... configure: error: unable to locate Tcl header file tcl.h
    >> 
    >> Would it be possible to make the configuration script a bit more
    >> verbose. Could it print the list of directories it is looking in for
    >> the TclConfig.sh file? If it does find TclConfig.sh then where it is
    >> looking for the tcl.h file? This extra information would help with
    >> getting --with-tcl and --with-tcl-version correct and debugging TCL
    >> configuration problems in general.
    >> 

    Sergei> Bart, Andrew

    Sergei> eCos M4 (acsupport/acinclude.m4) uses tclConfig.sh to find Tcl stuff and
    Sergei> those rules believe what TCL_INC_DIR presents in tclConfig.sh, but,
    Sergei> nowadays that is obsolete variable on some systems (for example, Debian,
    Sergei> Ubuntu tcl8.{4,5}-dev packages):

    Sergei> http://lists.alioth.debian.org/pipermail/pkg-tcltk-devel/2007-August/000072.html
    Sergei> http://sourceware.org/ml/ecos-patches/2008-03/msg00011.html

The updated macros in acsupport/acinclude.m4 already look for
TCL_INCLUDE_SPEC as well as TCL_INC_DIR. I am working on a more
verbose version of the macro, and trying to figure out why it is
failing on Andrew's Debian install.

Bart

-- 
Bart Veer                                   eCos Configuration Architect
eCosCentric Limited    The eCos experts      http://www.ecoscentric.com/
Barnwell House, Barnwell Drive, Cambridge, UK.      Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]