Re: Could not find your PostgreSQL installation

Lists: pgadmin-support
From: Luca Ferrari <fluca1978(at)infinito(dot)it>
To: pgadmin-support(at)postgresql(dot)org
Subject: Could not find your PostgreSQL installation in /usr/lib/postgresql/8.1
Date: 2006-11-17 17:48:32
Message-ID: 200611171848.32864.fluca1978@infinito.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

Hi all,
I'm using kubuntu where I've installed the postgresql using apt-get (8.1), and
now I'm trying to compile pgadmin but I got this error while
running ./configure:
Could not find your PostgreSQL installation in /usr/lib/postgresql/8.1

I guess my postgresql directory should be /usr/lib/postgresql/8.1, that
contains:
luca(at)fluca:/usr/lib/postgresql/8.1]$ ls -l
totale 2
drwxr-xr-x 2 root root 816 2006-11-17 18:33 bin
drwxr-xr-x 2 root root 1936 2006-11-17 18:33 lib

I tried running ./configure with the --with-pgsql, specifying the above
directory but nothing changed. I took a look at the configure script and
found that the above message is echoed when pg_config is not found, and I
cannot find it on my system. Do I have to install a specific package to get
this program? How can I compile pgadmin?

Thanks,
Luca


From: Dave Page <dpage(at)postgresql(dot)org>
To: Luca Ferrari <fluca1978(at)infinito(dot)it>, "'pgadmin-support(at)postgresql(dot)org'" <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Could not find your PostgreSQL installation
Date: 2006-11-17 19:34:40
Message-ID: 455E0ED0.904@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

Luca Ferrari wrote:
> Hi all,
> I'm using kubuntu where I've installed the postgresql using apt-get (8.1), and
> now I'm trying to compile pgadmin but I got this error while
> running ./configure:
> Could not find your PostgreSQL installation in /usr/lib/postgresql/8.1
>
> I guess my postgresql directory should be /usr/lib/postgresql/8.1, that
> contains:
> luca(at)fluca:/usr/lib/postgresql/8.1]$ ls -l
> totale 2
> drwxr-xr-x 2 root root 816 2006-11-17 18:33 bin
> drwxr-xr-x 2 root root 1936 2006-11-17 18:33 lib
>
> I tried running ./configure with the --with-pgsql, specifying the above
> directory but nothing changed. I took a look at the configure script and
> found that the above message is echoed when pg_config is not found, and I
> cannot find it on my system. Do I have to install a specific package to get
> this program? How can I compile pgadmin?

pgAdmin won't look in that directory at all by default, so I can only
assume the Kubuntu packager has modified the pgAdmin build system in
some way - you may need to speak to him/her...

However, the message is telling you that it's looking for pg_config from
PostgreSQL 8.1 in /usr/lib/postgresql/8.1 - if that program is not on
your system then either the package you installed is broken, or it
wasn't actually PostgreSQL 8.1. If it is on your system but elsewhere,
then try using --with-pgsql=/path/to/dir/that/pg_config/is/in/

Regards, Dave.