[blfs-book] [BLFS Trac] #4049: postgresql-9.3.0

BLFS Trac trac at linuxfromscratch.org
Wed Sep 11 14:06:12 PDT 2013


#4049: postgresql-9.3.0
-------------------------+----------------------
 Reporter:  ken@…        |       Owner:  ken@…
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  current
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+----------------------

Comment (by bdubbs@…):

 This works for me:

 First add postgresql user and group, then:

 {{{
 sudo mkdir -p /run/postgresql &&
 sudo chown -Rv postgres:postgres /run/postgresql &&

 sed -i -e '/DEFAULT_PGSOCKET_DIR/s at tmp@run/postgresql@' \
     src/include/pg_config_manual.h &&

 ./configure --prefix=/usr                    \
             --docdir=/usr/share/doc/$PROGRAM \
             --enable-thread-safety &&
 make

 sudo chown -R postgres:postgres . &&
 sudo su postgres -c 'make check'
 }}}

 Result:  All 136 tests passed.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/4049#comment:5>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list