首页 运维 网络学院 查看内容

Linux/Unix编译安装软件时那些头痛的报错

2011-3-31 11:53 674 0

摘要:   1、 在用"Python setup.py"命令安装PostgreSQL的Python驱动时:  running build_ext   error: No such file...
关键词: nbsp operator Makefile dependency line Missing config PostgreSQL 办法 文件

  1、 在用"Python setup.py"命令安装PostgreSQL的Python驱动时:  running build_ext   error: No such file or directory  解决办法:在文件"setup.cfg"设置"pg_config"未正确的完整路径,如"pg_config=/usr/bin/pg_config"。如果当前系统中不存在"pg_config",请先安装"postgresql-devel-*.*.rpm"包。  2、连接PostgreSQL数据库时报如下错误:  psql: 致命错误:  用户 "***" Ident 认证失败 或  psql: FATAL: Ident authentication failed for user “username”, mais pourquoi donc ? 解决办法:修改"pg_hba.conf"文件中认证方式"METHOD"为"md5"或"trust",具体参考文件中的说明。  3、在用"make"编译软件时提示:  "Makefile", line 88: Missing dependency operator  "Makefile", line 89: Missing dependency operator  "Makefile", line 91: Need an operator  "Makefile", line 92: Need an operator  "Makefile", line 93: Missing dependency operator  "Makefile", line 94: Missing dependency operator  Error expanding embedded variable. 解决办法:用"gmake"编译就OK了。
声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系 [邮箱地址] 删除

路过

雷人

握手

鲜花

鸡蛋

最新评论

返回顶部