This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Tcl install problem with current CVS
- From: Sergei Gavrikov <sergei dot gavrikov at gmail dot com>
- To: Ormund Williams <ormundw at panix dot com>
- Cc: ecos-discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 5 May 2008 14:33:11 +0300
- Subject: Re: [ECOS] Tcl install problem with current CVS
- References: <1209947197.27971.11.camel@localhost.localdomain>
On Sun, May 04, 2008 at 08:26:36PM -0400, Ormund Williams wrote:
> Hi All
>
> I seem to be running into an old problem building the host tools.
> configure can't find tcl.h even with --with-tcl=/usr/lib
> --with-tcl-version=8.4
>
> Both tcl.h and tk.h exist under /usr/include/tcl8.4 so why can configure
> find them?
The issue exists for modern Tcl distributions. eCos's configure system
(look at acsupport/acinclude.m4) belives in that a TCL_INC_DIR variable
presents in tclConfig.sh. But, a new one: TCL_INCLUDE_SPEC had been
entered in modern tclConfig.sh and nowadays it replaces old variable.
So, try to build ecosconfig as
TCL_INC_DIR=/usr/include/tcl8.4 ../host/configure --with-tcl-version=8.4
or add TCL_INC_DIR variable in your site's tclConfig.sh.
Sergei
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss