I have tried the --with-ldap option since I also intend
to submit a patch that uses LDAP functionality.
Compiling src/interfaces/libpq/fe-auth.c on Linux I get
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -fno-strict-aliasing
-I../../../src/include -D_GNU_SOURCE -I/usr/kerberos/include -c -o
auth.o auth.c
auth.c:793:1: directives may not be used inside a macro argument
auth.c:792:56: unterminated argument list invoking macro "ereport"
auth.c: In function `CheckLDAPAuth':
auth.c:794: warning: implicit declaration of function `ereport'
auth.c:798: syntax error before ')' token
I use 3.2.3 20030502.
Another problem:
When I compile --with-krb5 on Windows 2000, I experience a mysterious
crash that I guess is related to my configuration and not a code error.
I link against krb5_32.dll (DLL version 1.3.5.0), and my executable
crashes,
with printfs I could find that it crashes WHILE returning from
pg_krb5_init() (in the error handling clause after
krb5_cc_get_principal),
which is called from pg_krb5_authname(). The stack trace is empty!
Can anybody give me a hint?
Is there something like a preferred set of library/header versions for
building CVS head?
Yours,
Laurenz Albe