tembo-io / pgmq

A lightweight message queue. Like AWS SQS and RSMQ but on Postgres.
PostgreSQL License
2.55k stars 58 forks source link

[doc] v1.4.0 build doc outdated #291

Closed elvizlai closed 1 month ago

elvizlai commented 1 month ago

make returns error: make: *** No targets specified and no makefile found. Stop.

ChuckHend commented 1 month ago

Hi @elvizlai, thank you for pointing that out. Can you try what is in https://github.com/tembo-io/pgmq/pull/292 and see if that resolves the problem?

elvizlai commented 1 month ago

Opps, that not work.

maybe should following ci:

https://github.com/tembo-io/pgmq/blob/main/.github/workflows/extension_ci.yml#L60-L80

ChuckHend commented 1 month ago

Do you still get the same error make: *** No targets specified and no makefile found. Stop. when you run from within pgmq/pgmq-extension ?

There are a few ways to install the extension (make, trunk, pgxn) but IMO make is the most straight forward.

elvizlai commented 1 month ago

make result:

cp sql/pgmq.sql sql/pgmq--1.4.0.sql
sed 's/@@VERSION@@/1.4.0/g' Trunk.toml.in > Trunk.toml

make install result:

root@dd62dbc0a303:/tmp/pgmq/pgmq-extension# make install
/bin/mkdir -p '/usr/share/postgresql/15/extension'
/bin/mkdir -p '/usr/share/postgresql/15/extension'
/usr/bin/install -c -m 644 .//pgmq.control '/usr/share/postgresql/15/extension/'
/usr/bin/install -c -m 644 .//sql/pgmq--0.10.2--0.11.1.sql .//sql/pgmq--0.11.1--0.11.2.sql .//sql/pgmq--0.11.2--0.12.0.sql .//sql/pgmq--0.12.0--0.12.1.sql .//sql/pgmq--0.12.1--0.13.0.sql .//sql/pgmq--0.13.0--0.13.1.sql .//sql/pgmq--0.13.1--0.14.0.sql .//sql/pgmq--0.14.0--0.14.1.sql .//sql/pgmq--0.14.1--0.14.2.sql .//sql/pgmq--0.14.2--0.14.3.sql .//sql/pgmq--0.14.3--0.15.0.sql .//sql/pgmq--0.15.0--0.15.1.sql .//sql/pgmq--0.15.1--0.16.0.sql .//sql/pgmq--0.16.0--0.17.0.sql .//sql/pgmq--0.17.0--0.18.0.sql .//sql/pgmq--0.18.0--0.19.0.sql .//sql/pgmq--0.19.0--0.20.0.sql .//sql/pgmq--0.20.0--0.21.0.sql .//sql/pgmq--0.21.0--0.22.0.sql .//sql/pgmq--0.22.0--0.23.0.sql .//sql/pgmq--0.23.0--0.24.0.sql .//sql/pgmq--0.24.0--0.25.0.sql .//sql/pgmq--0.25.0--0.26.0.sql .//sql/pgmq--0.26.0--0.27.0.sql .//sql/pgmq--0.27.0--0.28.0.sql .//sql/pgmq--0.28.0--0.29.0.sql .//sql/pgmq--0.29.0--0.30.0.sql .//sql/pgmq--0.30.0--0.31.0.sql .//sql/pgmq--0.31.0--0.31.1.sql .//sql/pgmq--0.31.1--0.32.0.sql .//sql/pgmq--0.32.0--0.32.1.sql .//sql/pgmq--0.32.1--0.32.2.sql .//sql/pgmq--0.32.2--0.32.3.sql .//sql/pgmq--0.32.3--0.33.0.sql .//sql/pgmq--0.33.0--0.33.1.sql .//sql/pgmq--0.33.1--0.33.2.sql .//sql/pgmq--0.33.2--0.33.3.sql .//sql/pgmq--0.33.3--1.0.0.sql .//sql/pgmq--0.7.3--0.7.4.sql .//sql/pgmq--0.7.4--0.7.5.sql .//sql/pgmq--0.7.5--0.8.0.sql .//sql/pgmq--0.8.0--0.8.1.sql .//sql/pgmq--0.8.1--0.9.0.sql .//sql/pgmq--0.9.0--0.10.2.sql .//sql/pgmq--1.0.0--1.1.0.sql .//sql/pgmq--1.1.0--1.1.1.sql .//sql/pgmq--1.1.1--1.2.0.sql .//sql/pgmq--1.2.0--1.2.1.sql .//sql/pgmq--1.2.1--1.3.0.sql .//sql/pgmq--1.3.0--1.3.1.sql .//sql/pgmq--1.3.1--1.3.2.sql .//sql/pgmq--1.3.2--1.3.3.sql .//sql/pgmq--1.3.3--1.4.0.sql .//sql/pgmq--1.4.0.sql  '/usr/share/postgresql/15/extension/'

is this correct?

ChuckHend commented 1 month ago

that is correct!

elvizlai commented 1 month ago

thanks