* [ECOS] Installation on Debian on x86_64 @ 2008-08-11 12:36 Christian Jaeger 2008-08-11 13:02 ` [ECOS] unable to locate Tcl header file tcl.h Christian Jaeger 0 siblings, 1 reply; 9+ messages in thread From: Christian Jaeger @ 2008-08-11 12:36 UTC (permalink / raw) To: ecos-discuss Hello I'm trying to configure ecos from the current CVS (*) like this: chrisarm@novo:~/src/ecos.tmp$ ../ecos-cvsgit/configure --prefix=$HOME/opt/ecos ... ... 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 tried to understand where in the acsupport/config.sub script to add the x86_64 architecture but either my shell debugging abilities are limited or that file is too complex. But anyway I wonder whether I'd only run into problems later on. Am I the first to compile eCos on a x86_64 host? Or what am I doing wrong? Christian. (*) latest commit: "Add ADC config keys." from Fri Aug 8 10:55:45 2008 +0000 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ECOS] unable to locate Tcl header file tcl.h 2008-08-11 12:36 [ECOS] Installation on Debian on x86_64 Christian Jaeger @ 2008-08-11 13:02 ` Christian Jaeger 2008-08-11 14:29 ` Sergei Gavrikov 0 siblings, 1 reply; 9+ messages in thread From: Christian Jaeger @ 2008-08-11 13:02 UTC (permalink / raw) To: ecos-discuss 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ECOS] unable to locate Tcl header file tcl.h 2008-08-11 13:02 ` [ECOS] unable to locate Tcl header file tcl.h Christian Jaeger @ 2008-08-11 14:29 ` Sergei Gavrikov 2008-08-11 15:24 ` Christian Jaeger 0 siblings, 1 reply; 9+ messages in thread From: Sergei Gavrikov @ 2008-08-11 14:29 UTC (permalink / raw) To: Christian Jaeger; +Cc: ecos-discuss 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ECOS] unable to locate Tcl header file tcl.h 2008-08-11 14:29 ` Sergei Gavrikov @ 2008-08-11 15:24 ` Christian Jaeger 2008-08-11 17:07 ` Sergei Gavrikov 0 siblings, 1 reply; 9+ messages in thread From: Christian Jaeger @ 2008-08-11 15:24 UTC (permalink / raw) To: Sergei Gavrikov; +Cc: ecos-discuss 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ECOS] unable to locate Tcl header file tcl.h 2008-08-11 15:24 ` Christian Jaeger @ 2008-08-11 17:07 ` Sergei Gavrikov 2008-08-11 17:34 ` Christian Jaeger 0 siblings, 1 reply; 9+ messages in thread From: Sergei Gavrikov @ 2008-08-11 17:07 UTC (permalink / raw) To: Christian Jaeger; +Cc: ecos-discuss On Mon, Aug 11, 2008 at 05:24:00PM +0200, Christian Jaeger wrote: > 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 Don't mess up eCos build tree by auto* tools... cd E vi +84 README.host I use the way (a) just to build eCos _configtool_. mkdir -pv build ; cd build TCL_INC_DIR=<your path> ../host/configure <your options> make && make install You assume that eCos configure conform with GNU coding standard, so, look at http://www.ecosforge.net/pmwiki/index.php/Projects/Hosttools 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ECOS] unable to locate Tcl header file tcl.h 2008-08-11 17:07 ` Sergei Gavrikov @ 2008-08-11 17:34 ` Christian Jaeger 2008-08-11 18:06 ` Andrew Lunn 0 siblings, 1 reply; 9+ messages in thread From: Christian Jaeger @ 2008-08-11 17:34 UTC (permalink / raw) To: Sergei Gavrikov; +Cc: ecos-discuss Sergei Gavrikov wrote: > Don't mess up eCos build tree by auto* tools... > But I don't understand how to make your patch work then. > cd E > vi +84 README.host > > I use the way (a) just to build eCos _configtool_. > > mkdir -pv build ; cd build > TCL_INC_DIR=<your path> ../host/configure <your options> > make && make install > What is /host/ in your path? There is no directory named "host" in my cvs checkout. And there are only these configure scripts -- which one do you mean? chris@novo:/home/chrisarm/src/ecos-cvsgit$ find -name configure ./packages/io/usb/slave/current/host/configure ./packages/hal/synth/arch/current/host/configure ./packages/devs/eth/synth/ecosynth/current/host/configure ./packages/devs/watchdog/synth/current/host/configure ./packages/services/gfx/mw/current/src/jpeg-6b/configure ./packages/services/compress/zlib/current/src/configure ./packages/services/profile/gprof/current/host/configure ./configure > You assume that eCos configure conform with GNU coding standard, so, > look at http://www.ecosforge.net/pmwiki/index.php/Projects/Hosttools > (Is this worthwhile? I seem to be running into enough problems already) 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ECOS] unable to locate Tcl header file tcl.h 2008-08-11 17:34 ` Christian Jaeger @ 2008-08-11 18:06 ` Andrew Lunn 2008-08-11 20:27 ` Christian Jaeger 0 siblings, 1 reply; 9+ messages in thread From: Andrew Lunn @ 2008-08-11 18:06 UTC (permalink / raw) To: Christian Jaeger; +Cc: Sergei Gavrikov, ecos-discuss > What is /host/ in your path? There is no directory named "host" in my > cvs checkout. You have parts of the checkout missing. Try cvs up -Ad Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ECOS] unable to locate Tcl header file tcl.h 2008-08-11 18:06 ` Andrew Lunn @ 2008-08-11 20:27 ` Christian Jaeger 2008-08-11 21:40 ` [ECOS] [PATCH] Fix includes for <string.h> and PATH_MAX Christian Jaeger 0 siblings, 1 reply; 9+ messages in thread From: Christian Jaeger @ 2008-08-11 20:27 UTC (permalink / raw) To: Christian Jaeger, Sergei Gavrikov, ecos-discuss Andrew Lunn wrote: > You have parts of the checkout missing. > > Try cvs up -Ad > True, that made my (fresh!) checkout grow from 88MB to 229MB... Now I may have to go find out what -A ("Reset any sticky tags/date/kopts") really means. (Note to any Git user, if reading: I did import the cvs into Git using this command: git cvsimport -v -r upstream -k -m -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos ecos except without the "-p -A", which endet up importing even less than "cvs co" without the subsequent "cvs up -Ad" gave (74MB instead of 88MB, the whole packages/net/ directory was missing, as well as the two files packages/templates/net/{ChangeLog,current.ect}. Now I've added -p -A to the command but that just gave tons of warnings and no new files: git cvsimport -v -r upstream -k -m -p -A -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos ecos So either I'd possibly have to reimport everything from scratch (takes a long time and may not be that friendly to the hosters), or dunno. If there's a Git mirror of the cvs repository anywhere, please tell me.) Now I got a number of missing header includes, I'll send a patch in a followup mail. Thanks, 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [ECOS] [PATCH] Fix includes for <string.h> and PATH_MAX 2008-08-11 20:27 ` Christian Jaeger @ 2008-08-11 21:40 ` Christian Jaeger 0 siblings, 0 replies; 9+ messages in thread From: Christian Jaeger @ 2008-08-11 21:40 UTC (permalink / raw) To: ecos-patches; +Cc: ecos-discuss [-- Attachment #1: Type: text/plain, Size: 1008 bytes --] This was required for me to build the configtool (using host/configure) on Debian testing (Lenny) with gcc 4.3.1 Probably there are nicer places to put those includes, though. --- PS. gcc 4.2.4-3 is also installed, but the default compiler "gcc" is set to 4.3.1-8. PS.2: note that I also had to change acsupport/config.sub to #! /bin/sh echo "$1" as I'm on a x86_64 machine and it didn't recognize the string. PS.3: there were also tons of warnings which I didn't care about. PS.4: tell me if you can handle this kind of patches (there are some knobs to tweak) host/infra/assert.cxx | 4 ++++ host/libcdl/build.cxx | 4 ++++ host/libcdl/cdlmisc.cxx | 3 +++ host/libcdl/parse.cxx | 3 +++ .../configtool/standalone/common/cdl_exec.cxx | 3 +++ .../configtool/standalone/common/ecosconfig.cxx | 1 + 6 files changed, 18 insertions(+), 0 deletions(-) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: 097b0aaaaabc6116f35cc8b18479cf0b8c848863.diff --] [-- Type: text/x-patch; name="097b0aaaaabc6116f35cc8b18479cf0b8c848863.diff", Size: 2486 bytes --] diff --git a/host/infra/assert.cxx b/host/infra/assert.cxx index 27922a5..5892de1 100644 --- a/host/infra/assert.cxx +++ b/host/infra/assert.cxx @@ -68,6 +68,10 @@ extern "C" { } #endif +#if defined(HAVE_MKSTEMP) && !defined(_MSC_VER) +#include <string.h> // strcpy +#endif + // These are needed for the table of callbacks. #include <utility> #include <iterator> diff --git a/host/libcdl/build.cxx b/host/libcdl/build.cxx index 551c3de..0a09fd9 100644 --- a/host/libcdl/build.cxx +++ b/host/libcdl/build.cxx @@ -58,6 +58,10 @@ // the class definitions rely on these headers. #include <cdlcore.hxx> +// strncmp, strlen, strcpy +#include <string.h> + + //}}} //{{{ Statics diff --git a/host/libcdl/cdlmisc.cxx b/host/libcdl/cdlmisc.cxx index 8366629..9c94539 100644 --- a/host/libcdl/cdlmisc.cxx +++ b/host/libcdl/cdlmisc.cxx @@ -76,6 +76,9 @@ // For access to DBL_DIG #include <cfloat> +// strlen, strncmp: +#include <string.h> + //}}} //{{{ Cdl::is_valid_xxx() diff --git a/host/libcdl/parse.cxx b/host/libcdl/parse.cxx index db9ed08..51f90fa 100644 --- a/host/libcdl/parse.cxx +++ b/host/libcdl/parse.cxx @@ -59,6 +59,9 @@ // the class definitions rely on these headers. #include <cdlcore.hxx> +// strcmp, strncmp: +#include <string.h> + //}}} //{{{ Description diff --git a/host/tools/configtool/standalone/common/cdl_exec.cxx b/host/tools/configtool/standalone/common/cdl_exec.cxx index 8ba066e..40aafb7 100644 --- a/host/tools/configtool/standalone/common/cdl_exec.cxx +++ b/host/tools/configtool/standalone/common/cdl_exec.cxx @@ -53,6 +53,9 @@ #include "build.hxx" #include "cdl_exec.hxx" +// on Linux (Debian): PATH_MAX: +#include <linux/limits.h> + // ---------------------------------------------------------------------------- bool cdl_exec::quiet = false; bool cdl_exec::verbose = false; diff --git a/host/tools/configtool/standalone/common/ecosconfig.cxx b/host/tools/configtool/standalone/common/ecosconfig.cxx index 8e27780..b02d6ff 100644 --- a/host/tools/configtool/standalone/common/ecosconfig.cxx +++ b/host/tools/configtool/standalone/common/ecosconfig.cxx @@ -51,6 +51,7 @@ #endif #include "cdl_exec.hxx" #include "ecosconfig.hxx" +#include <string.h> // strcmp, strncmp #define TOOL_VERSION "2.net" #define TOOL_COPYRIGHT "Copyright (c) 2002 Red Hat, Inc.\nCopyright (c) 2004-2006 eCosCentric Limited" [-- Attachment #3: Type: text/plain, Size: 148 bytes --] -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-08-11 21:40 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-08-11 12:36 [ECOS] Installation on Debian on x86_64 Christian Jaeger 2008-08-11 13:02 ` [ECOS] unable to locate Tcl header file tcl.h Christian Jaeger 2008-08-11 14:29 ` Sergei Gavrikov 2008-08-11 15:24 ` Christian Jaeger 2008-08-11 17:07 ` Sergei Gavrikov 2008-08-11 17:34 ` Christian Jaeger 2008-08-11 18:06 ` Andrew Lunn 2008-08-11 20:27 ` Christian Jaeger 2008-08-11 21:40 ` [ECOS] [PATCH] Fix includes for <string.h> and PATH_MAX Christian Jaeger
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).