Re: Build error?

From: Joe Conway <mail(at)joeconway(dot)com>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: Re: Build error?
Date: 2003-12-08 02:06:37
Message-ID: 3FD3DCAD.8000709@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

  • Build error? at 2003-12-08 01:44:02 from Christopher Kings-Lynne

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-12-08 02:56:07 Re: Call for pg_dump testing
Previous Message Christopher Kings-Lynne 2003-12-08 01:44:02 Build error?