Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
TOra + PostgreSQL?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Clay
n00b
n00b


Joined: 22 May 2002
Posts: 23

PostPosted: Sat Dec 21, 2002 3:49 am    Post subject: TOra + PostgreSQL? Reply with quote

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
View user's profile Send private message
DooBeDooBeDo
Apprentice
Apprentice


Joined: 21 Aug 2002
Posts: 217
Location: UK

PostPosted: Sat Dec 21, 2002 8:23 pm    Post subject: Reply with quote

Do you have 'postgres' in your USE var?
Back to top
View user's profile Send private message
Clay
n00b
n00b


Joined: 22 May 2002
Posts: 23

PostPosted: Sun Dec 22, 2002 4:46 am    Post subject: Reply with quote

yep... it's in /etc/make.conf
Back to top
View user's profile Send private message
Clay
n00b
n00b


Joined: 22 May 2002
Posts: 23

PostPosted: Sun Dec 22, 2002 3:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Wed Dec 25, 2002 5:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Clay
n00b
n00b


Joined: 22 May 2002
Posts: 23

PostPosted: Thu Dec 26, 2002 3:26 am    Post subject: Reply with quote

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
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Thu Dec 26, 2002 4:14 am    Post subject: Reply with quote

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
View user's profile Send private message
uraes
Tux's lil' helper
Tux's lil' helper


Joined: 28 Nov 2002
Posts: 94
Location: Estonia

PostPosted: Thu May 29, 2003 5:45 am    Post subject: But what about Oracle Reply with quote

I added "oci8" to my USE var, recompiled qt but it didn't add Oracle provider to TOra. What next?

Urmas
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Thu May 29, 2003 3:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum