[ECOS] unable to locate Tcl header file tcl.h
Christian Jaeger
christian@jaeger.mine.nu
Mon Aug 11 13:02:00 GMT 2008
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
More information about the Ecos-discuss
mailing list