tetex doesnt emerge, with ld reporting an error of not being able to find "-lmysqlclient" I dont have mysql installed on this machine (obviously) but the ebuild doesnt seem to check for mysql atall
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.1/../../../../i586-pc-linux-gnu/bin/ld:hyperte x.o: file format not recognized; treating as linker script /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.1/../../../../i586-pc-linux-gnu/bin/ld:hyperte x.o:2: parse error ---- xdvik # file hypertex.o hypertex.o: Emacs v18 byte-compiled Lisp data ???
did you have any mysql installed ? try to watch out for mysql path in /etc/ld.so.conf if not, remove the entries, #ldconfig then try again
I dont have mysql installed and i dont have any mysql specific entries in /etc/ld.so.conf ... i dont think my problem is related to mysql, its a some problem with *.o files which are not really object-files. But they will be given as input to ld..
Try it with the latest teTeX ebuild available; a snapshot from 2003 would be great.
Try with 2.0, just released.
Actually, could I have your USE variable? We're seeing some odd problems with this in other areas. But please *please* try tetex-2.0, as I think that might help fix the problem.
Ok, is this still valid? I'd like to close if not...
yeah... its still valid... # ld.so.conf autogenerated by env-update; make all changes to # contents of /etc/env.d directory /usr/local/lib /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3 /usr/lib/opengl/nvidia/lib /usr/X11R6/lib /opt/blackdown-jdk-1.3.1/jre/lib/i386/ /opt/blackdown-jdk-1.3.1/jre/lib/i386/native_threads/ /usr/qt/3/lib /usr/kde/3.1/lib tetex-1.0.7-r12 was selected by portage as the tetex version to use... morpheus root # emerge -up world | grep tetex [ebuild U ] app-text/tetex-1.0.7-r12 [1.0.7-r11] USE="X gtk gnome -alsa dvd libdvdread" I'm also having the same problem with some other emerges - see http://forums.gentoo.org/viewtopic.php?t=34988 Heres the final output from the tetex emerge... gcc -o oxdvi.bin xdvi.o dvi-draw.o dvi-init.o events.o font-open.o gf.o pk.o psdps.o psgs.o psheader.o psnews.o special.o util.o vf.o sfDir.o sfDraw.o sfPath.o sfSelFile.o hypertex.o mime.o wwwfetch.o alloca.o -L/usr/lib -lwwwxml -lxmltok -lxmlparse -lwwwzip -lwwwsql -lwwwinit -lwwwapp -lwwwhtml -lwwwtelnet -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lmd5 -ldl -lz -L/usr/lib/mysql -lmysqlclient -L/usr/lib -lssl -lcrypto -L/usr/X11R6/lib -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 ../kpathsea/STATIC/libkpathsea.a -lm /usr/i686-pc-linux-gnu/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status make[2]: *** [oxdvi.bin] Error 1 make[2]: Leaving directory `/var/tmp/portage/tetex-1.0.7-r12/work/teTeX-1.0/texk/oxdvik' make[1]: *** [all] Error 1 make[1]: Leaving directory `/var/tmp/portage/tetex-1.0.7-r12/work/teTeX-1.0/texk' make: *** [all] Error 1 !!! ERROR: app-text/tetex-1.0.7-r12 failed. !!! Function einstall, Line 8, Exitcode 2 !!! einstall failed
I got absoluteley the same problem "gnomeking" has when I followed http://dev.gentoo.org/~satai/sgmlfix.html because of http://bugs.gentoo.org/show_bug.cgi?id=23448. This stuff all looks pretty b0rked to me. ;)
Problem seems to be solved here. By using the "revdep-rebuild" command I was able to fix some broken dependencies on my system (reemerging quite a bunch of packages). After that, tetex built fine.
Ok, good. I should add that to the SGML fix then, do you think?
I think this stuff is caused by an external libwww not being used by default. The internal libwww (included with tetex) does indeed have mysql code in it, and will enable it if mysql was on the system it built on. But there is no mysql dep in tetex, thus the problem.
So try USE="libwww" emerge tetex and see if that works better. mysql may be hard-coded into the included libwww sources.
fixed in 1.0.7-r13 and 2.0.2-r1. Thanks for the report :) (the included libwww was depending on mysql sometimes, we now use ours instead.)
I tried emerging tetex-2.0.2-r3 and I had these problems. Below is the pertinent info. I don't really expect this to be resolved, but I thought I'd file this report anyway. I'm almost sure there's something wrong with my system, but I don't know what. jeremiah log # emerge info Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.3 -gentoo-r2) ================================================================= System uname: 2.6.3-gentoo-r2 i686 Pentium III (Katmai) Gentoo Base System version 1.4.10 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s hare/config /usr/share/config /var/lib/jboss /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome gpm g tk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggv orbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spel l ssl svga tcpd truetype x86 xml2 xmms xv zlib" jeremiah log # emerge tetex -p --verbose These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] net-libs/libwww-5.4.0-r2 -mysql +ssl 1,110 kB [ebuild N ] app-text/tetex-2.0.2-r3 0 kB Total size of downloads: 1,110 kB