【发布时间】:2019-08-29 22:08:08
【问题描述】:
尝试在 docker postgres 容器上安装 cstore_fdw 只是为了测试柱状功能,但我被困在构建/制作 cstore 存储库的点上。
操作系统是 debian 9,postgres 11,我已经安装了 make 和一些我需要的工具。
构建和运行 make cmd 的步骤失败了 bcz of postgres。可在此处的“建筑”部分找到:https://github.com/citusdata/cstore_fdw
目录
cstore 目录:/var/lib/postgresql/cstore_fdw/
pg配置目录:/var/lib/postgresql/data/postgresql.conf
在 cstore 目录我运行以下命令并收到以下错误,我不知道为什么。
PATH=/var/lib/postgresql/data/:$PATH make
Makefile:38: /usr/lib/postgresql/11/lib/pgxs/src/makefiles/pgxs.mk: No such file or directoryMakefile:45: *** PostgreSQL 9.3 or 9.4 or 9.5 or 9.6 or 10 or 11 is required to compile this extension. Stop.
我也尝试过使用 make cmd 中的 pg bin 目录,我认为是 /usr/lib/postgresql/11/bin/,这会产生同样的错误。
感谢您的帮助
【问题讨论】:
标签: postgresql docker cstore-fdw