| View previous topic :: View next topic |
| Author |
Message |
soroko n00b

Joined: 13 Feb 2003 Posts: 35 Location: London
|
Posted: Tue Apr 08, 2003 11:25 am Post subject: Error emerging tora (Failed to find compatible GCC...) |
|
|
I get this when I do emerge tora. (I do USE oci8):
| Code: |
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/kde/3.1/lib" -Xlinker "--rpath=/usr/kde/3.1/lib" "-L/home/david/OraHome1/lib" "-L/usr/qt/3/lib" -Xlinker "--rpath=/home/david/OraHome1/lib" -Xlinker "--rpath=/usr/qt/3/lib" -I`pwd` "-I/usr/kde/3.1/include" "-I/home/david/OraHome1/rdbms/demo" "-I/home/david/OraHome1/plsql/public" "-I/home/david/OraHome1/rdbms/public" "-I/home/david/OraHome1/network/public" "-I/usr/qt/3/include" -lm -lpthread -lkdeprint -lkdecore -lkdeui -lDCOP -lkhtml -lkparts -lkio -lcrypt -ldl -lqt-mt -lclntsh -otemp /tmp/toraconfig.29333.cpp
!!! ERROR: dev-db/tora-1.3.9.2 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! configure failed
|
I have GCC 3.2.2 |
|
| Back to top |
|
 |
pilla Administrator


Joined: 07 Aug 2002 Posts: 7184 Location: Pelotas, BR
|
Posted: Tue Apr 08, 2003 2:18 pm Post subject: |
|
|
what's the version of gcc-config? _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
| Back to top |
|
 |
soroko n00b

Joined: 13 Feb 2003 Posts: 35 Location: London
|
Posted: Tue Apr 08, 2003 6:49 pm Post subject: |
|
|
gcc-config is 1.3.1
I suspect that this is Oracle related, since
Tora compiles OK if oci8 is not USEd |
|
| Back to top |
|
 |
ebrostig Bodhisattva


Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Tue Apr 08, 2003 8:09 pm Post subject: |
|
|
| soroko wrote: | gcc-config is 1.3.1
I suspect that this is Oracle related, since
Tora compiles OK if oci8 is not USEd |
Yes, you need to have Oracle installed in order to use the OCI8 USE flag.
The reason is that Tora is trying to locate the cleint libraries and can't find them. Unfortunatly the error returned from the configuration script is incorrect.
Erik _________________ 'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.' |
|
| Back to top |
|
 |
2CUrious n00b


Joined: 17 Jun 2002 Posts: 9
|
Posted: Mon Jun 02, 2003 9:53 pm Post subject: Tora builds fine |
|
|
I was able to build Tora 1.3.9.2 succesfully on my laptop. What I did:
1 - installed Oracle 9i client software (9.2.0.1) in my ORACLE_HOME directory /opt/oracle/product/9.2.0 with user oracle and group dba
(don't forget to set his Oracle env. in his .bash_profile)
2 - set a simple Oracle environment for user root in his /root/.bash_profile:
ORACLE_BASE=/opt/oracle
ORACLE_HOME=$ORACLE_BASE/product/9.2.0
TNS_ADMIN=$ORACLE_BASE/admin/network
PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_BASE ORACLE_HOME TNS_ADMIN PATH
3 - extended my USE variable in /etc/make.conf with oci8
(don't know if this is necessary)
4 - # emerge tora
This ones fails !!! And it looks like an Oracle component is missing:
Actually the Oracle Call Interface.
5 - login with user oracle and ran $ORACLE_HOME/bin/runInstaller
and select Oracle 9i installation -> Custom and select Oracle Call Interface
6 - # emerge tora
And  |
|
| Back to top |
|
 |
|