Greetings,

Looks like you're using the lex that came with Solaris.  You need to
get flex.  IIRC, you can get it from ftp.gnu.org.  

I just installed on Solaris/Sparc for the first time ~2 weeks ago, so
it's still reasonably fresh in my mind.  I had to diddle several
options in the makefile to get it to work right.

You can email me if you have other problems.

        -Mark


>
>Date: Wed, 3 Feb 1999 11:55:09 -0700 (MST)
>From: "Marc Wrubleski (403)220-7598" <[EMAIL PROTECTED]>
>Subject: Installation failure Solaris2.6/Sparc
>
>I know this has been posted before, but I cannot find a solution in the 
>archives. Please post if you know the answer to this .
>
>At the stage gmake all I get the following prior to failure:
>
>gmake[3]: Entering directory 
>`/home/postgres/postgresql-6.4.2/src/interfaces/ecpg/preproc'
>/usr/ccs/bin/yacc -d preproc.y
>"preproc.y", line 576: warning: redeclaration of precedence of UNLISTEN.
>gmake[3]: *** Warning: File `y.tab.h' has modification time in the future 
>(918065629 > 918065615)
>gcc -I../../../include -I../../../backend     -Wall -Wmissing-prototypes 
>- -I../include -DMAJOR_VERSION=2 -DMINOR_VERSION=4 -DPATCHLEVEL=4 
>- -DINCLUDE_PATH=\"/opt/postgres/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
>gmake[3]: *** [pgc.c] Error 1
>gmake[3]: Leaving directory 
>`/home/postgres/postgresql-6.4.2/src/interfaces/ecpg/preproc'
>gmake[2]: *** [all] Error 2
>gmake[2]: Leaving directory 
>`/home/postgres/postgresql-6.4.2/src/interfaces/ecpg'
>gmake[1]: *** [all] Error 2
>gmake[1]: Leaving directory `/home/postgres/postgresql-6.4.2/src/interfaces'
>gmake: *** [all] Error 2
>
>This is with gcc-2.8.1 and also with SUN C Compiler.
>
>Marc Wrubleski                 
>Math & Stats           
>University of Calgary          
>
>------------------------------
>
>End of pgsql-admin-digest V1 #148
>*********************************
>

Reply via email to