hi,

I couldn't compile postgres on AIX-4.3.3 . I did all the
things written on INSTALL file
but it gave me errors.
The configure script worked successfully but when I ran "make
all" as the postgres user
I got the follwing errors:
-----------------------------------
make: getcwd: : Permission denied
make lexverify
make: getcwd: : Permission denied
make[1]: Entering directory `'
make -C lextest all
make: getcwd: : Permission denied
make[2]: Entering an unknown directory
make[2]: getcwd: : Permission denied
make[2]: Nothing to be done for `all'.
make[2]: Leaving an unknown directory
make[1]: Leaving directory `'
make -C utils all
make: getcwd: : Permission denied
make[1]: Entering an unknown directory
make[1]: getcwd: : Permission denied
xlc -I../include -I../backend -qchars=signed -qmaxmem=8192
-qhalt=w -qsrcmsg -qcheck=di version.o version.c
"/usr/include/stdlib.h", line 493.33: 1506-343 (S)
Redeclaration of getopt differs from p "/usr/include/stdio.h".
"/usr/include/stdlib.h", line 493.33: 1506-377 (I) The type
"char**" of parameter 2 diffe const*".
"/usr/include/stdlib.h", line 494.33: 1506-343 (S)
Redeclaration of getpass differs from
"/usr/include/unistd.h".
"/usr/include/stdlib.h", line 494.33: 1506-377 (I) The type
"char*" of parameter 1 differ the previous type "const char*".
"../include/c.h", line 173.21: 1506-334 (S) Identifier int8
has already been defined on l "../include/c.h", line 174.22:
1506-334 (S) Identifier int16 has already been defined on
"../include/c.h", line 175.20: 1506-334 (S) Identifier int32
has already been defined on
make[1]: *** [version.o] Error 1
make[1]: Leaving an unknown directory
make: *** [all] Error 2
---------------------------------------
I am using GNU make.
I will be happy if someone helps me . Thanks in advance.

Search Discussions

  • Burak Bilen at Jan 27, 2001 at 12:49 am
    hi,

    I couldn't compile postgres on AIX-4.3.3 . I did all the things
    written on INSTALL file
    but it gave me errors.
    The configure script worked successfully but when I ran "make all" as
    the postgres user
    I got the follwing errors:
    -----------------------------------
    make: getcwd: : Permission denied
    make lexverify
    make: getcwd: : Permission denied
    make[1]: Entering directory `'
    make -C lextest all
    make: getcwd: : Permission denied
    make[2]: Entering an unknown directory
    make[2]: getcwd: : Permission denied
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving an unknown directory
    make[1]: Leaving directory `'
    make -C utils all
    make: getcwd: : Permission denied
    make[1]: Entering an unknown directory
    make[1]: getcwd: : Permission denied
    xlc -I../include -I../backend -qchars=signed -qmaxmem=8192 -qhalt=w
    -qsrcmsg -qcheck=divzero -qlonglong -c -o version.o version.c
    "/usr/include/stdlib.h", line 493.33: 1506-343 (S) Redeclaration of
    getopt differs from previous declaration on line 419 of
    "/usr/include/stdio.h".
    "/usr/include/stdlib.h", line 493.33: 1506-377 (I) The type "char**" of
    parameter 2 differs from the previous type "char* const*".
    "/usr/include/stdlib.h", line 494.33: 1506-343 (S) Redeclaration of
    getpass differs from previous declaration on line 262 of
    "/usr/include/unistd.h".
    "/usr/include/stdlib.h", line 494.33: 1506-377 (I) The type "char*" of
    parameter 1 differs from
    the previous type "const char*".
    "../include/c.h", line 173.21: 1506-334 (S) Identifier int8 has already
    been defined on line 622 of "/usr/include/sys/inttypes.h".
    "../include/c.h", line 174.22: 1506-334 (S) Identifier int16 has already
    been defined on line 623 of "/usr/include/sys/inttypes.h".
    "../include/c.h", line 175.20: 1506-334 (S) Identifier int32 has already
    been defined on line 624 of "/usr/include/sys/inttypes.h".
    make[1]: *** [version.o] Error 1
    make[1]: Leaving an unknown directory
    make: *** [all] Error 2
    ---------------------------------------
    I am using GNU make.
    I will be happy if you help me . Thanks in advance.
  • Peter Eisentraut at Jan 27, 2001 at 9:12 am

    Burak Bilen writes:

    hi,

    I couldn't compile postgres on AIX-4.3.3 . I did all the things
    written on INSTALL file
    but it gave me errors.
    The configure script worked successfully but when I ran "make all" as
    the postgres user
    I got the follwing errors:
    -----------------------------------
    make: getcwd: : Permission denied
    Looks like the postgres user doesn't have read access to the source tree.
    You shouldn't actually do the installation as the postgres user, only
    initdb and running the postmaster.

    --
    Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-ports @
categoriespostgresql
postedJan 25, '01 at 9:13a
activeJan 27, '01 at 9:12a
posts3
users2
websitepostgresql.org
irc#postgresql

2 users in discussion

Burak Bilen: 2 posts Peter Eisentraut: 1 post

People

Translate

site design / logo © 2022 Grokbase