2
I was trying to compile mysql-workbench from source (since mysql's fedora 21 repo still doesn't have it). Installed all the dependencies as recommended in many online sources. Currently i'm stuck at the following error message and not sure how to proceed. Can someone please help me out?
[root@localhost wb-build]# cmake .. -DBUILD_CONFIG=mysql_release
-- C/C++ version 1.1.4+: TRUE
-- C/C++ version 1.1.5+: 1
Found iodbc, using it as ODBC library.
- checking for module 'gnome-keyring-1'
-- package 'gnome-keyring-1' not found
-- checking for module 'gnome-keyring'
-- package 'gnome-keyring' not found
Using bundled Antlr C runtime
Generating mysql.parser files...
The antlr-3.4-complete.jar file could not be found.
Please make sure that linux-res is in /home/sherzodr/Downloads or add the ANTLR_JAR_PATH enviroment variable with the path to the file.
You'll also need Java Runtime Enviroment installed, so the parser files can be regenerated.
CMake Error at library/mysql.parser/grammar/CMakeLists.txt:9 (message):
Generating mysql.parser files failed with result='1'
-- Configuring incomplete, errors occurred!
By the way, I also tried to install Fedora 20 rpm and a RedHat package; they both install fine, but the result set are empty. So re-compiling from source is the only option i have.
Thank you
Brady, thank you, you got me one step closer. I reached the "make" step. But while it was generating the MySQLLexer.c.o object it went awry: [ 7%] Building C object library/mysql.parser/CMakeFiles/mysqlparser.dir/MySQLLexer.c.o /home/sherzodr/Downloads/mysql-workbench-community-6.2.4-src/library/mysql.parser/MySQLLexer.c:15976:45: error: ‘_empty’ undeclared here (not in a function) dfa11_T1, dfa11_T2, dfa11_T3, dfa11_T4, _empty, _empty, dfa11_T0, dfa11_T4, – sherzodr – 2015-01-18T08:41:23.723