This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: host-side configury update
On Tue, Aug 19, 2008 at 08:16:15AM +0100, Bart Veer wrote:
> >>>>> "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.
Ah, I see. Andrew, may be you broke eCos's configure files with GNU
autotools?
Is
find . -name configure -printf "cvs diff %p\n" | sh
silent?
Sergei