I've got the following error message when I've tryied to build tora (emerge tora): $CC "-L/usr/kde/3.3/lib" -Xlinker "--rpath=/usr/kde/3.3/lib" "-L/lib32" "-L/lib" "-L" "-L/usr/qt/3/lib" -Xlink er "--rpath=/lib32" -Xlinker "--rpath=/lib" -Xlinker "--rpath=" -Xlinker "--rpath=/usr/qt/3/lib" -I`pwd` "-I/ usr/kde/3.3/include" "-I/rdbms/demo" "-I/plsql/public" "-I/rdbms/public" "-I/network/public" "-I/sdk/include" "-I/usr/qt/3/include" -lm -lpthread -lkdeprint -lkdecore -lkdeui -lDCOP -lkhtml -lkparts -lkio -lcrypt -ldl - lqt-mt -otemp /tmp/toraconfig.12220.cpp Where $CC in (cc, gcc, g++). I've checked for qt-mt library and it exists in /usr/qt/3/lib I was able to compile and link test program with qt-mt library - gcc test.c -L /usr/qt/3/lib -lqt-mt Reproducible: Always Steps to Reproduce: 1.emerge tora 2. 3. Actual Results: The error message as described above. Expected Results: To have working tora Gentoo Base System version 1.4.16 Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.4.28-grsec-2.1.0 i686) ================================================================= System uname: 2.4.28-grsec-2.1.0 i686 AMD Athlon(tm) XP 3000+ Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 11 2005, 03:37:31)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/alias /va r/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo ftp://gentoo.itdnet.net/gentoo/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.be.gentoo.org/gentoo-portage" USE="x86 X apm arts avi berkdb bitmap-fonts crypt cups curl emboss encode esd fam font-server foomaticdb fortr an gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mozill a mp3 mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl svg a tcltk tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
I don't see an error message there.
It's my mistake. Sorry. The error message is: checking /usr/lib/ccache/bin/cc compiler ... /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linu x-gnu/bin/ld: cannot find -lqt-mt collect2: ld returned 1 exit status checking /usr/lib/ccache/bin/g++ compiler ... /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-lin ux-gnu/bin/ld: cannot find -lqt-mt collect2: ld returned 1 exit status checking /usr/lib/ccache/bin/gcc compiler ... /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-lin ux-gnu/bin/ld: cannot find -lqt-mt collect2: ld returned 1 exit status ... and so on
Same here. Its the single "-L" (..."-L/lib" "-L" "-L/usr/qt/3/lib"...) causing this. Don't know, where it comes from.
It comes from empty/missing ORACLE_HOME enviorment variable as I was trying to compile tora without oracle. It'll work if you do something like "export ORACLE_HOME=EMPTY" (as I did :). It seems that ebiuld don't pass --without-oracle option to tora configure script when there isn't 'oracle' string in use flags. Setting -oracle in use flags doesn't work either. PP Thanks for your help, Michael
use oracle || myconf="$myconf --without-oracle" It will pass --without-oracle if USE doesn't have oracle. I will check with the dev list.
FYI I can duplicate this at my oracle-less home workstation.
This is known and fixed upstream in their CVS. Will come out in next release.
OK. Thanks for support.
Created attachment 54326 [details, diff] Patch to fix this bug This is an un-official patch. I got this to work yesterday on my machine. There is like 4 lines to fix in the configure.pl program. If you would like to apply it yourself, run emerge -v tora, then after it fails, cd /var/tmp/portage/tora*/work/tora* patch the configure.pl file, then run ebuild /path/to/tora/ebuild/file compile ebuild /path/to/tora/ebuild/file merge
*** Bug 86620 has been marked as a duplicate of this bug. ***
I'm not a big fan of unoffical patches. Plus you still need to patch the /usr/bin/tora wrapper script. I'm waiting for a response from upstream on ETA for next release or an official patch.
http://cvs.sourceforge.net/viewcvs.py/tora/tora/configure.pl?r1=1.181&r2=1.182&diff_format=u That looks to be the official patch. Can you test that and then just call /usr/bin/tora.real to launch?
I've applied patch and successfully compiled tora. Thanks for support.
Configure patch and tora script patch applied to tora-1.3.16-r1. Cheers.