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

BLFS Trac trac at linuxfromscratch.org
Wed Sep 11 14:43:39 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 ken@…):

 OK - need to add the postgres user, which is an aggravation on desktop
 machines where only the client is going to be used, but I can live with
 that. Except, it doesn't work for me (using su instead of sudo,
 i.e. make ; su ; chown -R ... ; su postgres -c 'make check'

 {{{
 ken at jtm1 /scratch/ken/postgresql-9.3.0 $su
 Password:
 root at jtm1 /scratch/ken/postgresql-9.3.0 #time chown -R postgres:postgres .

 real    0m0.026s
 user    0m0.000s
 sys     0m0.024s
 root at jtm1 /scratch/ken/postgresql-9.3.0 #time su postgres -c 'make check'
 make -C src all
 make[1]: Entering directory `/scratch/ken/postgresql-9.3.0/src'
 make -C common all
 make[2]: Entering directory `/scratch/ken/postgresql-9.3.0/src/common'
 make -C ../backend submake-errcodes
 make[3]: Entering directory `/scratch/ken/postgresql-9.3.0/src/backend'
 make[3]: stat: ../../src/include/utils/errcodes.h: Permission denied
 prereqdir=`cd 'utils/' >/dev/null && pwd` && \
   cd '../../src/include/utils/' && rm -f errcodes.h && \
   ln -s "$prereqdir/errcodes.h" .
 /bin/sh: line 0: cd: utils/: Not a directory
 make[3]: *** [../../src/include/utils/errcodes.h] Error 1
 make[3]: Leaving directory `/scratch/ken/postgresql-9.3.0/src/backend'
 make[2]: *** [submake-errcodes] Error 2
 make[2]: Leaving directory `/scratch/ken/postgresql-9.3.0/src/common'
 make[1]: *** [all-common-recurse] Error 2
 make[1]: Leaving directory `/scratch/ken/postgresql-9.3.0/src'
 make: *** [all-src-recurse] Error 2
 }}}

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



More information about the blfs-book mailing list