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

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: compiling on debian does not find a valid PostgreSQL 8.4+ installati
Дата
Msg-id 1313478547.2150.5.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: compiling on debian does not find a valid PostgreSQL 8.4+ installati  (Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>)
Ответы Re: compiling on debian does not find a valid PostgreSQL 8.4+ installati  (Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>)
Список pgadmin-support
On Tue, 2011-08-16 at 09:04 +0200, Giuseppe Sacco wrote:
> Il giorno mar, 16/08/2011 alle 09.00 +0300, Devrim GÜNDÜZ ha scritto:
> > Hi,
> > 
> > On Tue, 2011-08-16 at 07:31 +0200, Giuseppe Sacco wrote:
> > > configure: error: you must specify a valid PostgreSQL 8.4+
> > > installation with --with-pgsql=DIR
> > > 
> > > I really do not understand what the problem is. 
> > 
> > Message says it all: You need to add
> > -with-pgsql=/path/to/postgresql/installation . I don't remember the path
> > though.
> 
> 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?

> This is the content of /usr/lib/postgresql/8.4 (and 9.0 directory
> contains almost the same commands and libraries for postgresql 9.0):
> 
> /usr/lib/postgresql/8.4/lib/dict_snowball.so
> /usr/lib/postgresql/8.4/lib/utf8_and_win.so
> /usr/lib/postgresql/8.4/lib/utf8_and_iso8859.so
> /usr/lib/postgresql/8.4/lib/ascii_and_mic.so
> /usr/lib/postgresql/8.4/lib/utf8_and_euc_kr.so
> /usr/lib/postgresql/8.4/lib/utf8_and_ascii.so
> /usr/lib/postgresql/8.4/lib/utf8_and_gbk.so
> /usr/lib/postgresql/8.4/lib/utf8_and_euc_jp.so
> /usr/lib/postgresql/8.4/lib/utf8_and_uhc.so
> /usr/lib/postgresql/8.4/lib/utf8_and_euc_cn.so
> /usr/lib/postgresql/8.4/lib/utf8_and_sjis.so
> /usr/lib/postgresql/8.4/lib/utf8_and_gb18030.so
> /usr/lib/postgresql/8.4/lib/tsearch2.so
> /usr/lib/postgresql/8.4/lib/utf8_and_euc_tw.so
> /usr/lib/postgresql/8.4/lib/utf8_and_cyrillic.so
> /usr/lib/postgresql/8.4/lib/plpgsql.so
> /usr/lib/postgresql/8.4/lib/latin_and_mic.so
> /usr/lib/postgresql/8.4/lib/utf8_and_johab.so
> /usr/lib/postgresql/8.4/lib/euc_cn_and_mic.so
> /usr/lib/postgresql/8.4/lib/latin2_and_win1250.so
> /usr/lib/postgresql/8.4/lib/euc_jp_and_sjis.so
> /usr/lib/postgresql/8.4/lib/utf8_and_iso8859_1.so
> /usr/lib/postgresql/8.4/lib/euc_kr_and_mic.so
> /usr/lib/postgresql/8.4/lib/euc_jis_2004_and_shift_jis_2004.so
> /usr/lib/postgresql/8.4/lib/cyrillic_and_mic.so
> /usr/lib/postgresql/8.4/lib/utf8_and_big5.so
> /usr/lib/postgresql/8.4/lib/euc_tw_and_big5.so
> /usr/lib/postgresql/8.4/lib/utf8_and_euc_jis_2004.so
> /usr/lib/postgresql/8.4/lib/utf8_and_shift_jis_2004.so
> /usr/lib/postgresql/8.4/bin
> /usr/lib/postgresql/8.4/bin/postgres
> /usr/lib/postgresql/8.4/bin/pg_controldata
> /usr/lib/postgresql/8.4/bin/initdb
> /usr/lib/postgresql/8.4/bin/pg_resetxlog
> /usr/lib/postgresql/8.4/bin/pg_ctl
> 
> Please note that pg_config and other common commands are elsewhere:
> 
> $ 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


-- 
Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com



В списке pgadmin-support по дате отправления:

Предыдущее
От: Giuseppe Sacco
Дата:
Сообщение: Re: compiling on debian does not find a valid PostgreSQL 8.4+ installati
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: compiling on debian does not find a valid PostgreSQL 8.4+ installati