Re: 7.3.3 COMPILE FAILURE: pg_dump (fwd)

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: 7.3.3 COMPILE FAILURE: pg_dump (fwd)
Date: 2003-06-10 07:08:02
Message-ID: 32440000.1055228882@lerlaptop.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

--On Monday, June 09, 2003 23:12:27 -0400 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
wrote:

> Larry Rosenman <ler(at)lerctr(dot)org> writes:
>>> cc -O -g -I../../../src/interfaces/libpq -I../../../src/include
>>> -I/usr/local/include -DBINDIR=\"/usr/local/pgsql/bin\" -c -o pg_dump.o
>>> pg_dump.c UX:cc: WARNING: debugging and optimization mutually exclusive;
>>> -O disabled UX:acomp: ERROR: "pg_dump.c", line 192: incomplete
>>> struct/union/enum option: long_options
>
> This implies that your system has the getopt_long() subroutine (in one
> library or another) but <getopt.h> either doesn't exist or doesn't
> define "struct option". This is not particularly hard to believe,
> since getopt_long() might be installed in a nonstandard place and its
> header file too.
>
> CVS tip attempts to support long options with or without a system copy
> of getopt_long(), but I fear that it will still break on platforms like
> yours, because there is no separate configure check to see if we need to
> provide a definition of struct option.
>
> Peter, what can we do to fix that?
for the record, this is a change from 7.3.2 to 7.3.3 that broke here.
7.3.2 compiled
just fine. Peter has an account on this box if he wants to look around.

I can also make other people accounts.

LER

>
> regards, tom lane

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ron Johnson 2003-06-10 07:08:08 Re: Feature Suggestion/Index tuning wizard that
Previous Message Bruce Momjian 2003-06-10 04:53:33 Re: default locale considered harmful? (was Re: [GENERAL]