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

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了。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值