Re: [HACKERS] Re: setsockopt(SO_REUSEADDR) (Re: Call for porting reports) - Mailing list pgsql-ports

From Tom Lane
Subject Re: [HACKERS] Re: setsockopt(SO_REUSEADDR) (Re: Call for porting reports)
Date
Msg-id 1857.955475974@sss.pgh.pa.us
Whole thread Raw
In response to Re: setsockopt(SO_REUSEADDR) (Re: Call for porting reports)  ("Kardos, Dr. Andreas" <kardos@repas-aeg.de>)
Responses Re: [HACKERS] Re: setsockopt(SO_REUSEADDR) (Re: Call for porting reports)  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-ports
"Kardos, Dr. Andreas" <kardos@repas-aeg.de> writes:
> 1) psql cannot be made since perl is used to generate sql_help.h. There is
> no perl on this machine. So configure doesn't help if perl is used anyway.

sql_help.h is (or should be) part of the distribution tarball.  Was it
not present, or perhaps out-of-date?  In any case the Makefile for psql
looks like it will not try to regenerate sql_help.h unless configure
found perl.

> psql: PQconnectPoll() --  couldn't send startup packet: errno=22
> Invalid argument

> TCP/IP or Unix domain sockets doesn't matter.

That's odd.  Can you get in there with a debugger (or add some printfs)
and see what's going wrong exactly?  That message can only come from
one place, but the subroutine it's reporting failure of does several
kernel calls.

            regards, tom lane

pgsql-ports by date:

Previous
From: "Kardos, Dr. Andreas"
Date:
Subject: Re: setsockopt(SO_REUSEADDR) (Re: Call for porting reports)
Next
From: "Kardos, Dr. Andreas"
Date:
Subject: Re: [HACKERS] Re: setsockopt(SO_REUSEADDR) (Re: Call for porting reports)