This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: unable to locate Tcl header file tcl.h
- From: Sergei Gavrikov <sergei dot gavrikov at gmail dot com>
- To: Christian Jaeger <christian at jaeger dot mine dot nu>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 11 Aug 2008 17:33:20 +0300
- Subject: Re: [ECOS] unable to locate Tcl header file tcl.h
- References: <48A03241.9090404@jaeger.mine.nu> <48A03813.80900@jaeger.mine.nu>
I managed Tcl config issue as
http://sourceware.org/ml/ecos-patches/2008-03/msg00011.html
Sergei
On Mon, Aug 11, 2008 at 03:01:07PM +0200, Christian Jaeger wrote:
> I wrote:
> >checking build system type... Invalid configuration
> >`x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized
> >configure: error: /bin/sh
> >../../../../../../../ecos-cvsgit/packages/services/profile/gprof/current/host/../../../../../../acsupport/config.sub
> >x86_64-unknown-linux-gnu failed
>
>
> I've not simply changed that script to
>
> $ cat acsupport/config.sub
> #! /bin/sh
>
> echo "$1"
>
> which makes the whole thing proceed a little bit. I'm now at this error:
>
>
> checking the default compiler flags... done
> checking for Tcl installation... configure: error: unable to locate Tcl
> header file tcl.h
> configure: error:
> ../../../../../../../ecos-cvsgit/packages/io/usb/slave/current/host/configure failed for packages/io/usb/slave/current/host
>
> chris@novo:~$ dpkgli "*tcl*dev*"
> ii tcl-dev 8.4.16-2 The Tool Command Language
> (default version) - developm
> ii tcl8.4-dev 8.4.19-2 Tcl (the Tool Command Language)
> v8.4 - development fil
> ii tcl8.5-dev 8.5.3-2 Tcl (the Tool Command Language)
> v8.5 - development fil
>
> chris@novo:~$ loc '^tcl\.h$'
> (locate 'tcl.h', filter '^tcl\.h$')
> /usr/include/tcl8.4/tcl.h
> /usr/include/tcl8.4/tcl-private/generic/tcl.h
> /usr/include/tcl8.5/tcl.h
> /usr/include/tcl8.5/tcl-private/generic/tcl.h
> /usr/lib/perl5/Tk/pTk/tcl.h
>
> chris@novo:~$ l /usr/lib/tclConfig.sh
> lrwxrwxrwx 1 root root 34 2008-05-09 22:38 /usr/lib/tclConfig.sh ->
> ../share/tcltk/tcl8.4/tclConfig.sh
>
> chris@novo:~$ head /usr/lib/tclConfig.sh
> # tclConfig.sh --
> #
> # This shell script (for sh) is generated automatically by Tcl's
> # configure script. It will create shell variables for most of
> # the configuration options discovered by the configure script.
> # This script is intended to be included by the configure scripts
> # for Tcl extensions so that they don't have to figure this all
> # out for themselves.
> #
> # The information in this file is specific to a single platform.
>
> chrisarm@novo:~/src/ecos.tmp$ ../ecos-cvsgit/configure
> --prefix=$HOME/opt/ecos --with-tcl-version=8.5
> ...
> checking the default compiler flags... done
> checking for Tcl installation... configure: error: unable to locate Tcl
> header file tcl.h
> configure: error:
> ../../../../../../../ecos-cvsgit/packages/io/usb/slave/current/host/configure failed for packages/io/usb/slave/current/host
> chrisarm@novo:~/src/ecos.tmp$
>
> same with 8.4
>
> chris@novo:~$ loc tclConfig.sh
> (locate 'tclConfig.sh', filter 'tclConfig\.sh')
> /usr/lib/tclConfig.sh
> /usr/lib/tcl8.4/tclConfig.sh
> /usr/lib/tcl8.5/tclConfig.sh
> /usr/share/tcltk/tcl8.4/tclConfig.sh
> /usr/share/tcltk/tcl8.5/tclConfig.sh
>
> chrisarm@novo:~/src/ecos.tmp$ ../ecos-cvsgit/configure
> --prefix=$HOME/opt/ecos --with-tcl=/usr/lib/tcl8.5
>
> nope, neither does --with-tcl=/usr/lib work, still:
>
> checking for Tcl installation... configure: error: unable to locate Tcl
> header file tcl.h
> configure: error:
> ../../../../../../../ecos-cvsgit/packages/io/usb/slave/current/host/configure failed for packages/io/usb/slave/current/host
>
>
> Christian.
>
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss