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

Поиск
Список
Период
Сортировка
Искать

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

От:
Unprivileged user <nobody>
Дата:

============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name		: Jonathan
Your email address	: jonz@netrail.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:
---------


--------------------------------------------------------------------------

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

От:
The Hermit Hacker <scrappy@hub.org>
Дата:

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@netrail.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@hub.org           secondary: scrappy@{freebsd|postgresql}.org 

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

От:
"Jonathan A. Zdziarski" <jonz@netrail.net>
Дата:
I am using flex 2.5.4a

On Tue, 16 Mar 1999, The Hermit Hacker wrote:

> 
> 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@netrail.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@hub.org           secondary: scrappy@{freebsd|postgresql}.org 
> 

Thank you,

Jonathan A. Zdziarski
Sr. Systems Administrator
Netrail, inc. 
888.NET.RAIL x240

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

От:
The Hermit Hacker <scrappy@hub.org>
Дата:
On Tue, 16 Mar 1999, Jonathan A. Zdziarski wrote:

> I am using flex 2.5.4a

Is configure detecting 'lex' or 'flex'?  Did you install 'flex' after your
configurte and not do a 'make distclean' before doign a re-configure?  

I've built v6.4.2 on both Solaris 7/x86 and sparc, using Flex 2.5.4a, with
no problems...

> 
> On Tue, 16 Mar 1999, The Hermit Hacker wrote:
> 
> > 
> > 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@netrail.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@hub.org           secondary: scrappy@{freebsd|postgresql}.org 
> > 
> 
> Thank you,
> 
> Jonathan A. Zdziarski
> Sr. Systems Administrator
> Netrail, inc. 
> 888.NET.RAIL x240
> 

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 

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

От:
"Jonathan A. Zdziarski" <jonz@netrail.net>
Дата:
Hmm well I was able to make it build after I renamed lex to lex.old - i
guess it was using lex stil.  I still am not able to compile the perl5
interface; any ideas?

On Tue, 16 Mar 1999, The Hermit Hacker wrote:

> On Tue, 16 Mar 1999, Jonathan A. Zdziarski wrote:
> 
> > I am using flex 2.5.4a
> 
> Is configure detecting 'lex' or 'flex'?  Did you install 'flex' after your
> configurte and not do a 'make distclean' before doign a re-configure?  
> 
> I've built v6.4.2 on both Solaris 7/x86 and sparc, using Flex 2.5.4a, with
> no problems...
> 
> > 
> > On Tue, 16 Mar 1999, The Hermit Hacker wrote:
> > 
> > > 
> > > 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@netrail.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@hub.org           secondary: scrappy@{freebsd|postgresql}.org 
> > > 
> > 
> > Thank you,
> > 
> > Jonathan A. Zdziarski
> > Sr. Systems Administrator
> > Netrail, inc. 
> > 888.NET.RAIL x240
> > 
> 
> Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
> Systems Administrator @ hub.org 
> primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 
> 

Thank you,

Jonathan A. Zdziarski
Sr. Systems Administrator
Netrail, inc. 
888.NET.RAIL x240

FAQ