Re: [Exim] GDBM

Pàgina inicial
Delete this message
Reply to this message
Autor: Gabor Z. Papp
Data:  
A: exim-users
Assumpte: Re: [Exim] GDBM
* Philip Hazel <ph10@???>:

| USE_GDBM is available only in the latest alpha (3.952). I presume you
| have that. As well as setting it, you also need to set up the relevant
| include and library references, as for any DBM library. For example, on
| my Solaris system I tested with:

|
| USE_GDBM=YES
| INCLUDE=-I/opt/local/include/gdbm
| DBMLIB=-R/opt/local/lib -L/opt/local/lib -lgdbm


Seems there is still dependency on another DB version:

gcc -c -O -I/usr/include exim_dbmbuild.c
In file included from dbstuff.h:101,
                 from exim.h:316,
                 from exim_dbmbuild.c:30:
/usr/include/db.h:634: parse error before `60'
make[1]: *** [exim_dbmbuild] Error 1
make[1]: Leaving directory
`/home/gzp/src/exim-3.952/build-Linux-i386'
make: *** [go] Error 2


Installed db.h is from sleepycat version 4.1.3.

Also DBMLIB could be as comment/example in 'src/EDITME'.

For me its also OK when you fix the compatibility with
bloating sleepycat 4.1.x :-P