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


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


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