Re: [exim] problem with exim_dbmbuild

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Sujit Choudhury
Dátum:  
Címzett: exim-users
CC: Philip Hazel
Tárgy: Re: [exim] problem with exim_dbmbuild
Philip Hazel wrote:
> On Wed, 12 Jan 2005, Sujit Choudhury wrote:
>
>
>>Some ideas with multiple versions will really be helpful.
>
>
> On my workstation:
>
> $ ls /usr/include/db*
> /usr/include/db.h@ /usr/include/db_185.h@
>
> /usr/include/db1:
> db.h mpool.h ndbm.h
>
> /usr/include/db3:
> db.h db_185.h db_cxx.h
>
> /usr/include/db4:
> cxx_common.h cxx_except.h db.h db_185.h db_cxx.h
>
> /usr/include/db4.1:
> cxx_common.h cxx_except.h db.h db_185.h db_cxx.h
>
> In other words, I have 4 versions installed, and that doesn't count
> gdbm...
>
> The trick is to make sure they are all installed in clearly defined
> places, and to be explicit in your setting of INCLUDE and DBMLIB in your
> Local/Makefile. For example:
>
> USE_DB=yes                 
> INCLUDE=-I/usr/include/db4                                           
> DBMLIB=/usr/lib/libdb-4.0.a                                              

>


I have the following:

exim@chinstrap:~> ls /usr/include/db*
/usr/include/db_185.h /usr/include/db.h
/usr/include/db_cxx.h /usr/include/dbm.h

/usr/include/db4:
db_185.h db_cxx.h db.h

/usr/include/db40:
cxx_common.h cxx_except.h db_185.h db_cxx.h db.h

/usr/include/db41:
cxx_common.h cxx_except.h db_185.h db_cxx.h db.h

and
exim@chinstrap:~> ls /usr/lib/libdb*
/usr/lib/libdb-3.1.so  /usr/lib/libdb-4.2.la      /usr/lib/libdb_cxx-4.2.a
/usr/lib/libdb-3.3.so  /usr/lib/libdb-4.so        /usr/lib/libdb_cxx-4.2.la
/usr/lib/libdb-4.0.a   /usr/lib/libdb.a           /usr/lib/libdb_cxx-4.2.so
/usr/lib/libdb-4.0.la  /usr/lib/libdb_cxx-4.0.a   /usr/lib/libdb_cxx-4.so
/usr/lib/libdb-4.0.so  /usr/lib/libdb_cxx-4.0.la  /usr/lib/libdb_cxx.a
/usr/lib/libdb-4.1.a   /usr/lib/libdb_cxx-4.0.so  /usr/lib/libdb_cxx.so
/usr/lib/libdb-4.1.la  /usr/lib/libdb_cxx-4.1.a   /usr/lib/libdb.so
/usr/lib/libdb-4.2.a   /usr/lib/libdb_cxx-4.1.la  /usr/lib/libdb.so.3


and as Philip suggested,
LOOKUP_DBM=yes
USE_DB=yes
DBMLIB=/usr/lib/libdb-4.0.a
INCLUDE=-I/usr/include/db4

And it gives the same problem.

The permissons are ok. I have installed various versions of exim at two
different Universities, and on at least 10 different Sun machines and
never encountered any problem. This is my first attempt with SuSE and
it is hopeless.

Sujit