Bug 82550 - dev-db/tora-1.3.15 fails to emerge
Bug#: 82550 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: rizzo@gentoo.org Reported By: nuno.araujo@russo79.com
Component: Applications
URL: 
Summary: dev-db/tora-1.3.15 fails to emerge
Keywords:  
Status Whiteboard: 
Opened: 2005-02-19 02:15 0000
Description:   Opened: 2005-02-19 02:15 0000
It seems that there is a problem with the configure script for tora.
I modified the tora ebuild and created a patch for it.



Reproducible: Always
Steps to Reproduce:
1. Set use flag Oracle
2. emerge tora

Actual Results:  
Failed to find compatible GCC compiler. This doesn't necessary mean that
there are no c++ compiler that won't work. This test includes compiling
a Qt application using Oracle. So if anything went wrong finding these
this test will fail.

The command tried was the following ($CC is replaced with whatever C
compiler used):

$CC "-L/usr/lib/oracle/10.1.0.2/client/lib" "-L/usr/qt/3/lib" -Xlinker
"--rpath=/usr/lib/oracle/10.1.0.2/client/lib" -Xlinker "--rpath=/usr/qt/3/lib" 
-I`pwd` "-I/usr/lib/oracle/10.1.0.2/client/rdbms/demo"
"-I/usr/lib/oracle/10.1.0.2/client/plsql/public"
"-I/usr/lib/oracle/10.1.0.2/client/rdbms/public"
"-I/usr/lib/oracle/10.1.0.2/client/network/public" "-I/usr/qt/3/include" -lm
-lpthread -lcrypt -ldl  -lqt-mt  -lclntsh -otemp /tmp/toraconfig.17418.cpp


!!! ERROR: dev-db/tora-1.3.14.1-r1 failed.
!!! Function src_compile, Line 66, Exitcode 2
!!! configure failed
!!! If you need support, post the topmost build error, NOT this status message.

------- Comment #1 From Nuno Araujo 2005-02-19 02:16:26 0000 -------
Created an attachment (id=51572) [details]
Modified tora ebuild

------- Comment #2 From Nuno Araujo 2005-02-19 02:17:02 0000 -------
Created an attachment (id=51574) [details]
patch that is applied by the modified version of the ebuild

------- Comment #3 From Don Seiler (RETIRED) 2005-02-19 10:40:31 0000 -------
Do you not have a full Oracle installation?  I don't believe TOra is supported
with just the instantclient installation.

------- Comment #4 From Nuno Araujo 2005-02-19 11:47:29 0000 -------
At least it seems that the users in the forums can use it.
And in the sourceforge.net tora forums there are people who made TOra only work with it.
Take a look at the thread at :
http://sourceforge.net/forum/message.php?msg_id=2708940
People there could make TOra work with only the instant client...

------- Comment #5 From Olaf Walkowiak 2005-02-21 02:20:25 0000 -------
I have a full oracle install and tora fails with the same error.

------- Comment #6 From Nuno Araujo 2005-02-21 02:40:31 0000 -------
did you tried with my ebuild?

------- Comment #7 From Don Seiler (RETIRED) 2005-02-21 08:03:36 0000 -------
I have reported your patch upstream and they have accepted it, and even given
you credit the "About" dialog.  However I'm still waiting for comment from some
others in the community to make sure that is the way to go.  I'll test on my
box today (full 9.2.0.4 client).

FWIW, I'm pretty sure no one has validated TOra against 10g.

------- Comment #8 From Don Seiler (RETIRED) 2005-02-21 10:58:31 0000 -------
tora-1.3.15-r1 committed to portage.

thank you.