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

V8.0.1 under SCO 5.0.7

From: "Harvey, Allan AC" <HarveyA(at)OneSteel(dot)com>
To: <pgsql-ports(at)postgresql(dot)org>
Subject: V8.0.1 under SCO 5.0.7
Date: 2005-03-07 22:08:21
Message-ID: 3C2CED55DF019847AB7BD7317837BDA902BCFB4E@ntlmsg02.onesteel.com (view raw or flat)
Thread:
Lists: pgsql-ports
The results are:-

To build V8.0.1 under SCO 5.0.7 ...

For the "Legacy Development" environment
1.	make sure there are NO installed previous versions

2.	Make these changes to the src/test/regress/pg_regress
198c198
<     *-*-cygwin* | *-*-mingw32* | *-*-qnx* | *beos* | *-*-sco3.2v5*)
---
>     *-*-cygwin* | *-*-mingw32* | *-*-qnx* | *beos*)
401c401
<     "$bindir/initdb" -D "$PGDATA" -L "$datadir" --noclean --locale=C $initdb_options >"$LOGDIR/initdb.log" 2>&1
---
>     "$bindir/initdb" -D "$PGDATA" -L "$datadir" --noclean $initdb_options >"$LOGDIR/initdb.log" 2>&1
532c532
< "$bindir/createdb" -h localhost $encoding_opt $psql_options --template template0 "$dbname"
---
> "$bindir/createdb" $encoding_opt $psql_options --template template0 "$dbname"

and expect to get from a 'make check'

========================
 10 of 96 tests failed. 
========================

The errors are in the addition, or not, of a timezone string and
int8, float4 and float8 handling. A known issue with strtod() I think I read.
Don't know about int8.

For GCC as loaded from the SCO source CD's. ie gcc 2.95.3.
1. Add /usr/gnu/lib/gcc-lib/i586-pc-sco3.2v5.0/2.95.3 to your path.
ie PATH=$PATH:/usr/gnu/lib/gcc-lib/i586-pc-sco3.2v5.0/2.95.3:

2. Apply this patch to src/template/sco as directed by Larry.
if test "$GCC" != yes ; then
   CC="$CC -b elf"
fi
from
http://archives.postgresql.org/pgsql-novice/2004-03/msg00162.php

3. Do 2. from above.

and expect a 'make check'

========================
 2 of 96 test failed.
========================
The same strtod() issue I believe, Nan and infinity interpretation.

pgsql-ports by date

Next:From: lsunleyDate: 2005-03-08 03:55:38
Subject: Re: question about connecting a database
Previous:From: Peter EisentrautDate: 2005-03-07 18:45:43
Subject: Re: cross compiling postgresql 8.0.1 -- suggestion

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