Re: 8.0.15: build problem with ANTLR
Ok, Thanks. I attempt to use antlr4-cpp-runtime-4.7.1-source.zip and now I have another problem. I make an RPM package and use this:
%cmake \
-DWITH_ANTLR_JAR=%SOURCE1 \
-DANTLR4_LIBRARY=%_builddir/%name-%version/ANTLR-CPP/dist \
-DANTLR4_INCLUDE_DIR=%_builddir/%name-%version/ANTLR-CPP/runtime/src
antlr4-cpp-runtime-4.7.1-source was built in %name-%version/ANTLR-CPP before. The cmake modifies directories wrong:
-- Found ANTLR4: /home/asy/RPM/BUILD/mysql-workbench-community-8.0.15/ANTLR-CPP/dist
ANTLR4 INCLUDE DIR: /home/asy/RPM/BUILD/mysql-workbench-community-8.0.15/ANTLR-CPP/runtime/src/antlr4-runtime
ANTLR4 LIB DIR: -L/home/asy/RPM/BUILD/mysql-workbench-community-8.0.15/ANTLR-CPP -lantlr4-runtime
Added unnecessary "antlr4-runtime" and removed needed "dist".
Subject
Views
Written By
Posted
4446
February 18, 2019 12:19PM
2135
February 19, 2019 02:15AM
Re: 8.0.15: build problem with ANTLR
1963
February 21, 2019 02:11AM
1507
February 21, 2019 02:33AM
2064
February 21, 2019 04:55AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.