PDA

View Full Version : [ubuntu] postfix 2.6 installation error



bilal_jan
July 23rd, 2009, 12:42 PM
hello everyone i am trying to install postfix on my ubuntu 9.04 from source
when i issue make command from terminal i am getting following error.


make -f Makefile.in MAKELEVEL=Makefile
(echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp
No<db.h> include file found.
Install the appropriate db*-devel package first.
See the Release_notes file for more information
make: ***[Makefiles] Error 1
make: *** [Makefiles] Error 2

i have read all Release_notes and i wasnt able to figure out the solution.
anyone here can tell me how to fix this up???

Partyboi2
July 23rd, 2009, 12:51 PM
Hi have you got all the required packages installed?
You can install them from the terminal with

sudo apt-get build-dep postfix

bilal_jan
July 24th, 2009, 07:56 AM
thanks Partyboi2... u really bring party to my life...it was million dollar worth of answer...thanks buddy

Partyboi2
July 24th, 2009, 09:11 AM
:lolflag: You are welcome.