Re: Debian AMD64 compile problem - Mailing list pgadmin-support

From Dave Page
Subject Re: Debian AMD64 compile problem
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC3922@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Debian AMD64 compile problem  (Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>)
Responses Re: Debian AMD64 compile problem  (Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>)
List pgadmin-support

> -----Original Message-----
> From: pgadmin-support-owner@postgresql.org
> [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of
> Joost Kraaijeveld
> Sent: 04 November 2005 11:25
> To: pgadmin-support@postgresql.org
> Subject: [pgadmin-support] Debian AMD64 compile problem
>
> Hi,
>
> I am trying to compile PgAdmin3 1.4 Beta 3 on a Debian 3.1
> Sarge machine
> with PostgreQSL 8.03 installed. Configure complains, saying
>
> checking for pgsql include files... yes
> checking for pgsql... yes
> checking for PQexec in -lpq... yes
> checking for SSL_connect in -lpq... yes
> checking libpq-fe.h usability... no
> checking libpq-fe.h presence... no
> checking for libpq-fe.h... no
> checking pgsql in /usr... failed
> configure: error: you must specify a valid pgsql installation with
> --with-pgsql=DIR
>
> Now I am confused. The first two lines suggest that configure
> finds the
> files it cannot find in the last two lines.

Ignore the first two - what it really means is that it has a path to
look in for each of those items. I'll look to improving those messages.

> Could you give me an insight in what it actually wants, and more
> important where to find it?

Yeah, it looks like it's finding libpq (which is not always a surpsie if
it's somewhere in LD_LIBRARY_PATH, but failing to find the headers which
it needs the precise location of. You can override the header path with
--with-pgsql-include=/path/to/dir. It expects to find libpq-fe.h (and
any dependencies) in the directory you specify.

I need to refactor the pgsql detection code to try to use pg_config (as
we already do for wx), but that's not going to happen for 1.4.

Regards, Dave.


pgadmin-support by date:

Previous
From: Joost Kraaijeveld
Date:
Subject: Debian AMD64 compile problem
Next
From: Andreas Pflug
Date:
Subject: Re: