CVS: compilation failed

Поиск
Список
Период
Сортировка
Искать

CVS: compilation failed

От:
Karel Zak <zakkr@zf.jcu.cz>
Дата:

./configure  --prefix=/usr/lib/postgresql  --enable-nls

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../../src/include   -c -o miscinit.o miscinit.c -MMD
miscinit.c: In function `SetCharSet':
miscinit.c:205: error: structure has no member named `in'
make[3]: *** [miscinit.o] Error 1
It's problem with:   MyProcPort->raddr.in.sin_addr.s_addr                  ^^^^^^
   Karel

-- Karel Zak  http://home.zf.jcu.cz/~zakkr/

Re: CVS: compilation failed

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Karel Zak  writes:
> ./configure  --prefix=/usr/lib/postgresql  --enable-nls

I think you must have done --enable-recode too.

> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
> -I../../../../src/include   -c -o miscinit.o miscinit.c -MMD
> miscinit.c: In function `SetCharSet':
> miscinit.c:205: error: structure has no member named `in'
> make[3]: *** [miscinit.o] Error 1

The recode stuff is broken due to IPv6 changes.  I'm inclined to rip it
out rather than try to upgrade it to handle IPv6 addresses; it seems to
me that that feature has been superseded by the client/server encoding
conversion features.
		regards, tom lane

Re: CVS: compilation failed

От:
Karel Zak <zakkr@zf.jcu.cz>
Дата:
On Tue, Jul 22, 2003 at 10:31:36AM -0400, Tom Lane wrote:
> Karel Zak  writes:
> > ./configure  --prefix=/usr/lib/postgresql  --enable-nls
> 
> I think you must have done --enable-recode too.
Oops.. you're right :-)
   Karel

-- Karel Zak  http://home.zf.jcu.cz/~zakkr/

FAQ