Skip site navigation (1) Skip section navigation (2)

Re: Debian AMD64 compile problem

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Joost Kraaijeveld" <J(dot)Kraaijeveld(at)Askesis(dot)nl>,<pgadmin-support(at)postgresql(dot)org>
Subject: Re: Debian AMD64 compile problem
Date: 2005-11-04 11:56:33
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC3922@ratbert.vale-housing.co.uk (view raw or flat)
Thread:
Lists: pgadmin-support
 

> -----Original Message-----
> From: pgadmin-support-owner(at)postgresql(dot)org 
> [mailto:pgadmin-support-owner(at)postgresql(dot)org] On Behalf Of 
> Joost Kraaijeveld
> Sent: 04 November 2005 11:25
> To: pgadmin-support(at)postgresql(dot)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.

Responses

pgadmin-support by date

Next:From: Andreas PflugDate: 2005-11-04 13:38:33
Subject: Re:
Previous:From: Joost KraaijeveldDate: 2005-11-04 11:24:30
Subject: Debian AMD64 compile problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group