Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Change PostgreSQL versions to use it with Apache AGE

I have been using Apache AGE with PostgreSQL version 11-17, installed postgres from source code, but I was informed that it is better to clone it directly. So then I followed these steps:

  1. Cloned with git clone https://git.postgresql.org/git/postgresql.git ;
  2. Changed the branch to origin/REL_12_STABLE ;
  3. Configured with ./configure -prefix=S(pwd) --enable-cassert -enable-debug CFLAGS="-glldb -Og -g3 -fno-omit-frame-pointer" ;
  4. Installed it with make install .

Then I went to where Apache AGE was installed and typed the command:

sudo make PG_CONFIG=/Users/.../postgresql/bin/pg_config install

and then I got a bunch of errors:

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make: *** [src/backend/utils/adt/agtype.o] Error 1

I guess that this error occurs due to the fact that I changed to REL_12_STABLE and AGE works only with REL_12_ALPHA but with git branch -r it does not show the alpha version so I can change to it.

Am I following these steps correctly or am I missing something here? Is the REL_12_ALPHA only available from source code?

>Solution :

You should use the branch "REL_12_STABLE" from PostgreSQL and the branch "AGE PG12.1.0 ALPHA" from Apache AGE.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading