After successfully compiling the Apache-age V1.3.0 using command:
sudo make PG_CONFIG=/home/kamleshk/age_installation/ageV1.3_installation/pg/postgresql-13.5/bin/pg_config install
The comand make PG_CONFIG=path installcheck i.e:
sudo make PG_CONFIG=/home/kamleshk/age_installation/ageV1.3_installation/pg/postgresql-13.5/bin/pg_config installcheck
gives these errors:
pg_regress: could not set core size: disallowed by hard limit
============== removing existing temp instance ==============
============== creating temporary instance ==============
============== initializing database system ==============
pg_regress: initdb failed
What can be the issue issue and solution?
2
Answers
Run the make installcheck command without sudo
You can examine the log file as it mentioned initdb failed because you have run it with sudo while it is not supposed to or if there is another problem it will guide you.
References & related questions
Going by what is in AGE Github documentation, I don’t think running
make installcheck
is necessary after runningmake install
. I encountered similar challenges but, after following the exact steps in the documentation, there was no challenge.