2017-08-14 163 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