Thread: Error in compiling

Error in compiling

From
Marc Eggenberger
Date:
Hi.

I'm trying to compile the postgreSQL on a Sun Sparc5 with Solaris 2.6 ... the first hint (installing bison) took me
further... but now another error occurs: 

make[3]: Leaving directory `/usr/share/src/pgsql/src/interfaces/ecpg/lib'
/usr/local/bin/make -C preproc all
make[3]: Entering directory `/usr/share/src/pgsql/src/interfaces/ecpg/preproc'
/usr/local/bin/bison -y -d preproc.y
gcc -I../../../include -I../../../backend     -Wall -Wmissing-prototypes -I../include -DMAJOR_VERSION=1
-DMINOR_VERSION=1-DPATCHLEVEL=0 -DINCLUDE_PATH=\"/usr/local/pgsql/include\"   -c y.tab.c 
/usr/local/share/bison.simple: In function `yyparse':
/usr/local/share/bison.simple:377: warning: implicit declaration of function `yylex'
lex  -t pgc.l > pgc.c
"pgc.l":line 26: Error: missing translation value
make[3]: *** [pgc.c] Error 1
make[3]: Leaving directory `/usr/share/src/pgsql/src/interfaces/ecpg/preproc'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/share/src/pgsql/src/interfaces/ecpg'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/share/src/pgsql/src/interfaces'
make: *** [all] Error 2


can someone help me any further?


--
mit freundlichen Gruessen
=====================================
Inside Electronic Online   www.ieo.ch
Eggenberger Marc            me@ieo.ch
Leimbachstr. 56        Tel 01/4802800
8041 Zuerich            Fax 01/4802801
=====================================

Re: [ADMIN] Error in compiling

From
The Hermit Hacker
Date:
On Wed, 16 Sep 1998, Marc Eggenberger wrote:

> Hi.
>
> I'm trying to compile the postgreSQL on a Sun Sparc5 with Solaris 2.6 ... the first hint (installing bison) took me
further... but now another error occurs: 
>
> make[3]: Leaving directory `/usr/share/src/pgsql/src/interfaces/ecpg/lib'
> /usr/local/bin/make -C preproc all
> make[3]: Entering directory `/usr/share/src/pgsql/src/interfaces/ecpg/preproc'
> /usr/local/bin/bison -y -d preproc.y
> gcc -I../../../include -I../../../backend     -Wall -Wmissing-prototypes -I../include -DMAJOR_VERSION=1
-DMINOR_VERSION=1-DPATCHLEVEL=0 -DINCLUDE_PATH=\"/usr/local/pgsql/include\"   -c y.tab.c 
> /usr/local/share/bison.simple: In function `yyparse':
> /usr/local/share/bison.simple:377: warning: implicit declaration of function `yylex'
> lex  -t pgc.l > pgc.c
> "pgc.l":line 26: Error: missing translation value

    Must install flex...that should get you even further :)