Gentoo Archives: gentoo-user

From: luis jure <ljc@××××××××××××.uy>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] problems compiling tk-8.14.8 *SOLVED*
Date: Sat, 26 Apr 2008 00:12:47
Message-Id: 20080425211055.110c43d5@acme.acmenet
In Reply to: [gentoo-user] problems compiling tk-8.14.8 by luis jure
1 El Thu, 24 Apr 2008 11:34:51 -0300
2 luis jure <ljc@××××××××××××.uy> escribió:
3
4 > /var/tmp/portage/dev-lang/tk-8.4.18/work/tk8.4.18/unix/../generic/tkConsole.c:76:
5 > error: 'TCL_CHANNEL_VERSION_4' undeclared here (not in a function)
6 > /var/tmp/portage/dev-lang/tk-8.4.18/work/tk8.4.18/unix/../generic/tkConsole.c:90:
7 > warning: excess elements in struct initializer
8 > /var/tmp/portage/dev-lang/tk-8.4.18/work/tk8.4.18/unix/../generic/tkConsole.c:90:
9 > warning: (near initialization for 'consoleChannelType') make: ***
10 > [tkConsole.o] Error 1 make: *** Waiting for unfinished jobs....
11 >
12
13
14 in case anyone meets a similar problem, i post here the solution i found
15 after days of googling: this problem is caused by old tcl.h and tk.h
16 files installed in /usr/local/include by some 3rd party package. after
17 deleting those files (and others related), tk compiled just fine.
18
19 best,
20
21 lj
22 --
23 gentoo-user@l.g.o mailing list