Received: from bonito.atc.unican.es (bonito.atc.unican.es [193.144.185.218]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fAQAa8m65557 for ; Mon, 26 Nov 2001 05:36:09 -0500 (EST) (envelope-from lamigo@bonito.atc.unican.es) Received: from bonito.atc.unican.es (marrajo.atc.unican.es [193.144.185.225]) by bonito.atc.unican.es (8.11.0/8.8.7) with ESMTP id fAQ9bEU09347 for ; Mon, 26 Nov 2001 10:37:14 +0100 Message-ID: <3C021AE1.DCB15AF4@bonito.atc.unican.es> Date: Mon, 26 Nov 2001 11:35:13 +0100 From: Luis Amigo X-Mailer: Mozilla 4.77C-SGI [en] (X11; I; IRIX64 6.5 IP35) X-Accept-Language: en MIME-Version: 1.0 To: ADMIN Subject: installing 7.2b3 on IRIX 6.5.13 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200111/124 X-Sequence-Number: 2649 We needed to install 7.2b3 on Irix 6.5.13 with MIPSpro Compilers: Version 7.30 when installing as we installed 7.1.3, it is with-template=irix5 adding to irix5 these lines: CC=cc CFLAGS='-n32 -O2 -r12000' LDFLAGS='-n32 -O2 -r12000' where -o2: Turns on extensive optimization. The optimizations at this level are generally conservative, in the sense that they are virtually always beneficial, provide improvements commensurate to the compile time spent to achieve them, and avoid changes which affect such things as floating point accuracy. -r12000 specifies the processor. and -n32: Generates a (new) 32-bit object. it is necessary to use cc because gcc gives assembler errors When installing 7.2b3 we receive after gmake: len = offsetof(PgStat_MsgTabpurge, m_tableid[msg.m_nentries]) must have a constant value I think it's because definition in stddef.h is incompatible with usage stdef.h: #if defined(_COMPILER_VERSION) && (_COMPILER_VERSION >= 400) #define offsetof(t, memb) ((size_t)__INTADDR__(&(((t *)0)->memb))) #else #define offsetof(s, m) (size_t)(&(((s *)0)->m)) #endif we managed to install forcing postgres to redefine offsetof, it is removing #ifndef offsetof after that it installed of course giving warning in all redefinition, but it already works. Hope it helps