emotionbug edited a comment on pull request #82: URL: https://github.com/apache/incubator-age/pull/82#issuecomment-860293036
Ok, I tested with bison version that you installed. It seems not compatible with 2.3. how about try the latest version that you can download from brew? ``` root@0529b47f9958:/age/incubator-age# cat /etc/os-release NAME="Ubuntu" VERSION="16.04.1 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.1 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" UBUNTU_CODENAME=xenial root@0529b47f9958:/age/incubator-age# bison --version bison (GNU Bison) 2.3 Written by Robert Corbett and Richard Stallman. Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. root@0529b47f9958:/age/incubator-age# bison --version^C root@0529b47f9958:/age/incubator-age# make -j16 /usr/bin/bison -Wno-deprecated --defines=.//src/include/parser/cypher_gram_def.h -o src/backend/parser/cypher_gram.c src/backend/parser/cypher_gram.y gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -pie -fno-omit-frame-pointer -fPIC -I.//src/include -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/internal -I/usr/include/x86_64-linux-gnu -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/mit-krb5 -c -o src/backend/parser/cypher_item.o src/backend/parser/cypher_item.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -pie -fno-omit-frame-pointer -fPIC -I.//src/include -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/internal -I/usr/include/x86_64-linux-gnu -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/mit-krb5 -c -o src/backend/parser/cypher_keywords.o src/backend/parser/cypher_keywords.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -pie -fno-omit-frame-pointer -fPIC -I.//src/include -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/internal -I/usr/include/x86_64-linux-gnu -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/mit-krb5 -c -o src/backend/parser/cypher_parse_agg.o src/backend/parser/cypher_parse_agg.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -pie -fno-omit-frame-pointer -fPIC -I.//src/include -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/internal -I/usr/include/x86_64-linux-gnu -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/mit-krb5 -c -o src/backend/parser/cypher_parse_node.o src/backend/parser/cypher_parse_node.c /usr/bin/bison: invalid option -- 'W' Try `/usr/bin/bison --help' for more information. /usr/lib/postgresql/11/lib/pgxs/src/makefiles/../../src/Makefile.global:736: recipe for target 'src/backend/parser/cypher_gram.c' failed make: *** [src/backend/parser/cypher_gram.c] Error 1 make: *** Waiting for unfinished jobs.... In file included from src/backend/parser/cypher_keywords.c:30:0: .//src/include/parser/cypher_gram.h:66:36: fatal error: parser/cypher_gram_def.h: No such file or directory compilation terminated. <builtin>: recipe for target 'src/backend/parser/cypher_keywords.o' failed make: *** [src/backend/parser/cypher_keywords.o] Error 1 root@0529b47f9958:/age/incubator-age# make /usr/bin/bison -Wno-deprecated --defines=.//src/include/parser/cypher_gram_def.h -o src/backend/parser/cypher_gram.c src/backend/parser/cypher_gram.y /usr/bin/bison: invalid option -- 'W' Try `/usr/bin/bison --help' for more information. /usr/lib/postgresql/11/lib/pgxs/src/makefiles/../../src/Makefile.global:736: recipe for target 'src/backend/parser/cypher_gram.c' failed make: *** [src/backend/parser/cypher_gram.c] Error 1 root@0529b47f9958:/age/incubator-age# ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
