Re: [PORTS] Port Bug Report: The compiler bombs at pgc.l and fails to finish compiling

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Jonathan <jonz(at)netrail(dot)net>
Cc: pgsql-ports(at)postgreSQL(dot)org
Subject: Re: [PORTS] Port Bug Report: The compiler bombs at pgc.l and fails to finish compiling
Date: 1999-03-16 05:21:36
Message-ID: Pine.BSF.4.05.9903160120530.19918-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports


You must upgrade to using flex 2.5.4+ .. the lex that comes with most
operating systems (commercial) tends to be unable to handle the complexity
of our .l files ...

On Mon, 15 Mar 1999, Unprivileged user wrote:

>
> ============================================================================
> POSTGRESQL BUG REPORT TEMPLATE
> ============================================================================
>
>
> Your name : Jonathan
> Your email address : jonz(at)netrail(dot)net
>
> Category : install: compile
> Severity : critical
>
> Summary: The compiler bombs at pgc.l and fails to finish compiling
>
> System Configuration
> --------------------
> Operating System : Solaris 7
>
> PostgreSQL version : 6.4.2
>
> Compiler used : gcc 2.8.1
>
> Hardware:
> ---------
> ASUS P2L97-DS, Dual P-II 333 Mhz, 512MB RAM, 9 Gig Disk
>
> Versions of other tools:
> ------------------------
> gmake 3.77, lex
>
> --------------------------------------------------------------------------
>
> Problem Description:
> --------------------
> When the compiler reached pgc.l, I receive this error:
>
> lex pgc.l
> "pgc.l":line 53: 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
>
> if I try and do a make install i get postgres, but none of the tools or anything else. It doesn't set up the database
> (if it is supposed to) either.
>
> --------------------------------------------------------------------------
>
> Test Case:
> ----------
> I did a ./configure --with-perl --with-CC=gcc --with-pgport=5432 --enable-hba --disable-locale and a 'gmake'
>
>
> --------------------------------------------------------------------------
>
> Solution:
> ---------
>
>
> --------------------------------------------------------------------------
>
>

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

In response to

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Jonathan A. Zdziarski 1999-03-16 07:49:43 Re: [PORTS] Port Bug Report: The compiler bombs at pgc.l and fails to finish compiling
Previous Message Bruce Momjian 1999-03-16 04:18:06 Re: [PORTS] Port Bug Report: ERROR: RestrictionClauseSelectivity: bad value 2.213087