[Enhancement]: Add one script to check dependency before building, "src/sql/parser/_gen_parser.error"
Open
Beginner friendly
Nobody has claimed this yet.
good first issue
help wanted
type: bug
- Dominant language
- C++
- Stars
- 2.9k
- Forks
- 339
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 52
Description
Enhancement
It will occur build error on fresh OS.
CMake Error at src/sql/CMakeLists.txt:1523 (message):
Generate sql parser failed and check error in
/home/longda/work/repo/db/seekdb/src/sql/parser/_gen_parser.error```
After check the src/sql/CMakeLists.txt,
Because there is no bison tools in current os.
After installation of bison, this problem has been fixed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading src/sql/CMakeLists.txt around the parser-generation check and the reported _gen_parser.error path. Confirm how a missing bison tool currently reaches the build failure. Done means the build has a dependency check that identifies the missing tool before parser generation and gives a useful failure message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100