Parser problems when installing PGSQL V6.4 on Redhat 5.1 - Mailing list pgsql-admin

From Greg Frith
Subject Parser problems when installing PGSQL V6.4 on Redhat 5.1
Date
Msg-id 000001be2b62$2999d790$0100a8c0@malthouse
Whole thread Raw
List pgsql-admin
I am trying to install Postgres V6.4 on my Redhat box, but cannot find a way
past the following error which I get after "make all >& make.log &":-

make -C parser all
make[2]: Entering directory
`/usr/src/pgsql/postgresql-v6.4/src/backend/parser'
gcc -I../../include -I../../backend   -O2  -Wall -Wmissing-prototypes -I.. -
Wno-error   -c analyze.c -o analyze.o
gcc -I../../include -I../../backend   -O2  -Wall -Wmissing-prototypes -I.. -
Wno-error   -c gram.c -o gram.o
gram.y:3363: warning: implicit declaration of function `y'
gram.y:3363: `cp' undeclared here (not in a function)
gram.y:3363: initializer element for `yycheck[5668]' is not constant
gram.y:3363: parse error before `;'
gram.y:3364: `rawid' undeclared here (not in a function)
gram.y:3364: initializer element for `yycheck[5669]' is not constant
gram.y:3365: warning: initialization makes integer from pointer without a
cast
gram.y:3365: initializer element for `yycheck[5670]' is not computable at
load time
gram.y:53: warning: `saved_relname' defined but not used
gram.y:54: warning: `QueryIsRule' defined but not used
gram.y:55: warning: `saved_In_Expr' defined but not used
gram.y:68: warning: `xlateSqlFunc' declared `static' but never defined
gram.y:69: warning: `xlateSqlType' declared `static' but never defined
gram.y:70: warning: `makeA_Expr' declared `static' but never defined
gram.y:71: warning: `makeRowExpr' declared `static' but never defined
gram.y:72: warning: `mapTargetColumns' declared `static' but never defined
gram.y:73: warning: `makeConstantList' declared `static' but never defined
gram.y:74: warning: `FlattenStringList' declared `static' but never defined
gram.y:75: warning: `fmtId' declared `static' but never defined
gram.y:76: warning: `makeIndexable' declared `static' but never defined
gram.y:3381: warning: `param_type_init' defined but not used
cc1: /tmp/cca01463.s: I/O error
make[2]: *** [gram.o] Error 1
make[2]: Leaving directory
`/usr/src/pgsql/postgresql-v6.4/src/backend/parser'
make[1]: *** [parser.dir] Error 2
make[1]: Leaving directory `/usr/src/pgsql/postgresql-v6.4/src/backend'
make: *** [all] Error 2

I have bison in /usr/bin and a line in Makefile.global sets "YACC =
/usr/bin/bison".  I configure with the line
"./configure -with-template=linux_i386 -with-perl"

Any suggestions would be greatly appreciated.


Greg Frith (greg@malthouse.demon.co.uk)
School of Computer Studies - The University of Leeds.




pgsql-admin by date:

Previous
From: Carl Riches
Date:
Subject: More problems compiling PostgreSQL 6.4 on Digital Unix 4.0d
Next
From: Miguel Valero
Date:
Subject: Problems starting postmaster