Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12375 - cannot emerge tk
Summary: cannot emerge tk
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-18 05:19 UTC by Jan Wuyts
Modified: 2003-03-10 03:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Wuyts 2002-12-18 05:19:22 UTC
I am trying to update to dev-lang/tk-8.3.3-r3 but the emerge fails with a lot of
error messages about the files
/usr/lib/tcl8.3/include/generic/tclInt.h and
/usr/lib/tcl8.3/include/generic/tclIntDecls.h at different lines of these files.
For example, first error is:
---
In file included from
/var/tmp/portage/tk-8.3.3-r3/work/tk8.3.3/unix/tkUnixPort.h:228,
                 from /var/tmp/portage/tk-8.3.3-r3/work/tk8.3.3/generic/tkPort.h:32,
                 from /var/tmp/portage/tk-8.3.3-r3/work/tk8.3.3/generic/tkInt.h:27,
                 from /var/tmp/portage/tk-8.3.3-r3/work/tk8.3.3/generic/tk3d.h:18,
                 from /var/tmp/portage/tk-8.3.3-r3/work/tk8.3.3/generic/tk3d.c:16:
/usr/lib/tcl8.3/include/generic/tclInt.h:784: parse error before '*' token
---
This last line is repeated a lot, but with different line numbers and also for
the file tclIntDecls.h (If you want I can post all the errors)
These 2 files (tclInt.h and tclIntDecls.h) are owned by dev-lang/tcl-8.3.3-r3 so
maybe the problem lies there.
I had dev-lang/tk-8.3.3-r2 installed when I first installed the system but even
that won't compile anymore.
I've had this problem on 2 PC's, one with gentoo 1.2 and one with 1.4_rc1, it
works fine on my PPC gentoo 1.2 however.
Greetings,

Jan.
Comment 1 Jan Wuyts 2003-01-03 02:41:45 UTC
I tried it with the combination tcl-8.3.4 & tk-8.3.4
same problem
Comment 2 Jan Wuyts 2003-03-10 03:56:15 UTC
Problem fixed!
Because I use some old software that needs it I have manually installed tcl/tk 8.0 is /usr/local/ . I had carefully removed all references to that before trying to update tcl/tk 8.3.3 so I did not believe that could be the problem. Last weekend I realized that since tcl8.0 is on /usr/local (on a separate partition) I could try unmounting it.
This worked and the update went fine.
Still strange that tk8.3 tries to compile against tcl8.0 although 8.3 is installed.
Greetings,

Jan.