Opened 13 years ago
Closed 13 years ago
#1491 closed defect (worksforme)
Require bison & flex in configure.
Reported by: | dzwarg | Owned by: | pramsey |
---|---|---|---|
Priority: | high | Milestone: | PostGIS 2.0.0 |
Component: | postgis | Version: | master |
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 (3)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
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.
comment:3 by , 13 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
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.
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.