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.