Il giorno mar, 16/08/2011 alle 09.09 +0200, Guillaume Lelarge ha scritto: [...] > > How do I recognize that directory? I think it should > > be /usr/lib/postgresql/8.4 but this does not work. > > > > It is. If it does not work, what error message do you have?
$ ./configure --prefix=/usr/local/pgadmin3-1.14 --with-pgsql=/usr/lib/postgresql/8.4/bin checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu [...] 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/bin [...] > > $ ls -1 /usr/bin/pg_* > > /usr/bin/pg_config > > /usr/bin/pg_config.libpq-dev > > /usr/bin/pg_createcluster > > /usr/bin/pg_ctlcluster > > /usr/bin/pg_dropcluster > > /usr/bin/pg_dump > > /usr/bin/pg_dumpall > > /usr/bin/pg_lsclusters > > /usr/bin/pg_restore > > /usr/bin/pg_upgradecluster > > > > No. Those are wrappers, not the real command. For example: > > guillaume@somewhere:~$ ll /usr/bin/psql > lrwxrwxrwx 1 root root 37 jan 2 2011 /usr/bin/psql > -> ../share/postgresql-common/pg_wrapper some of them are linl to pg_wrapper, some aren't. For instance pg_config isn't: $ ls -l /usr/bin/pg_* -rwxr-xr-x 1 root root 1123 29 mag 19.18 /usr/bin/pg_config -rwxr-xr-x 1 root root 26008 4 mag 03.00 /usr/bin/pg_config.libpq-dev -rwxr-xr-x 1 root root 22799 8 ago 13.27 /usr/bin/pg_createcluster -rwxr-xr-x 1 root root 15488 24 ott 2010 /usr/bin/pg_ctlcluster -rwxr-xr-x 1 root root 4013 5 ago 2010 /usr/bin/pg_dropcluster lrwxrwxrwx 1 root root 37 8 ago 15.35 /usr/bin/pg_dump -> ../share/postgresql-common/pg_wrapper lrwxrwxrwx 1 root root 37 8 ago 15.35 /usr/bin/pg_dumpall -> ../share/postgresql-common/pg_wrapper -rwxr-xr-x 1 root root 1858 5 ago 2010 /usr/bin/pg_lsclusters lrwxrwxrwx 1 root root 37 8 ago 15.35 /usr/bin/pg_restore -> ../share/postgresql-common/pg_wrapper -rwxr-xr-x 1 root root 23356 4 ago 18.02 /usr/bin/pg_upgradecluster Bye, Giuseppe -- Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-support