"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