This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: host-side configury update
- From: Sergei Gavrikov <sg at belvok dot com>
- To: Andrew Lunn <andrew at lunn dot ch>
- Cc: Bart Veer <bartv at ecoscentric dot com>, ecos-patches at sourceware dot org
- Date: Mon, 18 Aug 2008 17:24:25 +0300
- Subject: Re: host-side configury update
- References: <pnljyutq48.fsf@delenn.bartv.net> <20080818134851.GF26223@lunn.ch>
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.
>
Bart, Andrew
eCos M4 (acsupport/acinclude.m4) uses tclConfig.sh to find Tcl stuff and
those rules believe what TCL_INC_DIR presents in tclConfig.sh, but,
nowadays that is obsolete variable on some systems (for example, Debian,
Ubuntu tcl8.{4,5}-dev packages):
http://lists.alioth.debian.org/pipermail/pkg-tcltk-devel/2007-August/000072.html
http://sourceware.org/ml/ecos-patches/2008-03/msg00011.html
Sergei