[Exim] make throwing errors under Mandrake 9.0

Góra strony
Delete this message
Reply to this message
Autor: Ian Warburton
Data:  
Dla: exim-users
Temat: [Exim] make throwing errors under Mandrake 9.0
sorry about the newbie type question
Make is failing when including db.h, Make output is shown below.Berkley DB
and associated libraries seem to be installed

Please advise

tia

Ian


ar cq libpcre.a maketables.o get.o pcre.o study.o
ranlib libpcre.a
gcc -c -DNOPOSIX -O  pcretest.c
gcc -O  -o ../pcretest pcretest.o libpcre.a
make[2]: Leaving directory
`/home/sysop/exim4/exim-4.11/build-Linux-i386/pcre'
gcc -c -O  -DCOMPILE_UTILITY -o util-spool_in.o spool_in.c
In file included from exim.h:333,
                 from spool_in.c:12:
dbstuff.h:101:16: db.h: No such file or directory
In file included from exim.h:333,
                 from spool_in.c:12:
dbstuff.h:527: parse error before "DB"
dbstuff.h:527: warning: no semicolon at end of struct or union
dbstuff.h:529: parse error before '}' token
dbstuff.h:529: warning: data definition has no type or storage class
In file included from exim.h:337,
                 from spool_in.c:12:
dbfunctions.h:11: parse error before '*' token
dbfunctions.h:12: parse error before '*' token
dbfunctions.h:13: parse error before '*' token
dbfunctions.h:13: parse error before "open_db"
dbfunctions.h:13: warning: data definition has no type or storage class
dbfunctions.h:14: parse error before '*' token
dbfunctions.h:15: parse error before '*' token
dbfunctions.h:16: parse error before '*' token
make[1]: *** [util-spool_in.o] Error 1
make[1]: Leaving directory `/home/sysop/exim4/exim-4.11/build-Linux-i386'
make: *** [go] Error 2
[root@frodo exim-4.11]#