* [ECOS] Fwd: tclConfig.sh error in ubuntu edgy 6.10 [not found] <2308fb0f0703141414s2c69d51cqdcf9e21e630acfc0@mail.gmail.com> @ 2007-03-14 21:21 ` Tales Toledo 2007-03-14 21:24 ` Andrew Lunn 0 siblings, 1 reply; 12+ messages in thread From: Tales Toledo @ 2007-03-14 21:21 UTC (permalink / raw) To: ecos-discuss Hi all, I've tried to build Linux configtool from source using the instructions at http://www.ecoscentric.com/devzone/configtool.shtml I already install GTK+ wxWidgets but I'm trouble with the next step... The problem is that I always get a message checking for Tcl installation... configure: error: unable to locate Tcl configuration file tclConfig.sh when I trying to build eCos host infraestructure I'm using tcl8.4. The tclConfig.sh is located at /usr/lib/tcl8.4/tclConfig.sh and the libs ( libtcl8.4.a, libtcl8.4.so, libtcl8.4.so.0) are /usr/lib I made the following changes at /ecos/acsupport/acinclude.m4 to make it works AC_ARG_WITH(tcl,[ --with-tcl=/usr/lib location of Tcl header and libraries]) AC_ARG_WITH(tcl-version,[ --with-tcl-version=8.4 version of Tcl to be used]) but I always have the same error. What am I doing wrong? Thx, TT -- 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] 12+ messages in thread
* Re: [ECOS] Fwd: tclConfig.sh error in ubuntu edgy 6.10 2007-03-14 21:21 ` [ECOS] Fwd: tclConfig.sh error in ubuntu edgy 6.10 Tales Toledo @ 2007-03-14 21:24 ` Andrew Lunn 2007-03-14 21:54 ` Tales Toledo 0 siblings, 1 reply; 12+ messages in thread From: Andrew Lunn @ 2007-03-14 21:24 UTC (permalink / raw) To: Tales Toledo; +Cc: ecos-discuss On Wed, Mar 14, 2007 at 06:21:22PM -0300, Tales Toledo wrote: > Hi all, > > I've tried to build Linux configtool from source using the > instructions at http://www.ecoscentric.com/devzone/configtool.shtml > > I already install GTK+ wxWidgets but I'm trouble with the next step... > > The problem is that I always get a message > checking for Tcl installation... configure: error: unable to locate > Tcl configuration file tclConfig.sh when I trying to build eCos host > infraestructure > > I'm using tcl8.4. The tclConfig.sh is located at > /usr/lib/tcl8.4/tclConfig.sh and the libs ( libtcl8.4.a, libtcl8.4.so, > libtcl8.4.so.0) are /usr/lib > > I made the following changes at /ecos/acsupport/acinclude.m4 to make it > works > > AC_ARG_WITH(tcl,[ --with-tcl=/usr/lib location of Tcl > header and libraries]) > AC_ARG_WITH(tcl-version,[ --with-tcl-version=8.4 version of Tcl to be > used]) > > but I always have the same error. What am I doing wrong? Do you have the tcl development packages installed? 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] 12+ messages in thread
* Re: [ECOS] Fwd: tclConfig.sh error in ubuntu edgy 6.10 2007-03-14 21:24 ` Andrew Lunn @ 2007-03-14 21:54 ` Tales Toledo 2007-03-14 22:59 ` Lars Poeschel 0 siblings, 1 reply; 12+ messages in thread From: Tales Toledo @ 2007-03-14 21:54 UTC (permalink / raw) To: ecos-discuss dpkg -la gives me ii tcl8.4 8.4.12-1.1 Tcl (the Tool Command Language) v8.4 - run-time files ii tcl8.4-dev 8.4.12-1.1 Tcl (the Tool Command Language) v8.4 - development files TT. On 3/14/07, Andrew Lunn <andrew@lunn.ch> wrote: > On Wed, Mar 14, 2007 at 06:21:22PM -0300, Tales Toledo wrote: > > Hi all, > > > > I've tried to build Linux configtool from source using the > > instructions at http://www.ecoscentric.com/devzone/configtool.shtml > > > > I already install GTK+ wxWidgets but I'm trouble with the next step... > > > > The problem is that I always get a message > > checking for Tcl installation... configure: error: unable to locate > > Tcl configuration file tclConfig.sh when I trying to build eCos host > > infraestructure > > > > I'm using tcl8.4. The tclConfig.sh is located at > > /usr/lib/tcl8.4/tclConfig.sh and the libs ( libtcl8.4.a, libtcl8.4.so, > > libtcl8.4.so.0) are /usr/lib > > > > I made the following changes at /ecos/acsupport/acinclude.m4 to make it > > works > > > > AC_ARG_WITH(tcl,[ --with-tcl=/usr/lib location of Tcl > > header and libraries]) > > AC_ARG_WITH(tcl-version,[ --with-tcl-version=8.4 version of Tcl to be > > used]) > > > > but I always have the same error. What am I doing wrong? > > Do you have the tcl development packages installed? > > 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] 12+ messages in thread
* Re: [ECOS] Fwd: tclConfig.sh error in ubuntu edgy 6.10 2007-03-14 21:54 ` Tales Toledo @ 2007-03-14 22:59 ` Lars Poeschel 2007-03-15 15:59 ` Tales Toledo 0 siblings, 1 reply; 12+ messages in thread From: Lars Poeschel @ 2007-03-14 22:59 UTC (permalink / raw) To: ecos-discuss; +Cc: Tales Toledo [-- Attachment #1: Type: text/plain, Size: 511 bytes --] Am Mittwoch, 14. März 2007 22:54 schrieb Tales Toledo: > dpkg -la gives me > > ii tcl8.4 8.4.12-1.1 Tcl (the Tool Command Language) v8.4 > - run-time files > ii tcl8.4-dev 8.4.12-1.1 Tcl (the Tool Command Language) v8.4 - > development files > I had to supply --with-tcl=8.4 option to configure to correctly detect tcl on my Debian box. You can also use my hosttools patch and read more on this here: http://sourceware.org/ml/ecos-patches/2006-06/msg00048.html Regards, Lars [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [ECOS] Fwd: tclConfig.sh error in ubuntu edgy 6.10 2007-03-14 22:59 ` Lars Poeschel @ 2007-03-15 15:59 ` Tales Toledo 2007-03-15 16:13 ` Lars Poeschel 0 siblings, 1 reply; 12+ messages in thread From: Tales Toledo @ 2007-03-15 15:59 UTC (permalink / raw) To: Lars Poeschel; +Cc: ecos-discuss Hi Lars, thanks for your support but unfortunately doesn't work yet in my Ubuntu environment. I made checkout from cvs today, apply the patch and tried to compile it again Here is my patch result ~/cvs20070315$ patch -p0 < ct060628.patch patching file ecos/aclocal.m4 patching file ecos/acsupport/acinclude.m4 patching file ecos/acsupport/ChangeLog patching file ecos/acsupport/config.guess patching file ecos/acsupport/config.sub patching file ecos/acsupport/depcomp patching file ecos/acsupport/install-sh patching file ecos/acsupport/missing patching file ecos/acsupport/mkinstalldirs patching file ecos/ChangeLog patching file ecos/configure patching file ecos/configure.ac patching file ecos/configure.in patching file ecos/host/aclocal.m4 patching file ecos/host/ChangeLog patching file ecos/host/configure patching file ecos/host/configure.ac patching file ecos/host/configure.in patching file ecos/host/infra/acconfig.h patching file ecos/host/infra/aclocal.m4 patching file ecos/host/infra/ChangeLog patching file ecos/host/infra/config.h.in patching file ecos/host/infra/configure patching file ecos/host/infra/configure.ac patching file ecos/host/infra/configure.in patching file ecos/host/infra/infra.h patching file ecos/host/infra/Makefile.in patching file ecos/host/infra/testsuite/Makefile.in patching file ecos/host/libcdl/acconfig.h patching file ecos/host/libcdl/aclocal.m4 patching file ecos/host/libcdl/ChangeLog patching file ecos/host/libcdl/config.h.in patching file ecos/host/libcdl/configure patching file ecos/host/libcdl/configure.ac patching file ecos/host/libcdl/configure.in patching file ecos/host/libcdl/Makefile.in patching file ecos/host/libcdl/testsuite/Makefile.in patching file ecos/host/libcdl/TODO patching file ecos/host/Makefile.in patching file ecos/host/tools/configtool/standalone/common/aclocal.m4 patching file ecos/host/tools/configtool/standalone/common/ChangeLog Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file ecos/host/tools/configtool/stan dalone/common/ChangeLog.rej patching file ecos/host/tools/configtool/standalone/common/configure patching file ecos/host/tools/configtool/standalone/common/configure.ac patching file ecos/host/tools/configtool/standalone/common/configure.in patching file ecos/host/tools/configtool/standalone/common/Makefile.in patching file ecos/host/tools/configtool/standalone/wxwin/aboutdlg.cpp patching file ecos/host/tools/configtool/standalone/wxwin/acinclude.m4 patching file ecos/host/tools/configtool/standalone/wxwin/admindlg.cpp patching file ecos/host/tools/configtool/standalone/wxwin/appsettings.cpp patching file ecos/host/tools/configtool/standalone/wxwin/buildoptionsdlg.cpp patching file ecos/host/tools/configtool/standalone/wxwin/ChangeLog patching file ecos/host/tools/configtool/standalone/wxwin/configitem.cpp Hunk #1 succeeded at 168 (offset 1 line). Hunk #2 succeeded at 238 (offset 1 line). Hunk #3 succeeded at 615 (offset 1 line). Hunk #4 succeeded at 656 (offset 1 line). Hunk #5 succeeded at 671 (offset 1 line). Hunk #6 succeeded at 679 (offset 1 line). Hunk #7 succeeded at 710 (offset 1 line). Hunk #8 succeeded at 730 (offset 1 line). Hunk #9 succeeded at 749 (offset 1 line). Hunk #10 succeeded at 767 (offset 1 line). Hunk #11 succeeded at 1050 (offset 1 line). Hunk #12 succeeded at 1104 (offset 1 line). Hunk #13 succeeded at 1169 (offset 1 line). patching file ecos/host/tools/configtool/standalone/wxwin/configpropdlg.cpp patching file ecos/host/tools/configtool/standalone/wxwin/configtool.cpp Hunk #3 succeeded at 180 (offset 7 lines). Hunk #4 succeeded at 233 (offset 7 lines). Hunk #5 succeeded at 299 (offset 7 lines). Hunk #6 succeeded at 354 (offset 7 lines). Hunk #7 succeeded at 364 (offset 7 lines). Hunk #8 succeeded at 400 (offset 7 lines). Hunk #9 succeeded at 408 (offset 7 lines). Hunk #10 succeeded at 426 (offset 7 lines). Hunk #11 succeeded at 441 (offset 7 lines). Hunk #12 succeeded at 470 (offset 7 lines). Hunk #13 succeeded at 499 (offset 7 lines). Hunk #14 succeeded at 551 (offset 7 lines). Hunk #15 succeeded at 578 (offset 7 lines). Hunk #16 succeeded at 623 (offset 7 lines). Hunk #17 succeeded at 638 (offset 7 lines). Hunk #18 succeeded at 661 (offset 7 lines). Hunk #19 succeeded at 689 (offset 7 lines). Hunk #20 succeeded at 1367 (offset 7 lines). patching file ecos/host/tools/configtool/standalone/wxwin/configtooldoc.cpp patching file ecos/host/tools/configtool/standalone/wxwin/configtooldoc.h patching file ecos/host/tools/configtool/standalone/wxwin/configtool.h patching file ecos/host/tools/configtool/standalone/wxwin/configtoolview.cpp patching file ecos/host/tools/configtool/standalone/wxwin/configtree.cpp patching file ecos/host/tools/configtool/standalone/wxwin/configure.ac patching file ecos/host/tools/configtool/standalone/wxwin/conflictsdlg.cpp patching file ecos/host/tools/configtool/standalone/wxwin/conflictwin.cpp patching file ecos/host/tools/configtool/standalone/wxwin/COPYING patching file ecos/host/tools/configtool/standalone/wxwin/docsystem.cpp patching file ecos/host/tools/configtool/standalone/wxwin/ecscrolwin.cpp patching file ecos/host/tools/configtool/standalone/wxwin/ecutils.cpp patching file ecos/host/tools/configtool/standalone/wxwin/ecutils.h patching file ecos/host/tools/configtool/standalone/wxwin/filename.cpp patching file ecos/host/tools/configtool/standalone/wxwin/filename.h patching file ecos/host/tools/configtool/standalone/wxwin/folderdlg.cpp patching file ecos/host/tools/configtool/standalone/wxwin/htmlparser.cpp patching file ecos/host/tools/configtool/standalone/wxwin/INSTALL patching file ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp Hunk #2 FAILED at 557. 1 out of 9 hunks FAILED -- saving rejects to file ecos/host/tools/configtool/sta ndalone/wxwin/mainwin.cpp.rej patching file ecos/host/tools/configtool/standalone/wxwin/makect.sh patching file ecos/host/tools/configtool/standalone/wxwin/Makefile patching file ecos/host/tools/configtool/standalone/wxwin/Makefile.am patching file ecos/host/tools/configtool/standalone/wxwin/makefile.g95 patching file ecos/host/tools/configtool/standalone/wxwin/makefile.gnu patching file ecos/host/tools/configtool/standalone/wxwin/makefile.vc patching file ecos/host/tools/configtool/standalone/wxwin/msgdlgex.cpp patching file ecos/host/tools/configtool/standalone/wxwin/packagesdlg.cpp patching file ecos/host/tools/configtool/standalone/wxwin/packagesdlg.h patching file ecos/host/tools/configtool/standalone/wxwin/platformeditordlg.cpp patching file ecos/host/tools/configtool/standalone/wxwin/platformsdlg.cpp patching file ecos/host/tools/configtool/standalone/wxwin/platformsdlg.h patching file ecos/host/tools/configtool/standalone/wxwin/propertywin.cpp patching file ecos/host/tools/configtool/standalone/wxwin/reposdlg.cpp patching file ecos/host/tools/configtool/standalone/wxwin/runtestsdlg.cpp patching file ecos/host/tools/configtool/standalone/wxwin/sectiondlg.cpp patching file ecos/host/tools/configtool/standalone/wxwin/settingsdlg.cpp patching file ecos/host/tools/configtool/standalone/wxwin/splittree.cpp patching file ecos/host/tools/configtool/standalone/wxwin/symbols.h patching file ecos/host/tools/configtool/standalone/wxwin/templatesdlg.cpp patching file ecos/host/tools/ecostest/ChangeLog Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file ecos/host/tools/ecostest/Change Log.rej patching file ecos/host/tools/ecostest/common/acinclude.m4 patching file ecos/host/tools/ecostest/common/ChangeLog patching file ecos/host/tools/ecostest/common/configure.ac patching file ecos/host/tools/ecostest/common/configure.in patching file ecos/host/tools/ecostest/common/COPYING patching file ecos/host/tools/ecostest/common/eCosTest.cpp patching file ecos/host/tools/ecostest/common/eCosTestDownloadFilter.cpp patching file ecos/host/tools/ecostest/common/eCosTest.h patching file ecos/host/tools/ecostest/common/eCosTestMonitorFilter.cpp patching file ecos/host/tools/ecostest/common/eCosTestPlatform.cpp patching file ecos/host/tools/ecostest/common/eCosTestSerialFilter.cpp patching file ecos/host/tools/ecostest/common/eCosTestUtils.cpp Hunk #1 succeeded at 63 (offset 1 line). Hunk #2 succeeded at 107 (offset 1 line). Hunk #3 succeeded at 128 (offset 1 line). Hunk #4 succeeded at 217 (offset 1 line). Hunk #5 succeeded at 394 (offset 1 line). patching file ecos/host/tools/ecostest/common/eCosTestUtils.h Hunk #1 succeeded at 54 (offset 1 line). patching file ecos/host/tools/ecostest/common/INSTALL patching file ecos/host/tools/ecostest/common/Makefile.am patching file ecos/host/tools/ecostest/common/permtest.cxx patching file ecos/host/tools/ecostest/common/ResetAttributes.cpp patching file ecos/host/tools/ecostest/common/ser_filter.cpp patching file ecos/host/tools/ecostest/common/TestResource.cpp patching file ecos/host/tools/Utils/common/aclocal.m4 patching file ecos/host/tools/Utils/common/ChangeLog patching file ecos/host/tools/Utils/common/Collections.cpp patching file ecos/host/tools/Utils/common/Collections.h patching file ecos/host/tools/Utils/common/configure patching file ecos/host/tools/Utils/common/configure.ac patching file ecos/host/tools/Utils/common/configure.in patching file ecos/host/tools/Utils/common/eCosSerial.cpp patching file ecos/host/tools/Utils/common/eCosSocket.cpp patching file ecos/host/tools/Utils/common/eCosStd.cpp patching file ecos/host/tools/Utils/common/eCosStd.h patching file ecos/host/tools/Utils/common/eCosTrace.h patching file ecos/host/tools/Utils/common/Makefile.in patching file ecos/host/tools/Utils/common/Properties.cpp patching file ecos/host/tools/Utils/common/Subprocess.cpp patching file ecos/host/tools/Utils/common/wcharunix.h patching file ecos/Makefile.in ----------------------------------- and my autoreconf result ~/cvs20070315/ecos/host$ autoreconf /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal ------------------------------- I changed --with-tcl=8.4 in acinclude.m4 at ecos/acsupport, I also tried --with-tcl=/usr/lib and --with-tcl-version=8.4 but with no success. My compilation result ~/ecos-build$ /home/toledo/cvs20070315/ecos/host/configure --prefix=/home/toledo/ecos-build checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking that a separate build tree is being used... yes configure: creating ./config.status config.status: creating Makefile config.status: executing default-1 commands === configuring in infra (/home/toledo/ecos-build/infra) configure: running /bin/bash /home/toledo/cvs20070315/ecos/host/infra/configure --prefix=/home/toledo/ecos-build --cache-file=/dev/null --srcdir=/home/toledo/cvs20070315/ecos/host/infra checking that a separate build tree is being used... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking "for Visual C++"... no checking "the default compiler flags"... done checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking "for a 64 bit data type"... long long checking for int *... yes checking size of int *... 4 checking for long... yes checking size of long... 4 checking "for __PRETTY_FUNCTION__ support"... yes checking for mkstemp... yes configure: creating ./config.status config.status: creating Makefile config.status: creating testsuite/Makefile config.status: creating hostinfra.h config.status: hostinfra.h is unchanged config.status: executing depfiles commands === configuring in libcdl (/home/toledo/ecos-build/libcdl) configure: running /bin/bash /home/toledo/cvs20070315/ecos/host/libcdl/configure --prefix=/home/toledo/ecos-build --cache-file=/dev/null --srcdir=/home/toledo/cvs20070315/ecos/host/libcdl checking that a separate build tree is being used... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for ranlib... ranlib checking "for Visual C++"... no checking "the default compiler flags"... done checking for eCos host-side infrastructure... -I/home/toledo/ecos-build/infra -L/home/toledo/ecos-build/infra checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for Tcl installation... configure: error: unable to locate Tcl configuration file tclConfig.sh configure: error: /home/toledo/cvs20070315/ecos/host/libcdl/configure failed for libcdl toledo@work:~/ecos-build$ /home/toledo/cvs20070315/ecos/host/configure --prefix=/home/toledo/ecos-build checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking that a separate build tree is being used... yes configure: creating ./config.status config.status: creating Makefile config.status: executing default-1 commands === configuring in infra (/home/toledo/ecos-build/infra) configure: running /bin/bash /home/toledo/cvs20070315/ecos/host/infra/configure --prefix=/home/toledo/ecos-build --cache-file=/dev/null --srcdir=/home/toledo/cvs20070315/ecos/host/infra checking that a separate build tree is being used... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking "for Visual C++"... no checking "the default compiler flags"... done checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking "for a 64 bit data type"... long long checking for int *... yes checking size of int *... 4 checking for long... yes checking size of long... 4 checking "for __PRETTY_FUNCTION__ support"... yes checking for mkstemp... yes configure: creating ./config.status config.status: creating Makefile config.status: creating testsuite/Makefile config.status: creating hostinfra.h config.status: hostinfra.h is unchanged config.status: executing depfiles commands === configuring in libcdl (/home/toledo/ecos-build/libcdl) configure: running /bin/bash /home/toledo/cvs20070315/ecos/host/libcdl/configure --prefix=/home/toledo/ecos-build --cache-file=/dev/null --srcdir=/home/toledo/cvs20070315/ecos/host/libcdl checking that a separate build tree is being used... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for ranlib... ranlib checking "for Visual C++"... no checking "the default compiler flags"... done checking for eCos host-side infrastructure... -I/home/toledo/ecos-build/infra -L/home/toledo/ecos-build/infra checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for Tcl installation... configure: error: unable to locate Tcl configuration file tclConfig.sh configure: error: /home/toledo/cvs20070315/ecos/host/libcdl/configure failed for libcdl ------------------------------- I will try to do it again with an Ubunbtu vmware fresh install to make sure I'm not making some mistake. Let me know if you have some suggestion, Thx TT On 3/14/07, Lars Poeschel <larsi@wh2.tu-dresden.de> wrote: > Am Mittwoch, 14. März 2007 22:54 schrieb Tales Toledo: > > dpkg -la gives me > > > > ii tcl8.4 8.4.12-1.1 Tcl (the Tool Command Language) v8.4 > > - run-time files > > ii tcl8.4-dev 8.4.12-1.1 Tcl (the Tool Command Language) v8.4 - > > development files > > > > I had to supply --with-tcl=8.4 option to configure to correctly detect tcl on > my Debian box. > You can also use my hosttools patch and read more on this here: > http://sourceware.org/ml/ecos-patches/2006-06/msg00048.html > > Regards, > Lars > > -- 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] 12+ messages in thread
* Re: [ECOS] Fwd: tclConfig.sh error in ubuntu edgy 6.10 2007-03-15 15:59 ` Tales Toledo @ 2007-03-15 16:13 ` Lars Poeschel 2007-03-15 16:19 ` Lars Poeschel 2007-03-15 20:54 ` Tales Toledo 0 siblings, 2 replies; 12+ messages in thread From: Lars Poeschel @ 2007-03-15 16:13 UTC (permalink / raw) To: Tales Toledo; +Cc: ecos-discuss Hi! I seems the neccessary lines of the patch were applied fine and autoreconf also worked fine. > ------------------------------- > > I changed --with-tcl=8.4 in acinclude.m4 at ecos/acsupport, I also > tried --with-tcl=/usr/lib and --with-tcl-version=8.4 but with no > success. You don't have to change some lines in some files!! You have to supply the --with-tcl=8.4 on the configure command line. You had: > My compilation result > > ~/ecos-build$ /home/toledo/cvs20070315/ecos/host/configure > --prefix=/home/toledo/ecos-build Correct should be: ~/ecos-build$ /home/toledo/cvs20070315/ecos/host/configure --prefix=/home/toledo/ecos-build --with-tcl=8.4 Please try that. Lars -- 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] 12+ messages in thread
* Re: [ECOS] Fwd: tclConfig.sh error in ubuntu edgy 6.10 2007-03-15 16:13 ` Lars Poeschel @ 2007-03-15 16:19 ` Lars Poeschel 2007-03-15 20:57 ` Tales Toledo 2007-03-15 20:54 ` Tales Toledo 1 sibling, 1 reply; 12+ messages in thread From: Lars Poeschel @ 2007-03-15 16:19 UTC (permalink / raw) To: ecos-discuss; +Cc: Tales Toledo As I read this I notice another mistake: > Correct should be: > > ~/ecos-build$ /home/toledo/cvs20070315/ecos/host/configure > --prefix=/home/toledo/ecos-build --with-tcl=8.4 Your --prefix may also be wrong unless you want the resulting binaries installed into your build-tree. Please check that. Lars -- 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] 12+ messages in thread
* Re: [ECOS] Fwd: tclConfig.sh error in ubuntu edgy 6.10 2007-03-15 16:19 ` Lars Poeschel @ 2007-03-15 20:57 ` Tales Toledo 0 siblings, 0 replies; 12+ messages in thread From: Tales Toledo @ 2007-03-15 20:57 UTC (permalink / raw) To: Lars Poeschel; +Cc: ecos-discuss Hi Lars, just to make this one with an answer too... > Your --prefix may also be wrong unless you want the resulting binaries > installed into your build-tree. Please check that. > It was a typing mistake, should be ecos-tools and not ecos-build... Thx again, TT -- 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] 12+ messages in thread
* Re: [ECOS] Fwd: tclConfig.sh error in ubuntu edgy 6.10 2007-03-15 16:13 ` Lars Poeschel 2007-03-15 16:19 ` Lars Poeschel @ 2007-03-15 20:54 ` Tales Toledo 2007-03-15 21:20 ` Tales Toledo 1 sibling, 1 reply; 12+ messages in thread From: Tales Toledo @ 2007-03-15 20:54 UTC (permalink / raw) To: Lars Poeschel; +Cc: ecos-discuss Hi again, it works, at least for configure command and autoreconf :-( > > You don't have to change some lines in some files!! You have to supply > the --with-tcl=8.4 on the configure command line. > You had: > In my case I need to use only --with-tcl-version=8.4 > > Correct should be: > > ~/ecos-build$ /home/toledo/cvs20070315/ecos/host/configure --prefix=/home/toledo/ecos-build --with-tcl=8.4 > The complete command line was ~/ecos-build$ /home/toledo/cvs20070315/ecos/host/configure --prefix=/home/toledo/ecos-tools --with-tcl-version=8.4 I also apply Andreas Fritiofson (06-08-24) patch since I had some errors after make command. I'm using gcc (GCC) 4.1.2 20060928 (prerelease). Everything was going fine until I found a new problem as you can see in the folowing lines --------------------- /home/toledo/ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp:560: error: no matching function for call to 'wxString::Printf(const char [151], const wchar_t [6], const char [12], const char [9])' /usr/include/wx-2.6/wx/string.h:1080: note: candidates are: int wxString::Printf(const wxChar*, ...) /home/toledo/ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp: In member function 'void ecMainFrame::OnBuildToolsPath(wxCommandEvent&)': /home/toledo/ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp:1265: warning: comparison between signed and unsigned integer expressions /home/toledo/ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp:1281: warning: comparison between signed and unsigned integer expressions make[2]: *** [mainwin.o] Error 1 make[2]: Leaving directory `/home/toledo/ecos-build/tools/configtool/standalone/wxwin' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/toledo/ecos-build/tools/configtool/standalone/wxwin' make: *** [all-recursive] Error 1 --------------------- Seems to be compiler problem again, I will try to fix it but if someone have a suggestion or even have the same problem solved I appreciate any help. Thx TT -- 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] 12+ messages in thread
* Re: [ECOS] Fwd: tclConfig.sh error in ubuntu edgy 6.10 2007-03-15 20:54 ` Tales Toledo @ 2007-03-15 21:20 ` Tales Toledo 2007-03-16 1:26 ` Lars Poeschel 0 siblings, 1 reply; 12+ messages in thread From: Tales Toledo @ 2007-03-15 21:20 UTC (permalink / raw) To: Lars Poeschel; +Cc: ecos-discuss Hi Lars, Regarding the compiling problem seems that is related with wxWidgets version. I was using 2.6 and now move to 2.4 and also have problems but in another file. Some declarations/functions have changed. At your "patch e-mail" you mentioned that you have used distribution installed wxwidgets. Do you know which version was it? TT. On 3/15/07, Tales Toledo <toledo.tales@gmail.com> wrote: > Hi again, > > it works, at least for configure command and autoreconf :-( > > > > > You don't have to change some lines in some files!! You have to supply > > the --with-tcl=8.4 on the configure command line. > > You had: > > > > In my case I need to use only --with-tcl-version=8.4 > > > > > Correct should be: > > > > ~/ecos-build$ /home/toledo/cvs20070315/ecos/host/configure --prefix=/home/toledo/ecos-build --with-tcl=8.4 > > > > The complete command line was > ~/ecos-build$ /home/toledo/cvs20070315/ecos/host/configure > --prefix=/home/toledo/ecos-tools --with-tcl-version=8.4 > > I also apply Andreas Fritiofson (06-08-24) patch since I had some > errors after make command. I'm using gcc (GCC) 4.1.2 20060928 > (prerelease). > > Everything was going fine until I found a new problem as you can see > in the folowing lines > > --------------------- > /home/toledo/ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp:560: > error: no matching function for call to 'wxString::Printf(const char > [151], const wchar_t [6], const char [12], const char [9])' > /usr/include/wx-2.6/wx/string.h:1080: note: candidates are: int > wxString::Printf(const wxChar*, ...) > /home/toledo/ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp: > In member function 'void > ecMainFrame::OnBuildToolsPath(wxCommandEvent&)': > /home/toledo/ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp:1265: > warning: comparison between signed and unsigned integer expressions > /home/toledo/ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp:1281: > warning: comparison between signed and unsigned integer expressions > make[2]: *** [mainwin.o] Error 1 > make[2]: Leaving directory > `/home/toledo/ecos-build/tools/configtool/standalone/wxwin' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/home/toledo/ecos-build/tools/configtool/standalone/wxwin' > make: *** [all-recursive] Error 1 > --------------------- > > Seems to be compiler problem again, I will try to fix it but if > someone have a suggestion or even have the same problem solved I > appreciate any help. > > Thx > TT > -- 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] 12+ messages in thread
* Re: [ECOS] Fwd: tclConfig.sh error in ubuntu edgy 6.10 2007-03-15 21:20 ` Tales Toledo @ 2007-03-16 1:26 ` Lars Poeschel 2007-03-21 15:39 ` Tales Toledo 0 siblings, 1 reply; 12+ messages in thread From: Lars Poeschel @ 2007-03-16 1:26 UTC (permalink / raw) To: ecos-discuss; +Cc: Tales Toledo [-- Attachment #1: Type: text/plain, Size: 3230 bytes --] Am Donnerstag, 15. März 2007 22:20 schrieb Tales Toledo: > Hi Lars, > > Regarding the compiling problem seems that is related with wxWidgets > version. I was using 2.6 and now move to 2.4 and also have problems > but in another file. > Some declarations/functions have changed. I don't know what is in Andreas Fritiofson's patch or if the cvs sources changed shortly, I will investigate on this and create a new patch if necessary next week. The problem the compiler is encountering is some unicode issue. wxStrings printf cannot handle char and wchar_t in one function call. > At your "patch e-mail" you mentioned that you have used distribution > installed wxwidgets. Do you know which version was it? Every 2.6 version is fine. (2.6.3 for example) As mentioned, you do NOT have to install a seperate version of wxWidgets. You can use the one supplied with your distributions packaging system. > On 3/15/07, Tales Toledo <toledo.tales@gmail.com> wrote: > > Hi again, > > > > it works, at least for configure command and autoreconf :-( > > > > > You don't have to change some lines in some files!! You have to supply > > > the --with-tcl=8.4 on the configure command line. > > > You had: > > > > In my case I need to use only --with-tcl-version=8.4 > > > > > Correct should be: > > > > > > ~/ecos-build$ /home/toledo/cvs20070315/ecos/host/configure > > > --prefix=/home/toledo/ecos-build --with-tcl=8.4 > > > > The complete command line was > > ~/ecos-build$ /home/toledo/cvs20070315/ecos/host/configure > > --prefix=/home/toledo/ecos-tools --with-tcl-version=8.4 > > > > I also apply Andreas Fritiofson (06-08-24) patch since I had some > > errors after make command. I'm using gcc (GCC) 4.1.2 20060928 > > (prerelease). > > > > Everything was going fine until I found a new problem as you can see > > in the folowing lines > > > > --------------------- > > /home/toledo/ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp:560: > > error: no matching function for call to 'wxString::Printf(const char > > [151], const wchar_t [6], const char [12], const char [9])' > > /usr/include/wx-2.6/wx/string.h:1080: note: candidates are: int > > wxString::Printf(const wxChar*, ...) > > /home/toledo/ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp: > > In member function 'void > > ecMainFrame::OnBuildToolsPath(wxCommandEvent&)': > > /home/toledo/ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp:1265 > >: warning: comparison between signed and unsigned integer expressions > > /home/toledo/ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp:1281 > >: warning: comparison between signed and unsigned integer expressions > > make[2]: *** [mainwin.o] Error 1 > > make[2]: Leaving directory > > `/home/toledo/ecos-build/tools/configtool/standalone/wxwin' > > make[1]: *** [all] Error 2 > > make[1]: Leaving directory > > `/home/toledo/ecos-build/tools/configtool/standalone/wxwin' > > make: *** [all-recursive] Error 1 > > --------------------- > > > > Seems to be compiler problem again, I will try to fix it but if > > someone have a suggestion or even have the same problem solved I > > appreciate any help. > > > > Thx > > TT [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [ECOS] Fwd: tclConfig.sh error in ubuntu edgy 6.10 2007-03-16 1:26 ` Lars Poeschel @ 2007-03-21 15:39 ` Tales Toledo 0 siblings, 0 replies; 12+ messages in thread From: Tales Toledo @ 2007-03-21 15:39 UTC (permalink / raw) To: Lars Poeschel; +Cc: ecos-discuss Hi Lars, > The problem the compiler is encountering is some unicode issue. wxStrings > printf cannot handle char and wchar_t in one function call. I fix it this way (ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp) 1) msg.Printf(_("eCos Configuration Tool %s (%s %s)\n\nCopyright (c) Red Hat, Inc. 1998-2002\nCopyright (c) John Dallaway 2003\nCopyright (c) eCosCentric Limited 2004-2006"), ecCONFIGURATION_TOOL_VERSION, wxT(__DATE__), wxT(__TIME__)); but also could be something like 2) msg.Printf(wxT("eCos Configuration Tool %s (%s %s)\n\nCopyright (c) Red Hat, Inc. 1998-2002\nCopyright (c) John Dallaway 2003\nCopyright (c) eCosCentric Limited 2004-2006"), ecCONFIGURATION_TOOL_VERSION, __TDATE__, __TTIME__); I'm not sure which is the best one. > I don't know what is in Andreas Fritiofson's patch or if the cvs sources > changed shortly, I will investigate on this and create a new patch if > necessary next week. Let me know if you check this. Anyway I will do some new tests to make sure that Andreas patch is really necessary. Thx, TT -- 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] 12+ messages in thread
end of thread, other threads:[~2007-03-21 15:39 UTC | newest] Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <2308fb0f0703141414s2c69d51cqdcf9e21e630acfc0@mail.gmail.com> 2007-03-14 21:21 ` [ECOS] Fwd: tclConfig.sh error in ubuntu edgy 6.10 Tales Toledo 2007-03-14 21:24 ` Andrew Lunn 2007-03-14 21:54 ` Tales Toledo 2007-03-14 22:59 ` Lars Poeschel 2007-03-15 15:59 ` Tales Toledo 2007-03-15 16:13 ` Lars Poeschel 2007-03-15 16:19 ` Lars Poeschel 2007-03-15 20:57 ` Tales Toledo 2007-03-15 20:54 ` Tales Toledo 2007-03-15 21:20 ` Tales Toledo 2007-03-16 1:26 ` Lars Poeschel 2007-03-21 15:39 ` Tales Toledo
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).