I am installing Apache AGE by following the installation steps from this: https://theundersurfers.netlify.app/age-installation/
But when I am on this step:
It is giving me this error:
Can anyone help to get it done?
I am installing Apache AGE by following the installation steps from this: https://theundersurfers.netlify.app/age-installation/
But when I am on this step:
It is giving me this error:
Can anyone help to get it done?
You need to change the branch in the Apache AGE repository to match your Postgres version. Run this command:
git checkout origin/PG11
After that, try again to install Apache AGE using the make
command.
This article installs version 11 of postgreSQL and Apache AGE master is currently on version 13. So you need to install the AGE master compatible version of postgres. You can do this by changing this step:
wget https://ftp.postgresql.org/pub/source/v13.1/postgresql-13.1.tar.gz && tar -xvf postgresql-13.1.tar.gz && rm -f postgresql-13.1.tar.gz
After cloning AGE, with this command
git clone https://github.com/apache/age.git
move to age directory using cd age
. Then run this command.
git checkout origin/PG11
And after that you the follow that same blog from this command.
sudo make PG_CONFIG=/home/imran/age_installation/pg/postgresql-11.18/bin/pg_config install
You must set up a PostgreSQL version that complies with this criteria in order to guarantee compatibility with Apache AGE master, which is presently running version 13. You can accomplish this by performing the following actions, which require getting and extracting the correct PostgreSQL version:
First, get the Apache AGE master-compatible PostgreSQL version 13 source code:
wget https://ftp.postgresql.org/pub/source/v13.1/postgresql-13.1.tar.gz
You must extract the contents of the downloaded archive after the download is finished. This can be done by using the following command below:
tar -xvf postgresql-13.1.tar.gz
To keep your workspace tidy after successfully extracting the source code, delete the downloaded archive:
rm -f postgresql-13.1.tar.gz
Following these instructions will ensure compatibility with Apache AGE master's requirements for PostgreSQL version 13.
Make sure, you have the latest and compatible versions of PostgreSQL and Apache-AGE.
sudo make PG_CONFIG=~/postgresql-11.18/bin/pg_config install