| Summary: | Qt-3.2.3-r1 fails building (possible because of postgresql) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Martin Ehmsen (RETIRED) <ehmsen> |
| Component: | [OLD] Library | Assignee: | Gentoo KDE team <kde> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | aent, arso, esigra, griso.roberto, paulh |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Martin Ehmsen (RETIRED)
2004-01-07 07:43:37 UTC
Looks like there's an error in the ebuild, line 93. Changing /usr/include/postgresql/pgsql" to /usr/include/postgresql/server" should fix it - running a test build now. Yep, that did it. Exact same problem here...trying the above mentioned fix... I had to change the line to:
use postgres && myconf="${myconf} -plugin-sql-psql -I/usr/include/postgresql/pgsql/server -I/usr/include/postgresql/pgsql"
to get it working.
Having just one of the -I's didn't work for me.
Yep, above "fix" worked for me. The line mentioned in comment 4 works for me. *** Bug 37500 has been marked as a duplicate of this bug. *** The cause of this is the fact that postgresql have changed it's include file locations from the latest stable ebuild of 7.3.5 to the testing ebuild of 7.4.1. So this needs some modifications to the qt. It could use pg_config to get the correct locations. `pg_config --includedir` `pg_config --includedir-server` So something like this is needed. if [ x`pg_config --includedir` = x ] then myconf="$myconf -I`pg_config --includedir`" fi Should always test before posting... :) the if should be something like this instead: if [ -n "`pg_config --includedir`" ] But you got the idea. ;) I got the same problem here with the 7.4.1-r1 version of postgres. On another other box, it works fine but it have the current stable version of postgres. Related to comment 10. After an emerge sync, with new ebuild for qt-3.2.3 (without unload of any new package) ebuild of qt was ended successfully. With postgresql-7.4.1-r1 and USE="postgres", I had to add this includedir to have it working : -I/usr/include/postgresql/pgsql/server . Please fix this asap because I'd like to unmask postgres 7.4.1-r1 on hppa to fix some problems. fixed Now we have: -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server *** Bug 37813 has been marked as a duplicate of this bug. *** |