Should I downgrade or something? I'm a bit wary of up or downgrading tcl, as I heard a lot about incompatibilities between versions for tcl. Reproducible: Always Steps to Reproduce: 1.emerge unmerge tclx (As per ebuild warning 2.emerge tclx 3.failure Actual Results: /var/tmp/portage/tclx-8.3-r1/work/tclx8.3/unix/runtcl /var/tmp/portage/tclx-8.3- r1/work/tclx8.3/unix/tools/genindex.tcl tcl.tlib Error: version conflict for package "Tcl": have 8.4, need 8.3 (while initializing TclX) while initializing application (Tcl_AppInit?) make[1]: *** [tcl.tndx] Error 255 make[1]: Leaving directory `/var/tmp/portage/tclx-8.3-r1/work/tclx8.3/tcl/unix' make: *** [TCLX] Error 2 !!! ERROR: dev-tcltk/tclx-8.3-r1 failed. !!! Function src_compile, Line 66, Exitcode 2 !!! (no error message) Expected Results: emerge --info: Portage 2.0.50-r9 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040619-r0, 2.6.7-mm4) ================================================================= System uname: 2.6.7-mm4 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.5.1 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe -ftracer -ffast-math -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/kde/cvs/share/config /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=athlon-xp -pipe -ftracer -ffast-math -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox userpriv usersandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.0.2/gentoo-portage" USE="3dnow X alsa apm applypatches arts artswrappersuid avi cdr crypt dvd encode final foomaticdb gdbm gif gphoto2 gpm gtk gtk2 guile imlib java jpeg kde libg++ libwww mad mikmodmmx motif mpeg mysql ncurses nls nptl oggvorbis opengl oss pdflib perl pic png python qt quicktime readline samba sdl slang sse ssl svga tcltk tcpd tetex tiff truetype x86 xml2 xv xvid zlib"
I'm currently trying to duplicate your problem on two separate systems and am unable to thus far. which version of tcl/tk do you currently have on yours system? Which version of tk do you have? I'm assuming 8.4.6. If you've got any additional information, it'd be very handy.
Created attachment 36620 [details] Experimental Tclx 8.3.5 ebuild I found a slightly newer tclx and changed it to compile against the latest current versions of tcl and tk as well as corrected the homepage for the package. Try this ebuild... I didn't have to unmerge my old tclx install to get this one to work. So maybe a version upgrade will kill two birds with one stone. Let me know how this ebuild works for you.
Created attachment 36920 [details] New tclx 8.3.5 ebuild with fixes for bug 46565. Includes clean up of warning that's no longer needed.
Ebuild is now in Portage. Reopen the bug if the problem persists.
When trying to upgrade the tclx lib get the following. Error: version conflict for package "Tcl": have 8.4, need 8.3 (while initializing TclX) while initializing application (Tcl_AppInit?) make[1]: *** [tcl.tndx] Error 255 make[1]: Leaving directory `/var/tmp/portage/tclx-8.3.5/work/tclx8.3.5/tcl/unix' make: *** [TCLX] Error 2 !!! ERROR: dev-tcltk/tclx-8.3.5 failed. !!! Function src_compile, Line 61, Exitcode 2 !!! (no error message) tcl 8.4.6 is installed, and was put there when the system did a world update. emerge tclx tcl -vp These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] dev-tcltk/tclx-8.3.5 [8.3] +X -debug 0 kB [ebuild R ] dev-lang/tcl-8.4.6 -threads 0 kB Total size of downloads: 0 kB
Jon, Please try to unmerge tclx and then re-emerge it again and let me know how that works.
unemerge then re-emerge seems to work. Its now not complaining about version issues. Thanks
seems to work after the unemerge then re-emerge. Thanks
Fixed.