[SunHELP] Getting Sendmail 8.12.6 to compile on Solaris 8 with BerkeleyDB 4.1.24

Joost van Baal J.E.vanBaal at uvt.nl
Fri Nov 15 10:16:18 CST 2002


Replying to myself.  O well...

On Fri, Nov 15, 2002 at 12:05:54PM +0100, Joost van Baal wrote:
>
> I am trying to build sendmail 8.12.6 on Solaris 8, with Berkely DB
> 4.1.24, which fails, out of the box.
>
> This:
>
>  joostvb at mailone:/usr....SunOS.5.8.sun4/sendmail% gcc -O -I.
-I../../include
> \
>     -I/usr/local/BerkeleyDB.4.1/include -DNEWDB -DSOLARIS=20800 -DMAP_REGEX
\
>     -c -o map.o map.c
>
> fails with
>
>   map.c: In function `db_map_open':
>   map.c:2118: warning: passing arg 2 of pointer to function from
incompatible
> pointer type
>   map.c:2118: incompatible type for argument 4 of indirect function call
>   map.c:2118: too few arguments to function

> sticking with old-style NDBM instead of new NEWDB,
> and having aliases.{dir,pag} instead of aliases.db, results in a fine

Just found out building with BerkeleyDB.4.0 (db-4.0.14) succeeds fine.
(I've found out having NEWDB support is needed for hash maps in
sendmail.)

HTH, Bye,

Joost

--
Joost van Baal                                   http://www.uvt.nl/
joostvb at uvt.nl                                   Tilburg University
                                                    The Netherlands

[demime 0.99d.1 removed an attachment of type application/pgp-signature]



More information about the SunHELP mailing list