Postgresql 在debian10 arm64上编译timescaledb源代码

Postgresql 在debian10 arm64上编译timescaledb源代码,postgresql,debian,timescaledb,Postgresql,Debian,Timescaledb,我已经在raspberry PI 4上安装了debian10,并且安装了PostgreSql 12.4,因为ARM64没有timescaledb的安装包,所以我想通过编译源代码来安装timescaledb。现在我们遇到了一些问题 1、从github克隆代码 1, git clone https://github.com/timescale/timescaledb.git 错误如下 CMake Error at CMakeLists.txt:334 (message): Could not

我已经在raspberry PI 4上安装了debian10,并且安装了PostgreSql 12.4,因为ARM64没有timescaledb的安装包,所以我想通过编译源代码来安装timescaledb。现在我们遇到了一些问题 1、从github克隆代码

1, git clone https://github.com/timescale/timescaledb.git
错误如下

CMake Error at CMakeLists.txt:334 (message):
  Could not find pg_config.h in /usr/include/postgresql.  Make sure PG_PATH
  points to a valid PostgreSQL installation that includes development
  headers.

我现在不知道如何解决这个问题

您需要安装开发包。 i、 e postgreSql 13:

apt install postgresql-server-dev-13

正如错误消息所说,您是否安装了postgresql开发头?通常从一个名为“postgresql-…-dev”@RichardHuxton谢谢,我安装的不是开发版本,我会在重新安装后再试
CMake Error at CMakeLists.txt:334 (message):
  Could not find pg_config.h in /usr/include/postgresql.  Make sure PG_PATH
  points to a valid PostgreSQL installation that includes development
  headers.
apt install postgresql-server-dev-13