-3

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:

installation step

It is giving me this error:

installation error

Can anyone help to get it done?

Gino Mempin
  • 25,369
  • 29
  • 96
  • 135
saima ali
  • 133
  • 9

5 Answers5

0

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.

Wendel
  • 763
  • 1
  • 12
0

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
Zainab Saad
  • 728
  • 1
  • 2
  • 8
0

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
0

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.

starball
  • 20,030
  • 7
  • 43
  • 238
Raja Rakshak
  • 168
  • 2
-1

Make sure, you have the latest and compatible versions of PostgreSQL and Apache-AGE.

  1. Clone age repository.
  2. sudo make PG_CONFIG=~/postgresql-11.18/bin/pg_config install