
./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  <zakkr@zf.jcu.cz>
 http://home.zf.jcu.cz/~zakkr/

Tue, 22 Jul 2003 15:02:53 +0200
Karel Zak <zakkr@zf.jcu.cz>
CVS: compilation failed
Karel Zak <zakkr@zf.jcu.cz> 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

Tue, 22 Jul 2003 10:31:36 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: CVS: compilation failed 
On Tue, Jul 22, 2003 at 10:31:36AM -0400, Tom Lane wrote:
> Karel Zak <zakkr@zf.jcu.cz> writes:
> > ./configure  --prefix=/usr/lib/postgresql  --enable-nls
> 
> I think you must have done --enable-recode too.

 Oops.. you're right :-)

    Karel

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

Tue, 22 Jul 2003 17:17:33 +0200
Karel Zak <zakkr@zf.jcu.cz>
Re: CVS: compilation failed