emerge gambas stops complaining about postgress.h and pg_type.h Although, postgresql is well installed as shows : bigben # emerge postgresql -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-db/postgresql-7.4 Reproducible: Always Steps to Reproduce: 1.emerge gambas 2. 3. Actual Results: make[5]: Entering directory `/var/tmp/portage/gambas-0.71/work/gambas-0.71/src/lib/db/postgresql' /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/mysql -O3 -march=pentium3 -pipe -fomit-frame-pointer -pipe -Wall -g -O0 -c main.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/mysql -O3 -march=pentium3 -pipe -fomit-frame-pointer -pipe -Wall -g -O0 -c main.c -fPIC -DPIC -o main.lo main.c:33:22: postgres.h: No such file or directory main.c:34:21: pg_type.h: No such file or directory main.c:45: `FALSE' undeclared here (not in a function) main.c: In function `check_result': [snip] followed by a lot of "undeclared" errors Expected Results: The ebuild contains two errors in src_compile() : 1) use postgres \ && myconf="${myconf} -with-postgresql-includes=/usr/include/postgresql" \ ==> The correct path (with postgres 7.4) should be : -with-postgresql-includes=/usr/include/postgresql/server 2) The block concerning mysql refers also to postgresql. It should be : use mysql \ && myconf="${myconf} --with-mysql-includes=/usr/include/mysql" \ || myconf="${myconf} --without-mysql-includes" (BTW, gambas-0.72 is out !)
I'm working on a fix but unfortunately I've discovered another problem (likely a local problem for me) which prevents me from completely testing the ebuild.
If it can help, I can confirm that the two corrections I've mentionned solved the things (at least for me !).
fixed and version bumped in cvs, together with a bunch of other bugs