Hi all,
I've been trying to install Workbench 6.1.6 from source on Ubuntu Linux 14.04 LTS on an AMD_64 machine, but I keep getting the error at the bottom of this post. The problem appears to stem from the compiler not finding a VSQLite-- file, result.hpp.
I have been modifying my .bashrc (again, see relevant lines below) but I'm just blindly adding directories to $PATH, $LD_LIBRARY_PATH and $LD_RUN_PATH.
Here's m cmake command
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=DCMAKE_INSTALL_PREFIX:PATH=/home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/installdir/in -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CC_COMPILER=gcc -DVSQLITE_INCLUDE_DIR=/home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/installdir/in
Could anybody tell me what I'm doing wrong and where to place which particular directory in which particular environmental variable. An explanation of what's going on would also be gratfully received.
TIA and rgs,
Paul...
===== current contents of .bashrc (relevant bits) =========
export PATH=/home/pol/Downloads/c_cpp/workbench/vsqlite---master/installdir/lib:$PATH
export PATH=/home/pol/Downloads/c_cpp/workbench/vsqlite---master/installdir/include/sqlite:$PATH
export PATH=/home/pol/Downloads/c_cpp/workbench/vsqlite---master/include/sqlite:$PATH
export LD_LIBRARY_PATH=/home/pol/Downloads/c_cpp/workbench/vsqlite---master/installdir/include/sqlite:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/home/pol/Downloads/c_cpp/workbench/vsqlite---master/include/sqlite:$PATH
export LD_RUN_PATH=/home/pol/Downloads/c_cpp/workbench/sqlite/sqlite-autoconf-3080500/instdir/lib:$LD_RUN_PATH
export LD_RUN_PATH=/home/pol/Downloads/c_cpp/workbench/vsqlite---master/include/sqlite
===== Running make install - it gets to 45% and then fails===
[ 45%] Building CXX object backend/wbpublic/CMakeFiles/wbpublic.dir/grtdb/diff_dbobjectmatch.cpp.o
In file included from /home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/backend/wbpublic/./grtsqlparser/sql_specifics.h:26:0,
from /home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/backend/wbpublic/./grtsqlparser/sql_facade.h:31,
from /home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/backend/wbpublic/grtdb/diff_dbobjectmatch.h:28,
from /home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/backend/wbpublic/grtdb/diff_dbobjectmatch.cpp:31:
/home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/backend/wbpublic/./sqlide/sqlide_generics.h:25:29: fatal error: sqlite/result.hpp: No such file or directory
#include <sqlite/result.hpp>
^
compilation terminated.
make[2]: *** [backend/wbpublic/CMakeFiles/wbpublic.dir/grtdb/diff_dbobjectmatch.cpp.o] Error 1
make[1]: *** [backend/wbpublic/CMakeFiles/wbpublic.dir/all] Error 2
make: *** [all] Error 2
pol@Pol-laptop:~/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/installdir$
I've been trying to install Workbench 6.1.6 from source on Ubuntu Linux 14.04 LTS on an AMD_64 machine, but I keep getting the error at the bottom of this post. The problem appears to stem from the compiler not finding a VSQLite-- file, result.hpp.
I have been modifying my .bashrc (again, see relevant lines below) but I'm just blindly adding directories to $PATH, $LD_LIBRARY_PATH and $LD_RUN_PATH.
Here's m cmake command
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=DCMAKE_INSTALL_PREFIX:PATH=/home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/installdir/in -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CC_COMPILER=gcc -DVSQLITE_INCLUDE_DIR=/home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/installdir/in
Could anybody tell me what I'm doing wrong and where to place which particular directory in which particular environmental variable. An explanation of what's going on would also be gratfully received.
TIA and rgs,
Paul...
===== current contents of .bashrc (relevant bits) =========
export PATH=/home/pol/Downloads/c_cpp/workbench/vsqlite---master/installdir/lib:$PATH
export PATH=/home/pol/Downloads/c_cpp/workbench/vsqlite---master/installdir/include/sqlite:$PATH
export PATH=/home/pol/Downloads/c_cpp/workbench/vsqlite---master/include/sqlite:$PATH
export LD_LIBRARY_PATH=/home/pol/Downloads/c_cpp/workbench/vsqlite---master/installdir/include/sqlite:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/home/pol/Downloads/c_cpp/workbench/vsqlite---master/include/sqlite:$PATH
export LD_RUN_PATH=/home/pol/Downloads/c_cpp/workbench/sqlite/sqlite-autoconf-3080500/instdir/lib:$LD_RUN_PATH
export LD_RUN_PATH=/home/pol/Downloads/c_cpp/workbench/vsqlite---master/include/sqlite
===== Running make install - it gets to 45% and then fails===
[ 45%] Building CXX object backend/wbpublic/CMakeFiles/wbpublic.dir/grtdb/diff_dbobjectmatch.cpp.o
In file included from /home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/backend/wbpublic/./grtsqlparser/sql_specifics.h:26:0,
from /home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/backend/wbpublic/./grtsqlparser/sql_facade.h:31,
from /home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/backend/wbpublic/grtdb/diff_dbobjectmatch.h:28,
from /home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/backend/wbpublic/grtdb/diff_dbobjectmatch.cpp:31:
/home/pol/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/backend/wbpublic/./sqlide/sqlide_generics.h:25:29: fatal error: sqlite/result.hpp: No such file or directory
#include <sqlite/result.hpp>
^
compilation terminated.
make[2]: *** [backend/wbpublic/CMakeFiles/wbpublic.dir/grtdb/diff_dbobjectmatch.cpp.o] Error 1
make[1]: *** [backend/wbpublic/CMakeFiles/wbpublic.dir/all] Error 2
make: *** [all] Error 2
pol@Pol-laptop:~/Downloads/c_cpp/workbench/mysql-workbench-community-6.1.6-src/installdir$