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

Joined: 22 May 2002 Posts: 23
|
Posted: Sat Dec 21, 2002 3:49 am Post subject: TOra + PostgreSQL? |
|
|
I know TOra supports PostgreSQL, I've used it on Windows... anyway, when I emerge it, it throws some "no connection provider" error.
How can I get it connect to a pgsql server? Do I need to install the Oracle client to get it to do what I want? |
|
| Back to top |
|
 |
DooBeDooBeDo Apprentice


Joined: 21 Aug 2002 Posts: 217 Location: UK
|
Posted: Sat Dec 21, 2002 8:23 pm Post subject: |
|
|
| Do you have 'postgres' in your USE var? |
|
| Back to top |
|
 |
Clay n00b

Joined: 22 May 2002 Posts: 23
|
Posted: Sun Dec 22, 2002 4:46 am Post subject: |
|
|
| yep... it's in /etc/make.conf |
|
| Back to top |
|
 |
Clay n00b

Joined: 22 May 2002 Posts: 23
|
Posted: Sun Dec 22, 2002 3:25 pm Post subject: |
|
|
| for some reason, the postgres portion of the ebuil was commented out... i removed the comment, but it still didn't compile with any support... |
|
| Back to top |
|
 |
rizzo Retired Dev


Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Wed Dec 25, 2002 5:54 am Post subject: |
|
|
TOra ebuild author here.
It is commented out because, as you discovered, it does nothing. TOra derives mysql and postgres support from Qt. So I imagine you compiled Qt without postgres support. Ensure (again) that "postgres" is in your USE var, then re-compile qt. You may need to re-compile tora afterwards, I'm not certain. |
|
| Back to top |
|
 |
Clay n00b

Joined: 22 May 2002 Posts: 23
|
Posted: Thu Dec 26, 2002 3:26 am Post subject: |
|
|
| rizzo wrote: | TOra ebuild author here.
It is commented out because, as you discovered, it does nothing. TOra derives mysql and postgres support from Qt. So I imagine you compiled Qt without postgres support. Ensure (again) that "postgres" is in your USE var, then re-compile qt. You may need to re-compile tora afterwards, I'm not certain. |
I'll try this. Can I just put in the USE in make.conf? |
|
| Back to top |
|
 |
rizzo Retired Dev


Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Thu Dec 26, 2002 4:14 am Post subject: |
|
|
| Clay wrote: | | I'll try this. Can I just put in the USE in make.conf? |
Yes that's what I assumed one would do. I never set the USE flag on the command-line. |
|
| Back to top |
|
 |
uraes Tux's lil' helper

Joined: 28 Nov 2002 Posts: 94 Location: Estonia
|
Posted: Thu May 29, 2003 5:45 am Post subject: But what about Oracle |
|
|
I added "oci8" to my USE var, recompiled qt but it didn't add Oracle provider to TOra. What next?
Urmas |
|
| Back to top |
|
 |
rizzo Retired Dev


Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Thu May 29, 2003 3:30 pm Post subject: |
|
|
Did you recompile TOra? You need to do that if you didn't have oci8 support in the previous compile.
Make sure your $ORACLE_* environment vars are set correctly as well. |
|
| Back to top |
|
 |
|