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: Fwd: tclConfig.sh error in ubuntu edgy 6.10


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


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