Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354365 - app-office/kexi-2.3.1 does not load postgresql driver
Summary: app-office/kexi-2.3.1 does not load postgresql driver
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-10 13:54 UTC by Andreas K. Hüttel
Modified: 2011-02-24 12:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Kexi's build log (build.log,193.74 KB, text/plain)
2011-02-12 16:38 UTC, LeHibou
Details
Emerge opts (emergeopts.txt,4.02 KB, text/plain)
2011-02-12 16:45 UTC, LeHibou
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Hüttel archtester gentoo-dev 2011-02-10 13:54:08 UTC
from a user report:

> I emerged kexi 2.3.1. But there is no real support for postgresql (please
> read on). I added the flag and so on. It compiled with it greatly.
> 
> But, when I launch the app ->  import database from a server 
> 
> I cannot select any driver (postgresql one in my case). Remains empty.
> 
> I noticed that the defaut libpqxx is 2.6.9, whereas the last one is 3.0.2.
Comment 1 Aaron W. Swenson gentoo-dev 2011-02-10 20:33:28 UTC
2.6.9 is probably not new enough to work with the latest versions of PostgreSQL. I think PgSQL 9.0 support was brought with libpqxx 3.0
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2011-02-10 23:12:49 UTC
http://pgfoundry.org/pipermail/libpqxx-general/2011-January/thread.html
^ This is about the only information that I could find, and it suggests that even libpqxx-3.1 (not in portage yet) is too old for postgres 9.

However even after manual downgrading I did not find a working combination...
Comment 3 LeHibou 2011-02-12 16:38:31 UTC
Created attachment 262251 [details]
Kexi's build log

Beware to the locale, you might experience some "?".
Comment 4 LeHibou 2011-02-12 16:45:29 UTC
Created attachment 262255 [details]
Emerge opts
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2011-02-12 16:55:58 UTC
Hmm this looks like in your case the postgresql driver is not even built. 

Can you try two things please: 
1) enabling the postgres useflag on qt-sql, rebuilding qt-sql, then rebuilding kexi?
2) upgrading libpqxx to newest version in portage, then rebuilding kexi (with --nodeps if necessary)?

In each case it's interesting 
* whether there is something like usr/lib64/kde4/kexidb_postgresdriver.so or similar
* and whether you can select postgres database in the dialog

Thanks!
Comment 6 LeHibou 2011-02-16 19:44:27 UTC
(In reply to comment #5)
> Hmm this looks like in your case the postgresql driver is not even built. 
> 
> Can you try two things please: 
> 1) enabling the postgres useflag on qt-sql, rebuilding qt-sql, then rebuilding
> kexi?
> 2) upgrading libpqxx to newest version in portage, then rebuilding kexi (with
> --nodeps if necessary)?
> 
> In each case it's interesting 
> * whether there is something like usr/lib64/kde4/kexidb_postgresdriver.so or
> similar
> * and whether you can select postgres database in the dialog
> 
> Thanks!
> 

Huum. No emerge possible w/o the deps. How could we tell the emerge package to link directly with libpqxx-3.0.2 ?

Many thanks !
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2011-02-16 21:54:45 UTC
I just changed the kexi ebuild. In an hour or so it should also accept libpqxx-3.*
Comment 8 LeHibou 2011-02-18 14:19:08 UTC
Ok, it is now working fine,

Thank you Andreas, you made it greatly,

See you 
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2011-02-24 12:02:02 UTC
OK thanks... dependencies have been fixed.