Summary: | failed to build tora-1.3.16 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | yasen <yasen> |
Component: | Current packages | Assignee: | Don Seiler (RETIRED) <rizzo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, KickMeToAndy |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch to fix this bug |
Description
yasen
2005-03-17 08:05:21 UTC
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. |