在debian10 arm64上编译timescaledb源代码

时间:2020-11-09 08:15:20

标签: postgresql debian timescaledb

我在树莓派4上安装了debian10,并且已经安装了PostgreSql 12.4,由于ARM64没有timescaledb的安装包,我想通过编译源代码来安装timescaledb。现在,我们遇到了一些问题。 1,从github克隆代码

1, git clone https://github.com/timescale/timescaledb.git
2,cd timescaledb
3,./bootstrap -DUSE_OPENSSL=0 -DREGRESS_CHECKS=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS=ON`

错误如下

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.

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

1 个答案:

答案 0 :(得分:1)

您需要安装开发包。 即 postgreSql 13:

apt install postgresql-server-dev-13