Fixed. Requires autoreconf.

On Sat, 2006-12-16 at 23:11 +0100, Michael Monnerie wrote:
> On Samstag, 16. Dezember 2006 10:31 Aaron Stone wrote:
> > See my comments regarding bug #477. Your configuration will either
> > *crash* or *drop all mail* with aliases of the form @domain ->
> > @domain2. This will be fixed, it'll just take a few days of thinking
> > and coding.
> 
> I've grabbed 2.2.2 branch via svn, but got compile problems. I used
> ./configure CFLAGS=-march=k8 --prefix=/usr --sysconfdir=/etc/dbmail 
> --with-pgsql --with-sieve
> as I did with 2.2.1, and got:
> 
> DM_LOGDIR:     /var/log
> DM_CONFDIR:    /etc/dbmail
> DM_STATEDIR:   /var/run
> USE_DM_GETOPT:
> CFLAGS:        -march=k8 -I/opt/gnome/include/glib-2.0 
> -I/opt/gnome/lib/glib-2.0/include   -I/usr/include/gmime-2.0 
> -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include   -W 
> -Wall -Wpointer-arith -Wstrict-prototypes
> GLIB:          -L/opt/gnome/lib -lglib-2.0
> GMIME:         -L/opt/gnome/lib -lgmime-2.0 -lz -lnsl -lgobject-2.0 
> -lglib-2.0
> MYSQL:
> PGSQL:         -L/usr/lib -lpq
> SQLITE:
> SIEVE:          -lsieve
> LDAP:
> SHARED:        yes
> STATIC:        no
> CHECK:         no
> 
> But make breaks immediately:
> # make
> make  all-recursive
> make[1]: Entering directory 
> `/disks/work/_usr_src/apps/dbmail_2_2_branch'
> Making all in modules
> make[2]: Entering directory 
> `/disks/work/_usr_src/apps/dbmail_2_2_branch/modules'
> if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. 
> -I. -I.. -I..   -I/usr/include/pgsql    -march=k8 
> -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include   
> -I/usr/include/gmime-2.0 -I/opt/gnome/include/glib-2.0 
> -I/opt/gnome/lib/glib-2.0/include   -W -Wall -Wpointer-arith 
> -Wstrict-prototypes -MT sortnull.lo -MD -MP -MF ".deps/sortnull.Tpo" -c 
> -o sortnull.lo sortnull.c; \
> then mv -f ".deps/sortnull.Tpo" ".deps/sortnull.Plo"; else rm -f 
> ".deps/sortnull.Tpo"; exit 1; fi
> mkdir .libs
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/pgsql -march=k8 
> -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include 
> -I/usr/include/gmime-2.0 -I/opt/gnome/include/glib-2.0 
> -I/opt/gnome/lib/glib-2.0/include -W -Wall -Wpointer-arith 
> -Wstrict-prototypes -MT sortnull.lo -MD -MP -MF .deps/sortnull.Tpo -c 
> sortnull.c  -fPIC -DPIC -o .libs/sortnull.o
> In file included from sortnull.c:28:
> ../dbmail.h:75:18: error: ldap.h: No such file or directory
> make[2]: *** [sortnull.lo] Fehler 1
> make[2]: Leaving directory 
> `/disks/work/_usr_src/apps/dbmail_2_2_branch/modules'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/disks/work/_usr_src/apps/dbmail_2_2_branch'
> make: *** [all] Fehler 2
> 
> Seems it want ldap.h without being configured to have it. So I removed 
> these lines from dbmail.h:
> #ifdef AUTHLDAP
> #define LDAP_DEPRECATED 1
> #include <ldap.h>
> #endif
> And then it compiles  (Must be "AUTHLDAP" is set somewhere when it 
> should not.) But then timsieved crashed on startup.
> 
> mfg zmi
> _______________________________________________
> DBmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail

_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to