Makefile:10: /usr/pgsql-14/lib/pgxs/src/makefiles/pgxs.mk: 没有这样的文件或目录 make: *** 没有规则来创建目标 '/usr/pgsql-14/lib/pgxs/源代码/制作

rox*_*oxy 4 postgresql change-data-capture debezium

我正在尝试遵循此 Debezium 安装https://gist.github.com/jpsoroulas/30e9537138ca62a79fe261cff7ceb716

我使用的是 Rocky Linux,运行 make 命令时遇到问题。

本教程使用 Postgres 版本 9,但我使用的是 Postgres 14,这可能是遇到问题的原因。

Makefile:10: /usr/pgsql-14/lib/pgxs/src/makefiles/pgxs.mk: No such file or directory
make: *** No rule to make target '/usr/pgsql-14/lib/pgxs/src/makefiles/pgxs.mk'.  Stop.
Run Code Online (Sandbox Code Playgroud)

小智 5

dnf install postgresql-server-devel
Run Code Online (Sandbox Code Playgroud)