Lists: | Postg스포츠 토토SQL |
---|
From: | Unprivileged user <nobody> |
---|---|
To: | pgsql-ports(at)postgresql(dot)org |
Subject: | Port Bug Report: gmake all fails due to "buggy Flex" |
Date: | 1999-05-02 05:43:10 |
Message-ID: | 199905020543.BAA05013@hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | Postg스포츠 토토SQL |
============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : Gary Hoffman
Your email address : ghoffman(at)ucsd(dot)edu
Category : install: compile
Severity : critical
Summary: gmake all fails due to "buggy Flex"
System Configuration
--------------------
Operating System : BSDi 3.0
PostgreSQL version : 6.0
Compiler used : gcc 2.7.2.1
Hardware:
---------
Dell 486/50 with 32M
BSD/OS saraband.ucsd.edu 3.0 BSDI BSD/OS 3.0 Kernel #0: Wed Apr 16 15:15:49 MDT
1997 polk(at)demiurge(dot)BSDI(dot)COM:/home/polk/sys-3.0patches/compile/GENERIC i386
Versions of other tools:
------------------------
Flex 2.5.4a
GNU Make version 3.75
--------------------------------------------------------------------------
Problem Description:
--------------------
Following instructions in Install Readme, I downloaded Flex 2.5.4a from mit.edu and compiled. Still, the make.log tells me:
gmake lexverify
gmake[1]: Entering directory `/usr2/src/pgsql/src'
gmake -C lextest all
gmake[2]: Entering directory `/usr2/src/pgsql/src/lextest'
lex scan.l
gcc2 -c lex.yy.c
gcc2 -c lextest.c
gcc2 -o lextest lex.yy.o lextest.o
unexpected last match in input()
gmake[2]: Leaving directory `/usr2/src/pgsql/src/lextest'
You have a buggy version of flex. Read INSTALL and search for flex for a fix.
gmake[1]: *** [lexverify] Error 1
gmake[1]: Leaving directory `/usr2/src/pgsql/src'
gmake: *** [all] Error 2
--------------------------------------------------------------------------
Test Case:
----------
I followed step 14:
14. Compile the program. Type
$ cd /usr/src/pgsql/src
$ gmake all >& make.log &
$ tail -f make.log
--------------------------------------------------------------------------
Solution:
---------
--------------------------------------------------------------------------
From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Gary Hoffman <ghoffman(at)ucsd(dot)edu> |
Cc: | pgsql-ports(at)postgreSQL(dot)org |
Subject: | Re: [PORTS] Port Bug Report: gmake all fails due to "buggy Flex" |
Date: | 1999-05-02 07:13:38 |
Message-ID: | 199905020713.DAA29595@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-ports |
>
> Versions of other tools:
> ------------------------
> Flex 2.5.4a
> GNU Make version 3.75
>
>
> --------------------------------------------------------------------------
>
> Problem Description:
> --------------------
> Following instructions in Install Readme, I downloaded Flex 2.5.4a from mit.edu and compiled. Still, the make.log tells me:
> gmake lexverify
> gmake[1]: Entering directory `/usr2/src/pgsql/src'
> gmake -C lextest all
> gmake[2]: Entering directory `/usr2/src/pgsql/src/lextest'
> lex scan.l
> gcc2 -c lex.yy.c
> gcc2 -c lextest.c
> gcc2 -o lextest lex.yy.o lextest.o
> unexpected last match in input()
> gmake[2]: Leaving directory `/usr2/src/pgsql/src/lextest'
>
> You have a buggy version of flex. Read INSTALL and search for flex for a fix.
>
> gmake[1]: *** [lexverify] Error 1
> gmake[1]: Leaving directory `/usr2/src/pgsql/src'
> gmake: *** [all] Error 2
>
> --------------------------------------------------------------------------
lex/flex in bsdi 3.0 is buggy. I my guess is that it is still finding
the old lex/flex and using that.
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026