Pierre Labastie wrote:
> Hi all,
>
> In the process of testing dovecot, I tried to set up exim, but got an error.
> Here is the log after typing make:
> ----------------
> /bin/sh scripts/source_checks
>
>   >>> Creating links to source files...
>   >>> Creating lookups/Makefile for building dynamic modules
>   >>> New Makefile & lookups/Makefile installed
>   >>> Use "make makefile" if you need to force rebuilding of the makefile
>
> make[1] : Entering directory `/sources/exim/exim-4.82/build-Linux-x86_64''
> /bin/sh ../scripts/Configure-os.h
> /bin/sh ../scripts/Configure-os.c
> gcc buildconfig.c
> /bin/sh ../scripts/Configure-config.h "make"
> make[2] : Entering directory `/sources/exim/exim-4.82/build-Linux-x86_64'
> make[2]: « buildconfig » est à jour.
> make[2] : Leaving directory `/sources/exim/exim-4.82/build-Linux-x86_64'
> Building configuration file config.h
>   >>> config.h built
>
>   >>> version 4.82 #2
>
>   >>> exicyclog script built
>   >>> exinext script built
>   >>> exiwhat script built
>   >>> exigrep script built
>   >>> eximstats script built
>   >>> exipick script built
>   >>> exiqgrep script built
>   >>> exiqsumm script built
>   >>> transport-filter.pl script built
>   >>> convert4r3 script built
>   >>> convert4r4 script built
>   >>> exim_checkaccess script built
>
> gcc exim_dbmbuild.c
> In file included from exim.h:479:0,
>                    from exim_dbmbuild.c:31:
> dbstuff.h:101:16: fatal error: db.h : No such file or directory
>    #include <db.h>
>                   ^
> compilation terminated.
> make[1]: *** [exim_dbmbuild.o] Error 1
> make[1] : Leaving directory `/sources/exim/exim-4.82/build-Linux-x86_64'
> make: *** [all] Erreur 2
> ---------------------------------
> I do not have Berkeley DB installed, only GDBM from LFS. I wonder
> what the proper fix is (admitting that I do not do something wrong):
>
> - Recommend Berkeley DB (only optional right now).
> - Add USE_GDBM=yes to Local/Makefile and DBMLIB=-lgdbm
> - Comment out the USE_DB=yes and DBMLIB = -ldb stanzas
> in OS/Makefile-Linux (not this one : it does not work)

Does it work if you install bdb?  Is there a way to build without bdb? 
If there are a lot of difficulties without it, then I don't see a 
problem with promoting it to recommended.

> Has anybody some more experience with this?

Sorry, no.

   -- Bruce


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to