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.
请问怎么解决?请指教
用的什么系统与版本,要确认系统的软件源是否正常。
如centos系统,使用命令:
yum install db*-devel
安装看返回哪些信息,如有错误的话就要更换修正centos的软件源。