Thread: Solaris Compile problems
I'm on a SunOS 5.6 trying to compile postgres 6.3.2 with no root access and the command line of: ./configure --prefix=/my_path/pgsql --with-template=sparc_solaris-gcc Any idea why I'm getting the following error? ---------------------------------------------------------------------------- gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../include -DMAJOR_VERSION=1 -DMINOR_VERSION=1 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"/my_path/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 -t pgc.l > pgc.c "pgc.l":line 26: Error: missing translation value make[3]: *** [pgc.c] Error 1 rm pgc.c make[3]: Leaving directory `/my_path/src/postgresql-6.3.2/src/interfaces/ecpg/preproc' make[2]: *** [all] Error 2 make[2]: Leaving directory `/my_path/src/postgresql-6.3.2/src/interfaces/ecpg' make[1]: *** [all] Error 2 make[1]: Leaving directory `/my_path/src/postgresql-6.3.2/src/interfaces' make: *** [all] Error 2 ----------------------------------------------------------------------------
On Wed, 28 Oct 1998, Andy Lewis wrote: > I'm on a SunOS 5.6 trying to compile postgres 6.3.2 with no root access and the > command line of: > > ./configure --prefix=/my_path/pgsql --with-template=sparc_solaris-gcc > > Any idea why I'm getting the following error? > > ---------------------------------------------------------------------------- > gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes > -I../include -DMAJOR_VERSION=1 -DMINOR_VERSION=1 -DPATCHLEVEL=0 > -DINCLUDE_PATH=\"/my_path/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 -t pgc.l > pgc.c > "pgc.l":line 26: Error: missing translation value I'm going to run a guess here, but installing bison will most likely fix this. Marc G. Fournier Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org
> > lex -t pgc.l > pgc.c > > "pgc.l":line 26: Error: missing translation value > > I'm going to run a guess here, but installing bison will most likely fix > this. And flex. Taral