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 and now I have another problem. I make an RPM package and use this:

%cmake \
-DANTLR4_LIBRARY=%_builddir/%name-%version/ANTLR-CPP/dist \

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

Written By
February 18, 2019 12:19PM
Re: 8.0.15: build problem with ANTLR
February 21, 2019 02:11AM
February 21, 2019 04:55AM

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.