Port Bug Report: PostgreSQL does not compile with 'lex' on SunOS 5.6 - Mailing list pgsql-ports

From Unprivileged user
Subject Port Bug Report: PostgreSQL does not compile with 'lex' on SunOS 5.6
Date
Msg-id 199901152213.RAA03911@hub.org
Whole thread Raw
List pgsql-ports
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name        : Greg Boyko
Your email address    : greg.boyko@zephyrtech.com

Category        : install: compile
Severity        : serious

Summary: PostgreSQL does not compile with 'lex' on SunOS 5.6

System Configuration
--------------------
  Operating System   : SunOS 5.6

  PostgreSQL version : 6.4.2

  Compiler used      : gcc 2.8.1.1

Hardware:
---------
SunOS solaris1 5.6 Generic_105181-04 sun4u sparc SUNW,Ultra-1


Versions of other tools:
------------------------
GNU Make 3.76.1
lex: Software Generation Utilities (SGU) Solaris/ELF (3.0)


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

Problem Description:
--------------------
The build fails in the directory

   postgresql-6.4.2/src/interfaces/ecpg/preproc

with the error

   "pgc.l": line 53: Error: missing translation value


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

Test Case:
----------


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

Solution:
---------
The build succeeds if I use GNU flex instead of lex. I did
investigate any further.


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


pgsql-ports by date:

Previous
From: Unprivileged user
Date:
Subject: Port Bug Report: psql can't work correctly
Next
From: Unprivileged user
Date:
Subject: Port Bug Report: make[2]: d: Command not found