Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   problems compiling tk-8.14.8 *SOLVED* (http://www.linux-archive.org/gentoo-user/76362-problems-compiling-tk-8-14-8-solved.html)

luis jure 04-26-2008 12:10 AM

problems compiling tk-8.14.8 *SOLVED*
 
El Thu, 24 Apr 2008 11:34:51 -0300
luis jure <ljc@internet.com.uy> escribió:

> /var/tmp/portage/dev-lang/tk-8.4.18/work/tk8.4.18/unix/../generic/tkConsole.c:76:
> error: 'TCL_CHANNEL_VERSION_4' undeclared here (not in a function)
> /var/tmp/portage/dev-lang/tk-8.4.18/work/tk8.4.18/unix/../generic/tkConsole.c:90:
> warning: excess elements in struct initializer
> /var/tmp/portage/dev-lang/tk-8.4.18/work/tk8.4.18/unix/../generic/tkConsole.c:90:
> warning: (near initialization for 'consoleChannelType') make: ***
> [tkConsole.o] Error 1 make: *** Waiting for unfinished jobs....
>


in case anyone meets a similar problem, i post here the solution i found
after days of googling: this problem is caused by old tcl.h and tk.h
files installed in /usr/local/include by some 3rd party package. after
deleting those files (and others related), tk compiled just fine.

best,

lj
--
gentoo-user@lists.gentoo.org mailing list


All times are GMT. The time now is 04:53 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.