9.3.2 Client-only installation per docs fails creating directory.

Поиск
Список
Период
Сортировка
От Mike Blackwell
Тема 9.3.2 Client-only installation per docs fails creating directory.
Дата
Msg-id CANPAkgtJaOZ=aoRuiVvuwHdTC5ZGVdq7u4zX3TqO107wut7z6g@mail.gmail.com
обсуждение исходный текст
Ответы Re: 9.3.2 Client-only installation per docs fails creating directory.  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Per the docs (15.4 Installation Procedure, Client-only installation), after running make, the following should work:

gmake -C src/bin install
gmake -C src/include install
gmake -C src/interfaces install
gmake -C doc install

However, it fails on the first command:

[postgresql-9.3.2]$ sudo gmake -C src/bin install
gmake: Entering directory `/opt/postgresql-9.3.2/src/bin'
gmake -C initdb install
gmake[1]: Entering directory `/opt/postgresql-9.3.2/src/bin/initdb'
gmake -C ../../../src/port all
[successful stuff cut here]
/bin/mkdir -p '/usr/local/pgsql-9.3.2/bin'
/usr/bin/install -c  psql '/usr/local/pgsql-9.3.2/bin/psql'
/usr/bin/install -c -m 644 ./psqlrc.sample '/usr/local/pgsql-9.3.2/share/psqlrc.sample'
/usr/bin/install: cannot create regular file `/usr/local/pgsql-9.3.2/share/psqlrc.sample': No such file or directory
gmake[1]: *** [install] Error 1
gmake[1]: Leaving directory `/opt/postgresql-9.3.2/src/bin/psql'
gmake: *** [install-psql-recurse] Error 2
gmake: Leaving directory `/opt/postgresql-9.3.2/src/bin'

The directory 'share' does not exist, which seem to be the issue.  Is there a missing dependency somewhere?

It appears the doc install correctly creates 'share', so installing src/bin last works.

__________________________________________________________________________________
Mike Blackwell | Technical Analyst, Distribution Services/Rollout Management | RR Donnelley
1750 Wallace Ave | St Charles, IL 60174-3401
Office: 630.313.7818
Mike.Blackwell@rrd.com
http://www.rrdonnelley.com


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

Предыдущее
От: Theodore Ts'o
Дата:
Сообщение: Re: [Lsf-pc] Linux kernel impact on PostgreSQL performance
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Filter error log statements by sqlstate