Skip site navigation (1) Skip section navigation (2)

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: (view raw or whole 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_prog_CPP=${ac_cv_prog_CPP='cc -E'}
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 \
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 ]]
        chmod 644 pg_hba.conf
        cp pg_hba.conf pg_hba.conf.bak
        cat >>pg_hba.conf <<EOF
local        all                                         trust
host         all   trust
host         all           trust

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

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: |
| Pennington, NJ 08534        |                                    |

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group