LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-29-2006, 11:44 PM   #1
amfony
LQ Newbie
 
Registered: May 2006
Posts: 16

Rep: Reputation: 0
'make' error with compiling postfix 2.2 on debian


hello gang,

I bought a book on postfix and one of the first steps it says is to download the source, make some user additions and group mods, then compile it.

The complilation is the problem, here is the error i recieve.

the instructions are to copy the source file (wot i belive is the tar.gz) file to the root, tpye the command 'tar -zxvf <postfix sorcefile.tar.gz> -C /usr/local/src

do some user addition and group mod as i say.

then change to /usr/local/src/postfix-2.2/

then type 'make'

This is the result of the make command below:

Quote:
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 <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
The book recommends checking for the exsistance of a compliler before running make with the command 'gcc --version'. I have version 3.3.5.

Sorry i should have stated earlier, this is a debian 3.2 system, install from netinst image.

Can anyone help me please, if its not pai9nfully obvious yet i am a massive noob, but i want this thing working and i wont stop until i do.

Thanks guys.
 
Old 05-30-2006, 01:41 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
No experience with postfix, but looks like it needs a database (mysql, sqlite, ....).
I would check the postfix documentation to see which databases are supported, install one of them (if not already done) and install the libraries (db*-devel package) for that database.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
openoffice 1.1.4 make error while compiling flash? behmjoe Linux - Software 0 04-29-2005 04:35 PM
Compiling Kernel for Dazuko - make error timmywo Linux - General 2 03-28-2005 03:55 PM
Amule -Compiling error - 'make' lnaia Linux - Software 1 03-04-2005 04:34 AM
Compiling error with make DaBlade Linux - Software 7 12-23-2004 08:23 AM
make error compiling Scribus - what to do? Bruce Hill Slackware 1 12-02-2003 12:35 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration