oceanbase / oceanbase/seekdb

[Enhancement]: Add one script to check dependency before building, "src/sql/parser/_gen_parser.error"

Open Beginner friendly
#91 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.