No <db.h> include file found.

This is a discussion on No <db.h> include file found. within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hello, i've got always the same error message when i'm tring to build Posfix. My version : Postfix Version ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-08-2003
Willou
 
Posts: n/a
Default No <db.h> include file found.

Hello,

i've got always the same error message when i'm tring to build Posfix.

My version : Postfix Version 2.0 Patchlevel 15
(ftp://ftp.oav.net/postfix/official/p...-2.0.15.tar.gz)

BerkeleyDB : Berkeley_DB_Version_4.1.25 (from sleepycat)
(libdir : /usr/local/lib; includedir : /usr/local/include)

the differents commande to build that i've tried :

$ make
$ make tidy

when you look into the README_FILES/DB_README file, they suggest this :

===========Output:
user@host:~/Postfix_Version_2.0_Patchlevel_15/postfix-2.0.15$ make
makefiles CCARGS="-DHAS_DB -I/usr/local/include" AUXLIBS="-L/usr/local/lib -ldb"
make -f Makefile.in MAKELEVEL= Makefiles
set -e; for i in src/util src/global src/dns src/master src/postfix src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local src/lmtp src/trivial-rewrite src/qmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap src/postqueue src/postsuper src/nqmgr src/qmqpd src/spawn src/flush src/virtual src/proxymap; do \
(set -e; echo "[$i]"; cd $i; rm -f Makefile; \
make -f Makefile.in Makefile MAKELEVEL=) || exit 1; \
done;
[src/util]
(set -e; echo "# DO NOT EDIT"; /bin/sh ../../makedefs && cat Makefile.in) >Makefile
No <db.h> include file found.
Install the appropriate db*-devel package first.
See the RELEASE_NOTES file for more information.
make: *** [Makefile] Error 1
make: *** [Makefiles] Error 1
make: *** [makefiles] Error 2
user@host:~/Postfix_Version_2.0_Patchlevel_15/postfix-2.0.15$

Other informations :


=============Listing libs - Output :
user@host:~/Postfix_Version_2.0_Patchlevel_15/postfix-2.0.15$ ls -l /usr/local/include/db*
-rw-r--r-- 1 slapd slapd 75839 Sep 8 06:53 /usr/local/include/db.h
-rw-r--r-- 1 slapd slapd 5942 Sep 8 06:53 /usr/local/include/db_185.h
-rw-r--r-- 1 slapd slapd 25120 Sep 8 06:53 /usr/local/include/db_cxx.h
user@host:~/Postfix_Version_2.0_Patchlevel_15/postfix-2.0.15$
============End output.


=============Listing includes - Output :
user@host:~/Postfix_Version_2.0_Patchlevel_15/postfix-2.0.15$ ls -l /usr/local/lib/libdb*
-rw-r--r-- 1 slapd slapd 1166402 Sep 8 06:57 /usr/local/lib/libdb-4.1.a
-rw-r--r-- 1 slapd slapd 709 Sep 8 06:55 /usr/local/lib/libdb-4.1.la
-rwxr-xr-x 1 slapd slapd 960136 Sep 8 06:55 /usr/local/lib/libdb-4.1.so
lrwxrwxrwx 1 root staff 12 Sep 8 06:57 /usr/local/lib/libdb-4.so -> libdb-4.1.so
lrwxrwxrwx 1 root staff 11 Sep 8 06:57 /usr/local/lib/libdb.a -> libdb-4.1.a
lrwxrwxrwx 1 root staff 12 Sep 8 06:57 /usr/local/lib/libdb.so -> libdb-4.1.so
-rw-r--r-- 1 slapd slapd 1271728 Sep 8 06:57 /usr/local/lib/libdb_cxx-4.1.a
-rw-r--r-- 1 slapd slapd 737 Sep 8 06:55 /usr/local/lib/libdb_cxx-4.1.la
-rwxr-xr-x 1 slapd slapd 1096793 Sep 8 06:55 /usr/local/lib/libdb_cxx-4.1.so
lrwxrwxrwx 1 root staff 16 Sep 8 06:57 /usr/local/lib/libdb_cxx-4.so -> libdb_cxx-4.1.so
lrwxrwxrwx 1 root staff 15 Sep 8 06:57 /usr/local/lib/libdb_cxx.a -> libdb_cxx-4.1.a
lrwxrwxrwx 1 root staff 16 Sep 8 06:57 /usr/local/lib/libdb_cxx.so -> libdb_cxx-4.1.so
-rw-r--r-- 1 slapd slapd 1349514 Sep 8 06:57 /usr/local/lib/libdb_tcl-4.1.a
-rw-r--r-- 1 slapd slapd 737 Sep 8 06:56 /usr/local/lib/libdb_tcl-4.1.la
-rwxr-xr-x 1 slapd slapd 1106451 Sep 8 06:56 /usr/local/lib/libdb_tcl-4.1.so
lrwxrwxrwx 1 root staff 16 Sep 8 06:57 /usr/local/lib/libdb_tcl-4.so -> libdb_tcl-4.1.so
lrwxrwxrwx 1 root staff 16 Sep 8 06:57 /usr/local/lib/libdb_tcl.so -> libdb_tcl-4.1.so
user@host:~/Postfix_Version_2.0_Patchlevel_15/postfix-2.0.15$
============End output.

I'm on a Debian (uname -a : Linux filipelli 2.4.22 #6 Wed Aug 27 11:59:30
CEST 2003 i686 unknown).

I hope that anyone have any solution for me (less making links).

Thanks in advance.

See you.

Willou.
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:02 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0