Re: postgresql 7.3.3

From: Franco Bruno Borghesi <franco(at)akyasociados(dot)com(dot)ar>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: postgresql 7.3.3
Date: 2003-05-29 20:56:16
Message-ID: 200305291756.16617.franco@akyasociados.com.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)akyasociados(dot)com(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message lyris-pg 2003-05-29 21:26:16 Re: fomatting an interval (resend)
Previous Message Alvaro Herrera 2003-05-29 20:54:24 Re: How to deny user changing his own password?