Re: postgresql 7.3.3 - Mailing list pgsql-general

From Franco Bruno Borghesi
Subject Re: postgresql 7.3.3
Date
Msg-id 200305291756.16617.franco@akyasociados.com.ar
Whole thread Raw
In response to Re: postgresql 7.3.3  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
I've reinstalled libgnugetopt from the ports, I've checked gnugetopt.h and libgenugetopt.*,
and all of them were reinstalled... but still didn't work.

So as you said, I undefined HAVE_GETOPT_LONG, and everything compiled perfectly. It's ok,
because I never use long options :).

Thanks Tom!

On Thursday 29 May 2003 16:55, you wrote:
> 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: Tom Lane
Date:
Subject: Re: How to deny user changing his own password?
Next
From: "scott.marlowe"
Date:
Subject: Re: FW: Blocking access to the database??