Re: [exim] Exim Install Issue

Etusivu
Poista viesti
Vastaa
Lähettäjä: Tom Ray [Lists]
Päiväys:  
Vastaanottaja: John Jetmore
Kopio: exim-users
Aihe: Re: [exim] Exim Install Issue
Yeah it turns out I had to install Berkley DB with "--prefix=/usr/local"
and after then Exim found the db.h file it was looking for.

John Jetmore wrote:
> On Mon, 25 Jun 2007, Tom Ray [Lists] wrote:
>
>> Hey there. I'm trying to install Exim 4.67 on a SuSE 9.x box with a
>> fresh install. I've been using Exim for years now and I've never had a
>> real installation issue before but now I am. I edit the EDITME file then
>> move it over to Local/Makefile and then run the "make" but I keep
>> getting the error I'm pasting in below. I do have Berkley DB 4.5
>> installed on the server. Can anyone give me an idea on what's going
>> wrong here. So far I can say that I can't find the file db.h in the
>> build-Linux-i386 directory which I presume is where it's trying to call
>> it from.
>
> On Redhat this would mean the "db4-devel" rpm isn't installed. I
> assume it means something similar for your distribution.
>
> --John
>
>> make[2]: Leaving directory
>> `/home/tech/upgrades/exim-4.67/build-Linux-i386/pcre'
>>
>> gcc exim_dbmbuild.c
>> In file included from exim.h:433,
>>                from exim_dbmbuild.c:33:
>> dbstuff.h:103:16: db.h: No such file or directory
>> In file included from exim.h:433,
>>                from exim_dbmbuild.c:33:
>> dbstuff.h:529: error: parse error before "DB"
>> dbstuff.h:529: warning: no semicolon at end of struct or union
>> dbstuff.h:531: error: parse error before '}' token
>> dbstuff.h:531: warning: data definition has no type or storage class
>> In file included from exim.h:437,
>>                from exim_dbmbuild.c:33:
>> dbfunctions.h:13: error: parse error before '*' token
>> dbfunctions.h:14: error: parse error before '*' token
>> dbfunctions.h:15: error: parse error before '*' token
>> dbfunctions.h:15: error: parse error before "open_db"
>> dbfunctions.h:15: warning: data definition has no type or storage class
>> dbfunctions.h:16: error: parse error before '*' token
>> dbfunctions.h:17: error: parse error before '*' token
>> dbfunctions.h:18: error: parse 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: parse error before "key"
>> exim_dbmbuild.c:213: error: `DB_HASH' undeclared (first use in this
>> function)
>> exim_dbmbuild.c:295: error: `content' undeclared (first use in this
>> function)
>> exim_dbmbuild.c:298: error: `key' undeclared (first use in this 
>> function)
>> exim_dbmbuild.c:298: error: `R_NOOVERWRITE' undeclared (first use in
>> this function)
>> make[1]: *** [exim_dbmbuild.o] Error 1
>> make[1]: Leaving directory 
>> `/home/tech/upgrades/exim-4.67/build-Linux-i386'
>> make: *** [go] Error 2

>>
>>
>> --
>> ## List details at http://www.exim.org/mailman/listinfo/exim-users
>> ## Exim details at http://www.exim.org/
>> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>>