Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 5502

Summary: tuxracer 0.61-r1 can't compile
Product: Gentoo Linux Reporter: herve lombaert <herve.lombaert>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description herve lombaert 2002-07-24 04:28:33 UTC
emerge rsync
emerge tuxracer

[...]

hash.o: In function `create_hash_table':
hash.o(.text+0x19): undefined reference to `Tcl_InitHashTableEx'
hier.o: In function `initialize_scene_graph':
hier.o(.text+0xafc): undefined reference to `Tcl_InitHashTableEx'
hier.o(.text+0xb0d): undefined reference to `Tcl_InitHashTableEx'
collect2: ld returned 1 exit status
make: *** [tuxracer] Error 1
Comment 1 herve lombaert 2002-07-24 04:58:53 UTC
I found why I got this error on compilation. Once I've tried to emerge tcltk,
but it was not accessible through the normal "emerge tcltk"/
So I did:
cd /usr/portage/dev-lan/tcltk
ebuild tcl-tk... merge

Then it seems that it messed all the tcl libraries. And Tuxracer are using 3
references to Tcl_InitHashTable(). That's why it refuses to compile.

Solve:

I unmerge/unebuild tcltk manually
cd /var/db/portage/dev-lang/
ebuild tcltk... unmerge

But then, it also erased some tcl libraries (libtcl8.3.so) from another package
(!!!). So I had to reemerge tcl

emerge tcl

and finally

emerge tuxracer

thought:

It would be nice to include some "uninstall depedencies" to emerge... the same
way apt-get works. When I uninstall libX, it would warn that it will also
uninstall all X programs for instance. That's what I miss the most from debian.