2017-08-14 164 views
0

我想在我的Mac上安装Timescaledb,http://docs.timescale.com/getting-started/installation?OS=mac&method=Source。对此的要求是PostgreSQL 9.6,所以我下载了postgres.app。但是,当我尝试建立并安装timescaledb - 我得到以下错误:在Mac OS X上安装Timescaledb,PostgreSQL 9.6未找到

Z-MBP:~ user$ cd timescaledb 
Z-MBP:timescaledb user$ make 
/bin/sh: pg_config: command not found 
Makefile:6: *** "TimescaleDB requires PostgreSQL 9.6". Stop. 

但安装postgres.app和服务器运行良好。出了什么问题,我该如何解决?

回答

1

Makefile告诉你它找不到pg_config

由于postgres.app应该在其install中包含此CLI实用程序,我的第一个猜测是您在$ PATH中没有该实用程序。

我想你问同样的问题TimescaleDB的GitHub的问题页面上,并鉴于目前的Q &一个在那里,以为只是点读者说:

https://github.com/PostgresApp/PostgresApp#command-line-utilities