pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Error with LEX code generation on hpux10.20
2+ messages / 2 participants
[nested] [flat]

* Error with LEX code generation on hpux10.20
@ 2001-02-08 14:12 Víctor López <vlopez@amr.cl>
  2001-02-12 15:44 ` Re: Error with LEX code generation on hpux10.20 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Víctor López @ 2001-02-08 14:12 UTC (permalink / raw)
  To: jerome.verleyen@insa-tlse.fr; pgsql-admin

Hi,
we are working down here in Chile, near to SoudthAmerica.
i have problems triying to generate code with lex over HP Station with HP-UX
10.20, i´ll appreciate if somebody can help me in order to fix that, pls::

HP-UX 10.20> lex alcatel.l
"alcatel.l" line 69: error 4: Parse tree too big
60/60 nodes(%e), 0/2500 positions(%p), 1/500 (%n), 0 transitions, 0/1000
packed char classes(%k), 0/2000 packed transitions(%a), 0/3000 output
slots(%o)


I attach an similar problem description gotten from Internet that looks like
as i have in this time:

Best regards, Víctor


<<<<<<------------------------------------------------------------------->>>
>>>>>
From: Jerome V <jerome.verleyen@insa-tlse.fr>
       To: pgsql-admin@postgresql.org
       Subject: Error in compilation on hpux10.20
       Date: Thu, 15 Oct 1998 09:58:51 +0200
Hi

I'm trying to install PostgreSQL 6.3.2 on hp Station with hpux10.10, but
there is a error occuring during the compilation of pgc.l:

..../....
gmake[3]: Entering directory `/opt/pgsql/src/interfaces/ecpg/preproc'
/opt/bison/bin/bison -y -d preproc.y
cc -I../../../include -I../../../backend   -W
l,-E -Ae   -I../include -DMAJOR_VERSION=1 -DMINOR_VERSION=1 -DPATCHLEVEL=0
-DINCLUDE_PATH=\"/opt/pgsql/include\"   -c y.tab.c -o y.tab.o lex  -t pgc.l
> pgc.c
"pgc.l" line 157: warning 22: Executable statements should occur right after
%%
"pgc.l" line 206: error 3: Parse tree too big, Try using %e num
1000/1000 nodes(%e), 0/2500 positions(%p), 1/500 (%n), 0 transitions,
0/1000 packed char classes(%k), 0/2000 packed transitions(%a), 0/0 output
slots(%o)
gmake[3]: *** [pgc.c] Error 1
rm pgc.c
gmake[3]: Leaving directory `/opt/pgsql/src/interfaces/ecpg/preproc'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/opt/pgsql/src/interfaces/ecpg'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/opt/pgsql/src/interfaces'
gmake: *** [all] Error 2

Is somebody knows what to do ?
I'm searching a patch, but i see nothing for this!

Thank's a lot.

Jerome Verleyen
INSA, Dpt Genie Mecanique
Complexe Scientifique de Rangueil
31077 Toulouse Cedex 04
Jerome.Verleyen@insa-tlse.fr




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Error with LEX code generation on hpux10.20
  2001-02-08 14:12 Error with LEX code generation on hpux10.20 Víctor López <vlopez@amr.cl>
@ 2001-02-12 15:44 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2001-02-12 15:44 UTC (permalink / raw)
  To: vlopez@amr.cl; +Cc: jerome.verleyen@insa-tlse.fr; pgsql-admin

=?iso-8859-1?Q?V=EDctor_L=F3pez?= <vlopez@amr.cl> writes:
> i have problems triying to generate code with lex over HP Station with HP-UX
> 10.20, i´ll appreciate if somebody can help me in order to fix that, pls::

> HP-UX 10.20> lex alcatel.l
> "alcatel.l" line 69: error 4: Parse tree too big
> 60/60 nodes(%e), 0/2500 positions(%p), 1/500 (%n), 0 transitions, 0/1000
> packed char classes(%k), 0/2000 packed transitions(%a), 0/3000 output
> slots(%o)

Don't use lex, but flex.  Or read the man page for lex about how to
increase its internal table sizes.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-02-12 15:44 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-02-08 14:12 Error with LEX code generation on hpux10.20 Víctor López <vlopez@amr.cl>
2001-02-12 15:44 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox