【发布时间】:2015-04-25 15:20:22
【问题描述】:
我正在尝试构建一个 postgres 数据库适配器 (luapgsql) 作为我设置的一部分:
install:
- sudo luarocks install --server=http://rocks.moonscript.org/dev luapgsql
但是构建找不到libpq-fe.h:
Error: Could not find expected file libpq-fe.h, or libpq-fe.h for PQ --
you may have to install PQ in your system and/or pass PQ_DIR or
PQ_INCDIR to the luarocks command. Example: luarocks install luapgsql
PQ_DIR=/usr/local
我已经尝试了上面的建议,apt-get install libpq-dev 和 find \ -name libpq-fe.h。到目前为止没有运气。有什么想法吗?
【问题讨论】:
标签: postgresql travis-ci