Re: compiling on debian does not find a valid PostgreSQL 8.4+ installati

From: Giuseppe Sacco <giuseppe(at)eppesuigoccas(dot)homedns(dot)org>
To: pgadmin-support(at)postgresql(dot)org
Subject: Re: compiling on debian does not find a valid PostgreSQL 8.4+ installati
Date: 2011-08-16 09:58:46
Message-ID: 1313488726.16692.25.camel@scarafaggio
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Il giorno mar, 16/08/2011 alle 09.32 +0200, Guillaume Lelarge ha
scritto:
> On Tue, 2011-08-16 at 09:14 +0200, Giuseppe Sacco wrote:
> > Il giorno mar, 16/08/2011 alle 09.09 +0200, Guillaume Lelarge ha
> > scritto:
> > > On Tue, 2011-08-16 at 09:05 +0200, Giuseppe Sacco wrote:
> > [...]
> > > Did you install the -devel package?
> >
> > there is no such package:
> > $ apt-cache search postgresql | grep -- -devel
> > $
> >
>
> Sorry, I meant libpq-dev.

Sure, libpq-dev is installed, but I still get the error. Just to recap:

List of installed packages:
ii libpq-dev 9.0.4-1+b1 header files for libpq5 (PostgreSQL library)
ii libpq5 9.0.4-1+b1 PostgreSQL C client library
ii postgresql-8.4 8.4.8-2 object-relational SQL database, version 8.4 server
ii postgresql-9.0 9.0.4-1+b1 object-relational SQL database, version 9.0 server
ii postgresql-client-8.4 8.4.8-2 front-end programs for PostgreSQL 8.4
ii postgresql-client-9.0 9.0.4-1+b1 front-end programs for PostgreSQL 9.0
ii postgresql-client-common 119 manager for multiple PostgreSQL client versions
ii postgresql-common 119 PostgreSQL database-cluster manager
ii postgresql-contrib 9.0.4-1 additional facilities for PostgreSQL (supported version)
ii postgresql-contrib-8.4 8.4.8-2 additional facilities for PostgreSQL
ii postgresql-contrib-9.0 9.0.4-1+b1 additional facilities for PostgreSQL

The configure command, that fail, is:
$ ./configure --prefix=/usr/local/pgadmin3-1.14 --with-pgsql=/usr/lib/postgresql/8.4
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
[...]
checking for memmove... yes
checking for memset... yes
checking for strchr... yes
configure: error: Could not find your PostgreSQL installation in /usr/lib/postgresql/8.4

Please note that it stop after strchr. If I do not specify --with-pgsql
it goes a little bit further an change error message:

checking for memmove... yes
checking for memset... yes
checking for strchr... yes
checking for SSL_library_init in -lssl... no
checking for krb5_sendauth in -lkrb5... yes
checking for PQexec in -lpq... no
checking for PQconninfoParse in -lpq... no
checking for krb5_free_principal in -lpq... no
checking libpq-fe.h usability... yes
checking libpq-fe.h presence... yes
checking for libpq-fe.h... yes
checking PostgreSQL in /usr... failed
configure: error: you must specify a valid PostgreSQL 8.4+ installation with --with-pgsql=DIR

So, I do think the first error is wrong and should probably be somethig
related to SSL. The second is probably looking for something different.

Bye,
Giuseppe

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Pedro Costa 2011-08-18 11:39:53 query interminable
Previous Message Guillaume Lelarge 2011-08-16 07:32:19 Re: compiling on debian does not find a valid PostgreSQL 8.4+ installati