From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Murad Nayal <murad@godel.bioc.columbia.edu>
Cc: pgsql-ports@postgresql.org
Cc: bugs@postgresql.org
Cc: pgsql-hackers@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: [BUGS] port v7.0 to SGI-IRIX-6.5.7/64
Date: Mon, 22 May 2000 19:56:32 -0400 (EDT)
Message-ID: <200005222356.TAA01789@candle.pha.pa.us> (raw)
In-Reply-To: <39296388.38F57992@godel.bioc.columbia.edu>
>
> I managed to compile (and sort of run) postgres 7.0 to SGI running IRIX
> 6.5.7. I compiled to 64bit libraries. The problems I had were both due
> errors in the configure script as well as postgres configuration files.
>
> configure problems:
> -------------------
> 1- the program that configure uses to test for namespace std is faulty.
> I had to manually add #define HAVE_NAMESPACE_STD 1 to the top of
> interfaces/libpq++/pgconnection.h
Can you suggest a test that does work on Irix?
>
> 2- configure badly guesses the type of the 3rd argument to accept(). it
> decided it should be size_t (unsigned int on IRIX) while accept on IRIX
> takes an int. postgres compiles, but accept never retrieves the IP
> address of the connecting client (in StreamConnection() function in the
> file backend/libpq/pqcomm.c). as a result no authentication can happen
> and the postmaster refuses connections regardless of what is in
> pg_hba.conf. the error message is usually something like
>
> "no pg_hba.conf entry for host localhost user postgres database
> template1"
>
> here local host is just a default string and apparently will never match
> anything in pg_hba.conf. to fix this i changed line 521 of
> include/config.h
> from: #define SOCKET_SIZE_TYPE size_t
> to: #define SOCKET_SIZE_TYPE int
Again, a suggested change?
>
> postgres problems
> ------------------
> 3- src/pl/tcl/Makefile has a bug. line 69 is
> CFLAGS= $(TCL_CFLAGS_OPTIMIZE)
> that clobbers all CFLAGS included previously. as a result the include
> directories, important to find tcl.h etc. will not be added to the
> options and the compilation stops here complaining that it can't locate
> tcl.h etc.
> I just changed it to
> CFLAGS+= $(TCL_CFLAGS_OPTIMIZE)
Changed.
>
> 4- I had to change line 8 of interfaces/odbc/isqlext.h
> from # include <isql.h>
> to # include "isql.h"
> to force the inclusion of the local isql.h
Changed. Will appear in 7.0.1.
--
Bruce Momjian | http://www.op.net/~candle
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: pgman@candle.pha.pa.us, murad@godel.bioc.columbia.edu, pgsql-ports@postgresql.org, bugs@postgresql.org, pgsql-hackers@postgresql.org
Subject: Re: [BUGS] port v7.0 to SGI-IRIX-6.5.7/64
In-Reply-To: <200005222356.TAA01789@candle.pha.pa.us>
References: <39296388.38F57992@godel.bioc.columbia.edu> <200005222356.TAA01789@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox