Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31262 - tclxml-expat-2.4 gives an error when compiling: "cannot find -lTclxmlstub2.4"
Summary: tclxml-expat-2.4 gives an error when compiling: "cannot find -lTclxmlstub2.4"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Arcady Genkin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-16 04:00 UTC by Andreas Eriksson
Modified: 2003-11-26 03:39 UTC (History)
2 users (show)

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 Andreas Eriksson 2003-10-16 04:00:23 UTC
I'm trying to emerge tkabber, a jabber client. tclxml-expat-2.4 is one of
tkabber's dependencies, and it won't compile.

Reproducible: Always
Steps to Reproduce:
1. emerge tkabber

Actual Results:  
(some things are translated from Swedish, so it may not be what it actually says
in the english version)
gcc -pipe -shared -o libTclexpat2.4.so tclexpat.o xmltok.o xmlrole.o xmlwf.o
xmlfile.o codepage.o hashtable.o unixfilemap.o xmlparse.o    -L/usr/lib
-ltclstub8.4 -LNONE/lib/Tclxml2.4 -lTclxmlstub2.4
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/../../../../i686-pc-linux-gnu/bin/ld: 
cannot find -lTclxmlstub2.4
collect2: ld returned 1 exit status
make: *** [libTclexpat2.4.so] Errors 1
 
!!! ERROR: dev-tcltk/tclxml-expat-2.4 failed.
!!! Function src_compile, Line 21, Exitcode 2
!!! (no error message)

Expected Results:  
it should have compiled.

root@datamaskin tpwch # emerge info
Portage 2.0.49-r13 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.6.0-test7-bk3)
=================================================================
System uname: 2.6.0-test7-bk3 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mcpu=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -mcpu=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo http://gentoo.linux.no/
http://mirror.pudas.net/gentoo
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://ftp.easynet.nl/mirror/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="oss cups encode foomaticdb libg++ mad mikmod motif pdflib xv gdbm berkdb
slang arts svga java gpm tcpd esd imlib oggvorbis qt opengl -kde -apm radeon mmx
X gtk gtk2 gnome acpi avi crypt curl dga dvd fbcon gif ipv6 jpeg libwww mozilla
mpeg ncurses nls pam perl png python quicktime readline samba sdl spell ssl
tcltk tetex tiff truetype wmf xml xml2 xmms zlib x86"
Comment 1 Chuck 2003-10-19 12:01:39 UTC
I tried emerging tkabber myself with the same error message using the same
system configuration.
Comment 2 Christian Gut 2003-10-20 04:53:57 UTC
same here, but worked on my WS with kernel 2.6. Don't know yet what the difference
is.
Comment 3 Christian Gut 2003-10-20 05:24:31 UTC
think i got it. libtclxml installs a defective ls /usr/lib/TclxmlConfig.sh
Just replace every occurence of "NONE" by /usr and youre done. Dont know
exactly what to do with the other wrong paths /var/tmp/portage... But it
works only with those NONE thingies..
Comment 4 Sergiy Borodych 2003-10-20 06:38:55 UTC
See Bug#: 30057
But this patch not in sync :(
Comment 5 Martin Ehmsen (RETIRED) gentoo-dev 2003-11-16 04:24:45 UTC
I got it working by doing a:
ln -s Tclxml2.4/libTclxmlstub2.4.a libTclxmlstub2.4.so
in /usr/lib

But this is absolutely no permanent solution...
Comment 6 Olivier Crete (RETIRED) gentoo-dev 2003-11-26 03:39:21 UTC
it was fixed in the 2.5 tclxml ebuild, but not the 2.4, now its fixed