Build of PostgreSQL under Irix

From: "Robert E(dot) Bruccoleri" <bruc(at)stone(dot)congenomics(dot)com>
To: jp(at)celestrion(dot)net, pgsql-bugs(at)postgresql(dot)org
Subject: Build of PostgreSQL under Irix
Date: 2002-03-12 19:41:08
Message-ID: 200203121941.OAA25437@stone.congenomics.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Here is the script that I use to build PostgreSQL under Irix. The configure
scripts works just fine, and all regression tests past (join gives a compliant
but different record order).

#!/bin/ksh -x

export SGI_ABI=-64
cat >config.cache <<EOF
ac_cv_lib_nsl_main=${ac_cv_lib_nsl_main='no'}
ac_cv_prog_CPP=${ac_cv_prog_CPP='cc -E'}
ac_cv_prog_gcc=${ac_cv_prog_gcc=no}
ac_cv_prog_perl=${ac_cv_prog_perl=/usr/local64/bin/perl}
EOF
gmake clean
CC="cc -64" \
AWK=awk \
INSTALL=/pg/postgresql-7.2/config/install-sh \
LDFLAGS="-rpath /usr/local64/lib" \
./configure --prefix=/pg/postgresql-7.2 \
--enable-hba \
--with-pgport=6546 \
--disable-locale \
--enable-cassert \
--with-template=irix5 \
--with-includes="/usr/local64/include /usr/local64/include/readline" \
--with-libs=/usr/local64/lib \
--without-CXX \
--with-maxbackends=128 \
--enable-debug \
--without-java \
--enable-odbc
gmake
gmake check
gmake install
export PATH=/pg/postgresql-7.2/bin:$PATH
initdb -D /pg/postgresql-7.2/data
cd data
if [[ ! -r pg_hba.conf.bak ]]
then
chmod 644 pg_hba.conf
cp pg_hba.conf pg_hba.conf.bak
cat >>pg_hba.conf <<EOF
local all trust
host all 127.0.0.1 255.255.255.255 trust
host all 0.0.0.0 0.0.0.0 trust

The above would allow anyone anywhere to connect to any database under
any username.
EOF
chmod 444 pg_hba.conf
fi

The directories, /usr/local64/lib and /usr/local64/include, contain
installed versions of zlib and GNU readline, compiled under
64 bit mode.

Please give a version of this script a try (you'll need to change
path names), and see if it work OK. --Bob

+-----------------------------+------------------------------------+
| Robert E. Bruccoleri, Ph.D. | email: bruc(at)acm(dot)org |
| P.O. Box 314 | URL: http://www.congen.com/~bruc |
| Pennington, NJ 08534 | |
+-----------------------------+------------------------------------+

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2002-03-12 22:49:26 Re: Bug #613: Sequence values fall back to previously checkpointed
Previous Message Per Winkvist 2002-03-12 19:32:47 Case sensitive table names ?