[amh]postfix-3.5 安装失败,什么原因?

postfix-3.5 安装失败
以下是安装日志中最后的提示:
make -f Makefile.in MAKELEVEL= Makefiles
(echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp
No include file found.
Install the appropriate db*-devel package first.
make: * [Makefile.in:33: Makefiles] Error 1
make: * [Makefile.init:22: makefiles] Error 2
make -f Makefile.in MAKELEVEL= Makefiles
(echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp
No include file found.
Install the appropriate db*-devel package first.
make: * [Makefile.in:33: Makefiles] Error 1
make: * [Makefile:22: Makefiles] Error 2
postfix-install: Error: no bin/postconf file. Did you forget to run "make"?
chown: cannot access '/usr/local/postfix-3.5/var/spool/postfix/private': No such file or directory
chown: cannot access '/usr/local/postfix-3.5/var/spool/postfix/public': No such file or directory
chown: cannot access '/usr/local/postfix-3.5/var/spool/postfix/public': No such file or directory
[Notice] postfix-3.5 is not installed.
[Notice] postfix-3.5 is not installed.

请问怎么解决?请指教

阅读 1.5k
1 个回答

用的什么系统与版本,要确认系统的软件源是否正常。
如centos系统,使用命令:
yum install db*-devel

安装看返回哪些信息,如有错误的话就要更换修正centos的软件源。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题