Thread: AIX-4.3.3 and Postgres

AIX-4.3.3 and Postgres

From
Burak Bilen
Date:
     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.


Re: AIX-4.3.3 and Postgres

From
Peter Eisentraut
Date:
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/