【问题标题】:Installing Timescaledb on Mac OS X, PostgreSQL 9.6 not found在 Mac OS X 上安装 Timescaledb,找不到 PostgreSQL 9.6
【发布时间】:2018-01-22 11:41:15
【问题描述】:

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

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 已安装并且服务器运行良好。出了什么问题,我该如何解决?

【问题讨论】:

    标签: macos postgresql time-series timescaledb


    【解决方案1】:

    Makefile 告诉您它找不到pg_config

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

    我认为您在 TimescaleDB 的 github 问题页面上提出了同样的问题,并且鉴于那里正在进行的问答,我想只是为读者指出这一点:

    https://github.com/timescale/timescaledb/issues/156

    【讨论】:

      猜你喜欢
      • 2012-02-16
      • 2011-08-14
      • 2012-01-06
      • 2011-04-07
      • 2016-02-23
      • 1970-01-01
      • 2011-07-28
      • 2017-01-16
      • 2013-11-09
      相关资源
      最近更新 更多