Ticket #1491 (closed defect: worksforme)

Opened 4 months ago

Last modified 4 months ago

Require bison & flex in configure.

Reported by: dzwarg Owned by: pramsey
Priority: high Milestone: PostGIS 2.0.0
Component: postgis Version: trunk
Keywords: Cc:

Description

If a user doesn't have bison or flex installed when performing ./autogen.sh and ./configure, postgis appears to be configured properly, but running make will complain about the symbol "wktyylex" missing.

The simple fix would be to have configure require bison and flex, and not permit the make process to continue.

Change History

Changed 4 months ago by pramsey

The .c files generated by bison and flex should be committed into the repo, so the lexer/parser shouldn't be required for a build, generally speaking. I will look more closely at my build and see what happens there.

Changed 4 months ago by pramsey

Oh, and as a general rule, unfortunately bison/flex has enough functionality drift across versions that people with different versions will get regression failures. So we do want to avoid having builds in general generate the .c files from the .y and .l files.

Changed 4 months ago by pramsey

  • status changed from new to closed
  • resolution set to worksforme

Not seeing this on my current checkout or on a fresh one. The bison and flex components are not called, because the .c files are checked into the repo. Re-open if this continues.

Note: See TracTickets for help on using tickets.