| Summary: | Compilation failure in tclcl due to wrong calling of otcl function | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Georgios E. Kylafas <gekylafas> |
| Component: | Current packages | Assignee: | TCL/TK Project <tcltk> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | again |
| Priority: | High | ||
| Version: | 1.4 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Georgios E. Kylafas
2005-01-18 10:15:55 UTC
tclcl-1.6 in cvs. Please try it. How can I obtain this new version? I have recently (2005-04-20) resynced, but there is still tclcl version 1.15 in portage. dev-tcltk/tclcl-1.15 didn't compile here, either. After that I tried dev-tcltk/tclcl-1.16, which worked fine. Here's the output: Calculating dependencies ...done! [ebuild N ] dev-tcltk/tclcl-1.15 0 kB [...] Do you want me to merge these packages? [Yes/No] Yes >>> emerge (1 of 4) dev-tcltk/tclcl-1.15 to / [...]>>> Unpacking source... >>> Unpacking tclcl-src-1.15.tar.gz to /var/tmp/portage/tclcl-1.15/work * Applying tclcl-1.15-gcc34.patch ... [ ok ] Remember to add `AC_PROG_LIBTOOL' to `configure.in'. Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL' You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'. >>> Source unpacked. * econf: updating tclcl-1.15/config.sub with /usr/share/gnuconfig/config.sub cp: `/usr/share/gnuconfig/config.sub' and `/var/tmp/portage/tclcl-1.15/work/tclcl-1.15/config.sub' are the same file ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-tcl-ver=8.4 --with-tk-ver=8.4 configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. No .configure file found in current directory Continuing with default options... checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for string.h... yes checking for main in -lXbsd... no checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for dcgettext in -lintl... no checking for getnodebyname in -ldnet_stub... no checking standard STL is available... no checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for snprintf... yes checking for ANSI C header files... (cached) yes checking for strtoq... yes checking for strtoll... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... (cached) 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 for long... yes checking size of long... 4 checking for __int64_t... no checking for long long... yes checking for int64_t... yes checking which kind of 64-bit int to use... int64_t ./configure: line 3890: [: 8.4: integer expression expected checking for tcl.h... -I/usr/include checking for libtcl8.4... -L/usr/lib -ltcl8.4 checking for init.tcl... /usr/lib/tcl8.4 checking for tclsh8.4... /usr/bin/tclsh8.4 checking for tk.h... -I/usr/include checking for libtk8.4... -L/usr/lib -ltk8.4 checking for tk.tcl... /usr/lib/tk8.4 checking for otcl.h... -I/usr/include checking for libotcl1.8... -L/usr/lib -lotcl checking for X11 header files checking for X11 library archive checking for XOpenDisplay in -lX11... yes checking for XShmAttach in -lXext... yes No explicit static compilation flag; setting V_STATIC to "" checking for dlopen in -ldl... yes checking for a BSD compatible install... /bin/install -c configure: creating ./config.status config.status: creating Makefile creating ./gen creating ./bin i686-pc-linux-gnu-gcc -c -DNO_TK -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_8 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_STRTOQ=1 -DHAVE_STRTOLL=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_LONG=4 -DHAVE_INT64=1 -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_4=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_4=1 -DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_8=1 -I. -I/usr/include -I/usr/include -I/usr/include -o tcl2c++.o tcl2c++.c i686-pc-linux-gnu-g++ -c -DNO_TK -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_8 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_STRTOQ=1 -DHAVE_STRTOLL=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_LONG=4 -DHAVE_INT64=1 -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_4=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_4=1 -DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_8=1 -I. -I/usr/include -I/usr/include -I/usr/include -o Tcl.o Tcl.cc i686-pc-linux-gnu-g++ -c -DNO_TK -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_8 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_STRTOQ=1 -DHAVE_STRTOLL=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_LONG=4 -DHAVE_INT64=1 -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_4=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_4=1 -DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_8=1 -I. -I/usr/include -I/usr/include -I/usr/include -o Tcl2.o Tcl2.cc i686-pc-linux-gnu-g++ -c -DNO_TK -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_8 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_STRTOQ=1 -DHAVE_STRTOLL=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_LONG=4 -DHAVE_INT64=1 -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_4=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_4=1 -DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_8=1 -I. -I/usr/include -I/usr/include -I/usr/include -o idlecallback.o idlecallback.cc i686-pc-linux-gnu-g++ -c -DNO_TK -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_8 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_STRTOQ=1 -DHAVE_STRTOLL=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_LONG=4 -DHAVE_INT64=1 -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_4=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_4=1 -DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_8=1 -I. -I/usr/include -I/usr/include -I/usr/include -o iohandler.o iohandler.cc i686-pc-linux-gnu-g++ -c -DNO_TK -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_8 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_STRTOQ=1 -DHAVE_STRTOLL=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_LONG=4 -DHAVE_INT64=1 -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_4=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_4=1 -DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_8=1 -I. -I/usr/include -I/usr/include -I/usr/include -o timer.o timer.cc i686-pc-linux-gnu-g++ -c -DNO_TK -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_8 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_STRTOQ=1 -DHAVE_STRTOLL=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_LONG=4 -DHAVE_INT64=1 -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_4=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_4=1 -DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_8=1 -I. -I/usr/include -I/usr/include -I/usr/include -o rate-variable.o rate-variable.cc make: *** No rule to make target `/usr/lib/tcl8.4/http2.4/http.tcl', needed by `embedded-tcl.cc'. Stop. make: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-g++ -c -DNO_TK -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_8 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_STRTOQ=1 -DHAVE_STRTOLL=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_LONG=4 -DHAVE_INT64=1 -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_4=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_4=1 -DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_8=1 -I. -I/usr/include -I/usr/include -I/usr/include -o tracedvar.o tracedvar.cc make: *** Waiting for unfinished jobs.... !!! ERROR: dev-tcltk/tclcl-1.15 failed. !!! Function src_compile, Line 37, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r8 i686) ================================================================= System uname: 2.6.11-gentoo-r8 i686 Pentium III (Katmai) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 29 2005, 17:49:29)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.7.9-r1, 1.9.5, 1.5, 1.6.3, 1.4_p6, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X alsa apm avi berkdb bitmap-fonts crypt cups curl divx4linux emacs emboss encode esd fam flac foomaticdb fortran gd gdbm gif gnome gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses ogg oggvorbis opengl pam pdflib perl png ppds python qt quicktime readline sdl spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY Hi Matsuu!
I saw that you patched tclcl-1.16. For tclcl-1.15 to work, its ebuild needs to be patched, too. This should work until tclcl-1.16 is marked stable:
--- tclcl-1.15.ebuild.orig 2005-05-14 11:44:43.000000000 +0200
+++ tclcl-1.15.ebuild 2005-05-14 11:45:09.000000000 +0200
@@ -32,7 +32,7 @@
tkv=$(grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/')
local myconf="--with-tcl-ver=${tclv} --with-tk-ver=${tkv}"
econf ${myconf} || die "econf failed"
- sed 's|$(LIBRARY_TCL)/http.*/http.tcl|$(LIBRARY_TCL)/http2.4/http.tcl|g' \
+ sed 's|$(LIBRARY_TCL)/http.*/http.tcl|$(LIBRARY_TCL)/http2.5/http.tcl|g' \
-i Makefile || die "sed failed"
emake || die "emake failed"
}
Regards
Christian
fixed in cvs. thanks. |