Re: postgresql 7.3.3 - Mailing list pgsql-general

From Tom Lane
Subject Re: postgresql 7.3.3
Date
Msg-id 29624.1054238142@sss.pgh.pa.us
Whole thread Raw
In response to postgresql 7.3.3  (Franco Bruno Borghesi <franco@akyasociados.com.ar>)
Responses Re: postgresql 7.3.3
List pgsql-general
Franco Bruno Borghesi <franco@akyasociados.com.ar> writes:
> I've downloaded the new version of postgresql, and when trying to compile it, I get some errors

> pg_dump.c:192: elements of array `long_options' have incomplete type
> ...
> pg_dump.c:273: warning: implicit declaration of function `getopt_long'

Hm.  It would seem that configure found the getopt_long() function in
libc, but the <getopt.h> include file either doesn't exist or doesn't
declare the function and associated structures.  Maybe you need to
install header files to go along with your libraries?

If you just want a quick and dirty solution, undefining HAVE_GETOPT_LONG
in src/include/pg_config.h would probably make it compile.

            regards, tom lane

pgsql-general by date:

Previous
From: Franco Bruno Borghesi
Date:
Subject: Re: problem delete record error:heap_mark4update
Next
From: Network Administrator
Date:
Subject: Re: How to deny user changing his own password?