MySQL Forums
Forum List  »  MySQL Workbench

Re: 8.0.15: build problem with ANTLR
Posted by: Sergey Afonin
Date: February 21, 2019 02:11AM

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".

Options: ReplyQuote


Subject
Views
Written By
Posted
179
February 18, 2019 12:19PM
Re: 8.0.15: build problem with ANTLR
76
February 21, 2019 02:11AM


Sorry, only registered users may post in this forum.

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.