sudo bash build.sh init
sudo bash build.sh 之后报错,请教一下这个是什么问题呢?
[ 16%] generating lex and yacc files
yacc_sql.y:56.9-16: syntax error, unexpected identifier, expecting string
make[2]: *** [/Users/Terry/Desktop/project/c++/miniob/src/observer/sql/parser/lex_sql.cpp] Error 1
make[2]: *** Deleting file /Users/Terry/Desktop/project/c++/miniob/src/observer/sql/parser/lex_sql.cpp' make[1]: *** [src/observer/CMakeFiles/observer_static.dir/all] Error 2 make: *** [all] Error 2 [ 15%] Built target common [ 15%] Built target obclient [ 16%] **generating lex and yacc files** yacc_sql.y:56.9-16: syntax error, unexpected identifier, expecting string make[2]: *** [/Users/Terry/Desktop/project/c++/miniob/src/observer/sql/parser/lex_sql.cpp] Error 1 make[2]: *** Deleting file
/Users/Terry/Desktop/project/c++/miniob/src/observer/sql/parser/lex_sql.cpp’
make[1]: *** [src/observer/CMakeFiles/observer_static.dir/all] Error 2
uname -a相关信息
Darwin terry.local 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct 9 20:15:09 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T6000 arm64