Re: postgresql 7.3.3
От | Franco Bruno Borghesi |
---|---|
Тема | Re: postgresql 7.3.3 |
Дата | |
Msg-id | 200305291756.16617.franco@akyasociados.com.ar обсуждение исходный текст |
Ответ на | Re: postgresql 7.3.3 (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | 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 по дате отправления: