首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >错误:“石膏`失败与退出代码:1在安装杂耍数据库-postgres

错误:“石膏`失败与退出代码:1在安装杂耍数据库-postgres
EN

Stack Overflow用户
提问于 2014-08-27 04:57:27
回答 1查看 2.6K关注 0票数 0

在我的ubuntu.help me中安装jugglingdb时,我得到了这个错误,以便在我的ubuntu中整理这个problem.Using Python2.7.4。

代码语言:javascript
复制
gyp: Call to 'pg_config --libdir' returned exit status 1.
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:337:16)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 3.8.0-35-generic
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/satyam/project/node_modules/jugglingdb-postgres/node_modules/pg
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok 
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-08-27 05:03:56

pg_config不在你的PATH上。

调整PATH,然后确保运行:

代码语言:javascript
复制
pg_config --version

工作,并报告正确的PostgreSQL版本,然后再试一次。

定位pg_config

代码语言:javascript
复制
locate */pg_config
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/25519163

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档