Re: [Gtksql-users] gtksql: problem with configure: postgres.h presence... no
Brought to you by:
djluff
From: Darryl L. <da...@sn...> - 2003-08-10 10:40:07
|
Jan 'Miernik' Macek wrote: >I have a problem with compiling your package. > >I am using Debian sid, and I have the postgresql-dev package >installed. I have the /usr/include/postgresql/server/postgres.h file >on my system: > >szczeliniec:/usr/include/postgresql/server# l /usr/include/postgresql/server/postgres.h >- -rw-r--r-- 1 root root 14259 2003-06-02 00:45 /usr/include/postgresql/server/postgres.h > > >But ./configure says that it's not there: > >checking /usr/include/mysql/mysql.h usability... yes >checking /usr/include/mysql/mysql.h presence... yes >checking for /usr/include/mysql/mysql.h... yes >checking /usr/include/pgsql/server/postgres.h usability... no >checking /usr/include/pgsql/server/postgres.h presence... no >checking for /usr/include/pgsql/server/postgres.h... no >checking /usr/include/postgresql/server/postgres.h usability... no >checking /usr/include/postgresql/server/postgres.h presence... no >checking for /usr/include/postgresql/server/postgres.h... no >checking whether to include MySQL support... yes >checking whether to include PostgreSQL support... no > >What to do? > > Hi again Jan. I have finally got a Debian system up and running. It's debian 3.0. The 0.3.2 version of gtksql configured and built OK for me. The postgresql header is found in /usr/include/postgresql/server/postgres.h. The CVS version had a couple of problems with the older version of gcc. I've fixed them so it now also builds OK. There are a couple of small problems (like it doesn't find the bitmap for the 'About' box). These should be fixed this week. Is it possible that the postgresql-dev package has a problem on your system? The autoconf scripts do a test compile using the header, they don't just check that it's there. Have you been able to compile other postgresql related programs? If you look in the config.log file after it fails it should show you what it tried to run, and what failed. >My package is here: >http://www.miernik.ctnet.pl/debian/pool/gtksql_0.3.2-1_i386.deb > > This fails some dependencies on my system, which is to be expected I guess. Thanks again, Darryl. |