Christopher Kings-Lynne wrote:
> /usr/include/openssl/asn1.h:907: syntax error before `)'
> In file included from /usr/include/openssl/evp.h:145,
> from /usr/include/openssl/x509.h:67,
> from /usr/include/openssl/ssl.h:177,
> from ../../../src/interfaces/libpq/libpq-fe.h:33,
> from pg_backup.h:30,
> from pg_backup_archiver.h:58,
> from common.c:21:
> /usr/include/openssl/objects.h:990: syntax error before `free_func'
> /usr/include/openssl/objects.h:990: syntax error before `)'
> gmake[3]: *** [common.o] Error 1
>
> Is that something broken on my system???
Bruce just reported something like this too. I had a somewhat similar
issue about a week and a half ago. It may be a long shot, but try:
./configure \ --with-openssl \ --with-krb5 \ --with-includes=/usr/kerberos/include \ --with-libs=/usr/kerberos/lib
of course replacing /usr/kerberos/* with whatever is correct for your
system. In my experience there has always (well, for quite some time
anyway) been a dependency between openssl and krb5. Just before I ran
into the latest problem, Peter made a change to configure that seemed to
trigger it for me:
http://archives.postgresql.org/pgsql-committers/2003-11/msg00278.php
How long has it been since you rebuilt from cvs?
Joe