skip to Main Content

I am installing Apace AGE by following insulation steps form this :https://theundersurfers.netlify.app/age-installation/

But when I am on this step:
(https://phpout.com/wp-content/uploads/2023/07/0hd1Y.png)

It giving me this error:
(https://phpout.com/wp-content/uploads/2023/07/cDhoG.png)

Please anyone who may help to get it done or any other reference site for installation with step by step guide

Any other website link or a proper answer would be appreciated…

4

Answers


  1. 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.

    Login or Signup to reply.
  2. 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
    
    Login or Signup to reply.
  3. 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
    
    Login or Signup to reply.
  4. The problem seems to be related to incompatible/different versions of Postgres and Apache Age. Since you currently have Postgresql version 11, you can either install AGE for PG11 by checking out to the PG11 branch before the install steps:
    git checkout origin/PG11 .

    Otherwise, you can upgrade your PG version to 13 and install AGE directly from main which is on the version 13.

    Here’s the link to the official documentation.

    Additional resources that might help you:

    1. Blog
    2. Also, here’s a step by step Youtube Installation Tutorial.

    Note: Remember to checkout to relevant branches of AGE while following these tutorials which might be made using earlier versions.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search