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 Gavrikov wrote:
> 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

I remember adding support for manually using --with-tcl-header and
--with-tcl-lib to allow flexibility for dealing with layout oddities. It
seems this support disappeared with this change:

2003-02-12  Bart Veer  <bartv@ecoscentric.com>

        * acinclude.m4: Another attempt at the Tcl macro, to cope with
        cygwin tcl 8.3 and 8.4. Also fix some problems with VC++ builds.

Now those configure command-line overrides are only used for building with
MSVC. Seems like it would be worth reinstating.

Jifl
-- 
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine


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