downloaded the archive wget -c https://github.com/apache/age/archive/refs/tags/PG15/v1.4.0-rc0.tar.gz
unpack the archive: tar -xvf v1.4.0-rc0.tar.gz.
alex@Ubuntu-PostgreSQL:~/age-PG15-v1.4.0-rc0$ dir -l
total 172
-rw-rw-r-- 1 alex alex 85507 авг 22 18:17 age--1.4.0.sql
-rw-rw-r-- 1 alex alex 900 авг 22 18:17 age.control
-rw-rw-r-- 1 alex alex 2629 авг 22 18:17 clang-format.5
-rw-rw-r-- 1 alex alex 3528 авг 22 18:17 CONTRIBUTING.md
drwxrwxr-x 3 alex alex 4096 авг 22 18:17 docker
drwxrwxr-x 6 alex alex 4096 авг 22 18:17 drivers
drwxrwxr-x 2 alex alex 4096 авг 22 18:17 img
-rw-rw-r-- 1 alex alex 12570 авг 22 18:17 LICENSE
-rw-rw-r-- 1 alex alex 5101 авг 22 18:17 Makefile
-rw-rw-r-- 1 alex alex 2290 авг 22 18:17 META.json
-rw-rw-r-- 1 alex alex 321 авг 22 18:17 NOTICE
-rw-rw-r-- 1 alex alex 12570 авг 22 18:17 README.md
drwxrwxr-x 5 alex alex 4096 авг 22 18:17 regress
-rw-rw-r-- 1 alex alex 2866 авг 22 18:17 RELEASE
drwxrwxr-x 4 alex alex 4096 авг 22 18:17 src
drwxrwxr-x 3 alex alex 4096 авг 22 18:17 tools
executed the command: make install . The following error output was obtained:
I tried to specify the path to my pg_config. The result is the same error:
alex@Ubuntu-PostgreSQL:~/age-PG15-v1.4.0-rc0$ make PG_CONFIG=/usr/lib/postgresql/15/bin/pg_config install
/usr/bin/flex -b -o'src/backend/parser/ag_scanner.c' src/backend/parser/ag_scanner.l
make: /usr/bin/flex: Command not found
make: *** [/usr/lib/postgresql/15/lib/pgxs/src/makefiles/../../src/Makefile.global:784: src/backend/parser/ag_scanner.c] Error 127
What can I do to install Apache Age 1.4.0 on my Postgreslq 15.5 on Ubuntu server 20.04 LTS?
Isn't there a regular package installed via sudo apt install for Ubuntu server, so as not to use the magic of make install?
Everything is assembled and working. I just forgot to do step number 0.: sudo apt-get install build-essential libreadline-dev zlib1g-dev flex bison
Please delete this question of mine.
sudo apt install postgresql-15 postgresql-server-dev-15
and configured postgresql 15.5. I checked that it works.wget -c https://github.com/apache/age/archive/refs/tags/PG15/v1.4.0-rc0.tar.gz
tar -xvf v1.4.0-rc0.tar.gz
.make install
. The following error output was obtained:What can I do to install Apache Age 1.4.0 on my Postgreslq 15.5 on Ubuntu server 20.04 LTS? Isn't there a regular package installed via
sudo apt install
for Ubuntu server, so as not to use the magic ofmake install
?