Hello!
Thank you very much all of you who have given me some hints for solving
my problem of the compilation of PostgreSQL under Digital UNIX V4.0D
Here are the steps of the successful compilation:
1. The option "-E" of cc gave the hint that the preprocessor has deleted
the const attribut of the function "PGconn *PQconnectdb(const char
*conninfo)"
in file "src/interfaces/libpq/fe-connect.c"
2. By using the options "-O4 -std" of cc this effect was gone (this is magic
to me)
and it was possible to compile it
3. By setting up Makefile.custom to:
#
# Makefile.custom
#
# Makefile for PostgreSQL 6.4.2 on Digital Unix V 4.0D
#------------------------------------------------------
#
# Only with -O4 and -std the lib-fq is compiled correctly
CFLAGS+= -O4 -std
#
# You must give yacc more memory
YFLAGS+=-N 100000
configuring it
# ./configure --with-pgport=5432 --with-x \
--infodir=/usr/local \
--mandir=/usr/local \
--with-perl --without-CXX --with-template=alpha
and making
# gmake all
it was finally possible to have a working PostgreSQL Server!
The regression tests do show the following results:
boolean .. ok
char .. ok
name .. ok
varchar .. ok
text .. ok
strings .. failed
int2 .. failed
int4 .. failed
int8 .. failed
oid .. ok
float4 .. ok
float8 .. failed
numerology .. ok
point .. ok
lseg .. ok
box .. ok
path .. ok
polygon .. ok
circle .. ok
geometry .. failed
timespan .. ok
datetime .. ok
reltime .. ok
abstime .. failed
tinterval .. failed
horology .. failed
inet .. failed
comments .. ok
opr_sanity .. ok
create_function_1 .. ok
create_type .. ok
create_table .. ok
create_function_2 .. ok
constraints .. failed
triggers .. ok
copy .. ok
create_misc .. ok
create_aggregate .. ok
create_operator .. ok
create_view .. ok
create_index .. ok
sanity_check .. ok
errors .. failed
select .. ok
select_into .. ok
select_distinct .. ok
select_distinct_on .. ok
select_implicit .. ok
select_having .. ok
subselect .. ok
union .. ok
aggregates .. ok
transactions .. ok
random .. ok
portals .. ok
misc .. ok
arrays .. ok
btree_index .. ok
hash_index .. ok
select_views .. ok
alter_table .. ok
portals_p2 .. ok
rules .. ok
install_plpgsql .. ok
plpgsql .. failed
These tests seems to be ok on this machine.
--
Mit freundlichen Gruessen / With best regards
Reiner Dassing
---------------------------------------------------
| Bundesamt fuer Kartographie und Geodaesie
| Fundamentalstation Wettzell
| Sackenrieder Str. 25
| D-93444 Koetzting
|
| Tel: (+49) (0)9941/603-112
| Fax: (+49) (0)9941/603-222
| Zentrale: (+49) (0)9941/603-0
| E-mail: [EMAIL PROTECTED]
| URL: http://www.ifag.de
---------------------------------------------------