Port Bug Report: gmake all fails due to "buggy Flex"

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
Thread:
Lists: pgsql-ports


============================================================================
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:
---------

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

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Bruce Momjian 1999-05-02 07:13:38 Re: [PORTS] Port Bug Report: gmake all fails due to "buggy Flex"
Previous Message Rick Dole 1999-05-01 11:05:19