I am trying to set up pgsql on AIX 5.3L (2/2006) I am using gcc 3.3 (the version supplied by IBM (Linux application toolkit for AIX)) running make produced the following output
pg_regress: initdb failed Examine ./log/initdb.log for the reason.
gmake[2]: *** [check] Error 2 gmake[2]: Leaving directory `/installs/PostgreSQL/postgresql-8.1.4/src/test/regress' gmake[1]: *** [check] Error 2 gmake[1]: Leaving directory `/installs/PostgreSQL/postgresql-8.1.4/src/test' gmake: *** [check] Error 2 make: 1254-004 The error code from the last command is 2.
Stop.
and I find the following in the logs. (attached)
I am using user pgsql which was created specifically for postgre who owns the installation directory. the directories are chmoded 777 just to make sure no permission are causing problems.