[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: kspread and postgresql
From:       Dennis Veatch <dveatch () woh ! rr ! com>
Date:       2005-08-12 14:05:07
Message-ID: 200508121005.07445.dveatch () woh ! rr ! com
[Download RAW message or body]

On Friday 12 August 2005 09:46 am, Ariya Hidayat wrote:
> > Ah thanks Anya and your are quite right. Didn't think to look at Qt and
> > it wasn't set up for postgresql, just mysql. Would you happen to know if
> > I need to recompile kdelibs and kdebase afterwards?
>
> No, this is only a driver plugin for Qt.
> I recall that you use source-based distro, so recompiling Qt (or even
> compiling the driver plugin, make sure Qt versions match) should be enough.
>
>
> --
> Ariya Hidayat
>

Ok thanks, that will save some time.

Though qt doesn't seem to like the psql driver. I get this during the make;

g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql -I/usr/include 
-fno-exceptions -Wall -W -O2 -mcpu=i686 -march=i686 -mmmx -msse 
-mfpmath=sse,387 -D_REENTRANT -fPIC  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT 
-DQT_PLUGIN -DQT_SHARED -I/usr/src/qt-x11-free-3.3.4/mkspecs/linux-g++ -I. 
-I/usr/include/freetype2 -I../../../../include -I/usr/X11R6/include 
-I.moc/release-shared-mt/ 
-o .obj/qsql_psql.o ../../../../src/sql/drivers/psql/qsql_psql.cpp
../../../../src/sql/drivers/psql/qsql_psql.cpp:50:22: postgres.h: No such file 
or directory
../../../../src/sql/drivers/psql/qsql_psql.cpp:57:29: catalog/pg_type.h: No 
such file or directory

Both those files do exist on the system and they live here;

/usr/include/postgresql/server/postgres.h
/usr/include/postgresql/server/catalog/pg_type.h

So I use;

-plugin-sql-psql -I/usr/include/postgresql/server/ -L/usr/lib/postgresql/

So I'm not sure what I'm doing wrong here as that line matches in principle 
what I'm using for the mysql driver;

-plugin-sql-mysql -I/usr/include/mysql -L/usr/lib/mysql

Any thoughts are appreciated.
____________________________________
koffice mailing list
koffice@kde.org
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic