ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexei Takaseev <alexei@taf.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] PostgreSQL отсутствует pg_config
Date: Fri, 8 Sep 2017 15:41:13 +0800 (IRKT)
Message-ID: <1735979492.235.1504856468767.JavaMail.taf@taf.office.telnet> (raw)
In-Reply-To: <288acb50-298f-963c-b22e-46eb658dcf05@yandex.ru>

Приветствую!

----- Исходное сообщение -----
> От: "Vasuk Maksim" <vasukma@yandex.ru>
> Кому: "ALT Linux Community general discussions" <community@lists.altlinux.org>
> Отправлено: Пятница, 8 Сентябрь 2017 г 15:21:32
> Тема: [Comm] PostgreSQL отсутствует pg_config
> 
> Привет всем!
> 
> Решил пройти путь джедая и освоить наконец PostgreSQL на потребном
> уровне.
> Читаю документацию и дохожу до сюда:
> https://postgrespro.ru/docs/postgresql/9.6/tutorial-sql-intro.html
> В двух словах там написано, чтобы пользоваться примерами, требуется
> создать скрипты и скомпилировать модули С, для этого необходимо
> запустить в каталоге ..../src/tutorial команду make.
> Иду в этот каталог, запускаю make, он мне говорит:
> 
>      make: pg_config: Команда не найдена.
> 
> В каталоге /usr/bin много разных программ название которых начинается
> с
> pg_*, но именно pg_config там нет.
> 
> Ну в общем, проконсультируйте, пожалуйста, кто чем может ;)
> 
> Бранч t7
> 
> $ rpm -qa | grep postgresql
> postgresql9.5-9.5.7-alt0.M70P.1
> postgresql-common-1.0-alt8
> postgresql9.5-tcl-9.5.7-alt0.M70P.1
> postgresql9.5-docs-9.5.7-alt0.M70P.1
> postgresql9.5-contrib-9.5.7-alt0.M70P.1
> postgresql9.5-server-9.5.7-alt0.M70P.1

Чтобы что-то вообще собралось, в систему необходимо поставить соответствующий -devel, для
P7 это postgresql9.1-devel, последняя версия 9.1.24-alt0.M70P.1. 

Если есть желание изучать более свежие версии, то лучше это проделать на официально живой ветке
P8, в которой уже postgresql9.6-devel. Либо локально пересобрать SRPM версии 9.6 с параметром
--with devel

      parent reply	other threads:[~2017-09-08  7:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-08  7:21 Vasuk Maksim
2017-09-08  7:32 ` Evgeniy Korneechev
2017-09-08  7:41 ` Alexei Takaseev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1735979492.235.1504856468767.JavaMail.taf@taf.office.telnet \
    --to=alexei@taf.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git