Postgresql is not compiling - Mailing list pgsql-ports

From Syed Ali
Subject Postgresql is not compiling
Date
Msg-id 36D2DABE.872168DC@exchange.ml.com
Whole thread Raw
List pgsql-ports
Hi

I am unable to get postgresql to compile, perhaps you can help me?
Below is some information you should find useful in helping me....

Thank you very much!
Syed Ali

o  The version of Postgres (v6.4.2, 6.3.2, beta 981014, etc.).
            v6.4.2
o  Your operating system (i.e. RedHat v5.1 Linux v2.0.34).
        SunOS iss 5.6 Generic_105181-03 sun4u sparc SUNW,Ultra-2
o  Your hardware (SPARC, i486, etc.).
        Ultra 2
  o  Did you compile, install and run the regression
           tests cleanly? If not, what source code did you
           change (i.e. patches you applied, changes you
           made, etc.), what tests failed, etc. It is normal
           to get many warning when you compile. You do not
           need to report these.
Compile does not work. I get the following error:

make[3]: Entering directory
`/local/src/pgsql/src/interfaces/ecpg/preproc'
/usr/ccs/bin/yacc -d preproc.y
"preproc.y", line 576: warning: redeclaration of precedence of UNLISTEN.

gcc -I../../../include -I../../../backend     -Wall -Wmissing-prototypes
-I../include -DMAJOR_VERSION=2 -DMINOR_VERSION=4 -DPATCHLEVEL=4
-DINCLUDE_PATH=\"/usr/local/pgsql/include\"    -c y.tab.c -o y.tab.o
/usr/ccs/bin/yaccpar: In function `yyparse':
/usr/ccs/bin/yaccpar:274: warning: implicit declaration of function
`yylex'
/usr/ccs/bin/yaccpar:374: warning: label `yyerrlab' defined but not used

/usr/ccs/bin/yaccpar:164: warning: label `yynewstate' defined but not
used
lex pgc.l
"pgc.l":line 53: Error: missing translation value
make[3]: *** [pgc.c] Error 1
make[3]: Leaving directory
`/local/src/pgsql/src/interfaces/ecpg/preproc'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/local/src/pgsql/src/interfaces/ecpg'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/local/src/pgsql/src/interfaces'
make: *** [all] Error 2


P.S: Perhaps I should install the Postgresql patch?



pgsql-ports by date:

Previous
From: Jorge A Zarate Perez
Date:
Subject: dlfcn.h?
Next
From: "Stan Brown"
Date:
Subject: FreeBSD _wth_ TCL ?