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