This is the mail archive of the ecos-discuss@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: unable to locate Tcl header file tcl.h


Sergei Gavrikov wrote:
I managed Tcl config issue as

http://sourceware.org/ml/ecos-patches/2008-03/msg00011.html

Thanks.


If I understand you correctly, you mention two solutions in your referenced email:

(a) set the TCL_INC_DIR environment variable.

(b) apply the patch you've given.

I've done (a), which made configure succeed, but make ran through in less than a second and make install only installed *one* file. I'm pasting the full output at the end of this mail.

Then I've done (b), but I'm not sure how to regenerate the configure file, I've tried this:

chris@novo:/home/chrisarm/src/ecos-cvsgit$ patch -p1 < _patch
patching file acsupport/acinclude.m4
patching file acsupport/ChangeLog

chrisarm@novo:~/src$ cp -a ecos-cvsgit E
chrisarm@novo:~/src$ cd E
chrisarm@novo:~/src/E$ autoconf configure.in:194: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:919: AC_CONFIG_SUBDIRS is expanded from...
configure.in:194: the top level
chrisarm@novo:~/src/E$ echo $?
0
chrisarm@novo:~/src/E$ cd ../ecos.tmp/
chrisarm@novo:~/src/ecos.tmp$ rm -rf *
chrisarm@novo:~/src/ecos.tmp$ ../E/configure --prefix=$HOME/opt/ecos --with-tcl-version=8.4
...
checking for Tcl installation... configure: error: unable to locate Tcl header file tcl.h
configure: error: ../../../../../../../E/packages/io/usb/slave/current/host/configure failed for packages/io/usb/slave/current/host


chrisarm@novo:~/src/ecos.tmp$ rm -rf *
chrisarm@novo:~/src/ecos.tmp$ TCL_INC_DIR=/usr/include/tcl8.4 ../E/configure --prefix=$HOME/opt/ecos --with-tcl-version=8.4
...
-> make && make install => will do the same as before, only install one file

Is it a problem because of these warnings?:

checking for working aclocal-1.4... missing
checking for working automake-1.4... missing

novo:~# dpkgS aclocal
automake: /usr/bin/aclocal-1.10
novo:~# dpkgS automake
automake: /usr/bin/automake-1.10

novo:~# dpkgli automake
ii  automake                             1:1.10.1-3                  A tool for generating GNU Standards-compliant Makefiles


Christian.


Full output of approach (a):

chrisarm@novo:~/src/ecos.tmp$ TCL_INC_DIR=/usr/include/tcl8.4 ../ecos-cvsgit/configure --prefix=$HOME/opt/ecos --with-tcl-version=8.4
creating cache ./config.cache
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking that a separate build tree is being used... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
mkdir packages
mkdir packages/devs
mkdir packages/devs/watchdog
mkdir packages/devs/watchdog/synth
mkdir packages/devs/watchdog/synth/current
mkdir packages/devs/watchdog/synth/current/host
mkdir packages/hal
mkdir packages/hal/synth
mkdir packages/hal/synth/arch
mkdir packages/hal/synth/arch/current
mkdir packages/hal/synth/arch/current/host
mkdir packages/io
mkdir packages/io/usb
mkdir packages/io/usb/slave
mkdir packages/io/usb/slave/current
mkdir packages/io/usb/slave/current/host
mkdir packages/services
mkdir packages/services/profile
mkdir packages/services/profile/gprof
mkdir packages/services/profile/gprof/current
mkdir packages/services/profile/gprof/current/host
mkdir packages/devs/eth
mkdir packages/devs/eth/synth
mkdir packages/devs/eth/synth/ecosynth
mkdir packages/devs/eth/synth/ecosynth/current
mkdir packages/devs/eth/synth/ecosynth/current/host
configuring in packages/devs/watchdog/synth/current/host
running /bin/sh ../../../../../../../ecos-cvsgit/packages/devs/watchdog/synth/current/host/configure  --prefix=/home/chrisarm/opt/ecos --with-tcl-version=8.4 --cache-file=../../../../../.././config.cache --srcdir=../../../../../../../ecos-cvsgit/packages/devs/watchdog/synth/current/host
loading cache ../../../../../.././config.cache
checking that a separate build tree is being used... yes
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
creating ./config.status
creating Makefile
configuring in packages/hal/synth/arch/current/host
running /bin/sh ../../../../../../../ecos-cvsgit/packages/hal/synth/arch/current/host/configure  --prefix=/home/chrisarm/opt/ecos --with-tcl-version=8.4 --cache-file=../../../../../.././config.cache --srcdir=../../../../../../../ecos-cvsgit/packages/hal/synth/arch/current/host
loading cache ../../../../../.././config.cache
checking that a separate build tree is being used... yes
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
creating ./config.status
creating Makefile
configuring in packages/io/usb/slave/current/host
running /bin/sh ../../../../../../../ecos-cvsgit/packages/io/usb/slave/current/host/configure  --prefix=/home/chrisarm/opt/ecos --with-tcl-version=8.4 --cache-file=../../../../../.././config.cache --srcdir=../../../../../../../ecos-cvsgit/packages/io/usb/slave/current/host
loading cache ../../../../../.././config.cache
checking that a separate build tree is being used... yes
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking whether ln -s works... yes
checking for object suffix... o
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking for Visual C++... no
checking the default compiler flags... done
checking for Tcl installation... -I/usr/include/tcl8.4 -L/usr/lib -ltcl8.4${TCL_DBGX}
checking how to run the C preprocessor... gcc -E
checking for linux/usb.h... no
checking for linux/usbdevice_fs.h... yes
configure: warning: Required Linux kernel functionality does not appear to be available
configure: warning: The USB testing support cannot be built on this platform.
updating cache ../../../../../.././config.cache
creating ./config.status
creating Makefile
creating config.h
configuring in packages/services/profile/gprof/current/host
running /bin/sh ../../../../../../../ecos-cvsgit/packages/services/profile/gprof/current/host/configure  --prefix=/home/chrisarm/opt/ecos --with-tcl-version=8.4 --cache-file=../../../../../.././config.cache --srcdir=../../../../../../../ecos-cvsgit/packages/services/profile/gprof/current/host
configure: loading cache ../../../../../.././config.cache
checking that a separate build tree is being used... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... (cached) yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
updating cache ../../../../../.././config.cache
configure: creating ./config.status
config.status: creating Makefile
configuring in packages/devs/eth/synth/ecosynth/current/host
running /bin/sh ../../../../../../../../ecos-cvsgit/packages/devs/eth/synth/ecosynth/current/host/configure  --prefix=/home/chrisarm/opt/ecos --with-tcl-version=8.4 --cache-file=../../../../../../.././config.cache --srcdir=../../../../../../../../ecos-cvsgit/packages/devs/eth/synth/ecosynth/current/host
loading cache ../../../../../../.././config.cache
checking that a separate build tree is being used... yes
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
configure: warning: Synthetic target ethernet support is only available on x86 Linux hosts
configure: warning: The synthetic ethernet support cannot be built on this platform.
updating cache ../../../../../../.././config.cache
creating ./config.status
creating Makefile


chrisarm@novo:~/src/ecos.tmp$ make Making all in packages/devs/watchdog/synth/current/host make[1]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/devs/watchdog/synth/current/host' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/devs/watchdog/synth/current/host' Making all in packages/hal/synth/arch/current/host make[1]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/hal/synth/arch/current/host' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/hal/synth/arch/current/host' Making all in packages/io/usb/slave/current/host make[1]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/io/usb/slave/current/host' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/io/usb/slave/current/host' Making all in packages/services/profile/gprof/current/host make[1]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/services/profile/gprof/current/host' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/services/profile/gprof/current/host' Making all in packages/devs/eth/synth/ecosynth/current/host make[1]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/devs/eth/synth/ecosynth/current/host' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/devs/eth/synth/ecosynth/current/host' make[1]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp' chrisarm@novo:~/src/ecos.tmp$ echo $? 0


chrisarm@novo:~/src/ecos.tmp$ make install
Making install in packages/devs/watchdog/synth/current/host
make[1]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/devs/watchdog/synth/current/host'
make[2]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/devs/watchdog/synth/current/host'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../../../../../../../ecos-cvsgit/packages/devs/watchdog/synth/current/host/../../../../../../acsupport/mkinstalldirs make[2]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/devs/watchdog/synth/current/host'
make[1]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/devs/watchdog/synth/current/host'
Making install in packages/hal/synth/arch/current/host
make[1]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/hal/synth/arch/current/host'
make[2]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/hal/synth/arch/current/host'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../../../../../../../ecos-cvsgit/packages/hal/synth/arch/current/host/../../../../../../acsupport/mkinstalldirs /bin/sh ../../../../../../../ecos-cvsgit/packages/hal/synth/arch/current/host/../../../../../../acsupport/mkinstalldirs make[2]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/hal/synth/arch/current/host'
make[1]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/hal/synth/arch/current/host'
Making install in packages/io/usb/slave/current/host
make[1]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/io/usb/slave/current/host'
make[2]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/io/usb/slave/current/host'
make install-exec-hook
make[3]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/io/usb/slave/current/host'
echo Nothing to be done for this platform
Nothing to be done for this platform
make[3]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/io/usb/slave/current/host'
/bin/sh ../../../../../../../ecos-cvsgit/packages/io/usb/slave/current/host/../../../../../../acsupport/mkinstalldirs /bin/sh ../../../../../../../ecos-cvsgit/packages/io/usb/slave/current/host/../../../../../../acsupport/mkinstalldirs make install-data-hook
make[3]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/io/usb/slave/current/host'
echo Nothing to be done for this platform
Nothing to be done for this platform
make[3]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/io/usb/slave/current/host'
make[2]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/io/usb/slave/current/host'
make[1]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/io/usb/slave/current/host'
Making install in packages/services/profile/gprof/current/host
make[1]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/services/profile/gprof/current/host'
make[2]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/services/profile/gprof/current/host'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../../../../../../../ecos-cvsgit/packages/services/profile/gprof/current/host/../../../../../../acsupport/mkinstalldirs /home/chrisarm/opt/ecos/share/ecos/gdbscripts
mkdir /home/chrisarm/opt
mkdir /home/chrisarm/opt/ecos
mkdir /home/chrisarm/opt/ecos/share
mkdir /home/chrisarm/opt/ecos/share/ecos
mkdir /home/chrisarm/opt/ecos/share/ecos/gdbscripts
/usr/bin/install -c -m 644 ../../../../../../../ecos-cvsgit/packages/services/profile/gprof/current/host/gprof.gdb /home/chrisarm/opt/ecos/share/ecos/gdbscripts/gprof.gdb
make[2]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/services/profile/gprof/current/host'
make[1]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/services/profile/gprof/current/host'
Making install in packages/devs/eth/synth/ecosynth/current/host
make[1]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/devs/eth/synth/ecosynth/current/host'
make[2]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/devs/eth/synth/ecosynth/current/host'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../../../../../../../../ecos-cvsgit/packages/devs/eth/synth/ecosynth/current/host/../../../../../../../acsupport/mkinstalldirs /bin/sh ../../../../../../../../ecos-cvsgit/packages/devs/eth/synth/ecosynth/current/host/../../../../../../../acsupport/mkinstalldirs make install-data-hook
make[3]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/devs/eth/synth/ecosynth/current/host'
echo Nothing to be done for this platform
Nothing to be done for this platform
make[3]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/devs/eth/synth/ecosynth/current/host'
make[2]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/devs/eth/synth/ecosynth/current/host'
make[1]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp/packages/devs/eth/synth/ecosynth/current/host'
make[1]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp'
make[2]: Entering directory `/mnt/rootextend/chrisarm/src/ecos.tmp'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp'
make[1]: Leaving directory `/mnt/rootextend/chrisarm/src/ecos.tmp'
chrisarm@novo:~/src/ecos.tmp$ echo $?
0



chrisarm@novo:~/src/ecos.tmp$ find ~/opt -type f
/home/chrisarm/opt/ecos/share/ecos/gdbscripts/gprof.gdb
chrisarm@novo:~/src/ecos.tmp$





-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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