error while upgrading Exim

Hero

Verified User
Joined
Mar 8, 2006
Messages
6
Hello,

im getting the following error when upgrading exim with:
Code:
rpmbuild -bb exim.spec

Code:
gcc exim_dbmbuild.c
In file included from exim.h:425,
                 from exim_dbmbuild.c:33:
dbstuff.h:103:16: db.h: No such file or directory
In file included from exim.h:425,
                 from exim_dbmbuild.c:33:
dbstuff.h:529: error: syntax error before "DB"
dbstuff.h:529: warning: no semicolon at end of struct or union
dbstuff.h:531: error: syntax error before '}' token
dbstuff.h:531: warning: data definition has no type or storage class
In file included from exim.h:429,
                 from exim_dbmbuild.c:33:
dbfunctions.h:13: error: syntax error before '*' token
dbfunctions.h:14: error: syntax error before '*' token
dbfunctions.h:15: error: syntax error before '*' token
dbfunctions.h:15: error: syntax error before "open_db"
dbfunctions.h:15: warning: data definition has no type or storage class
dbfunctions.h:16: error: syntax error before '*' token
dbfunctions.h:17: error: syntax error before '*' token
dbfunctions.h:18: error: syntax error before '*' token
exim_dbmbuild.c: In function `main':
exim_dbmbuild.c:150: error: `DB' undeclared (first use in this function)
exim_dbmbuild.c:150: error: (Each undeclared identifier is reported only once
exim_dbmbuild.c:150: error: for each function it appears in.)
exim_dbmbuild.c:150: error: `d' undeclared (first use in this function)
exim_dbmbuild.c:151: error: `DBT' undeclared (first use in this function)
exim_dbmbuild.c:151: error: syntax error before "key"
exim_dbmbuild.c:204: error: `DB_HASH' undeclared (first use in this function)
exim_dbmbuild.c:286: error: `content' undeclared (first use in this function)
exim_dbmbuild.c:289: error: `key' undeclared (first use in this function)
exim_dbmbuild.c:289: error: `R_NOOVERWRITE' undeclared (first use in this function)
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/da_exim-4.62/build-Linux-i386'
make: *** [go] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.74032 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.74032 (%build)

what to do? :confused:
 
gcypher said:
Did you do:

cd /usr/src/redhat/SPECS
rpmbuild -bb exim.spec

This is only possible on redhat releases (fedora etc)

yes, i did
i'm on fedora core 2
rpmbuild was not installed on this machine but i did it manualy
 
Back
Top