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

Reply via email to