Thread: Howto compile MySQL workbench
first, need build dependencies:
then run:code:sudo apt-get install build-essential autoconf automake libtool libzip-dev libxml2-dev libsigc++-2.0-dev libglade2-dev libgtkmm-2.4-dev libgl1-mesa-dev libmysqlclient16-dev uuid-dev liblua5.1-dev libpcre3-dev g++ libgnome2-dev libgtk2.0-dev libpango1.0-dev libcairo2-dev sqlite3-dev python-dev libboost-dev libctemplate-dev
if fails, fix errors, , re-run ./configurecode:./autogen.sh
if finished successfully, can start compiling mysql-workbench:
you can use parameter -jx, improves build-speed making use of several build-threads (x number of used parallel threads)code:make install destdir=/home/<username>/mysql-workbench
then, inside supplied output directory, change /usr/local/bin startup mysql workbench this:
code:./mysql_workbench
note if error message,
you have replace stricmp strcasecmp.stricmp not found / not defined
note if didn't on purpose compile old version of mysql-workbench, can stop now. take source of alpha release, because stable 1 doesn't yet give opportunity database.
go to:
mysql-workbench-gpl-5.1.19-src/library/grt/src/diff/grtdiff.cpp
, replace stricmp strcasecmp. there 1 occurence.
or go page:
http://dev.mysql.com/downloads/workbench/5.2.html
download mysql-workbench-gpl-5.2.34-1ubu1010-i386.deb
(whatever correct version os)
do:
and afterwards install mysql-workbenchcode:sudo apt-get install python-pysqlite2 python-paramiko libctemplate0
code:sudo dpkg -i mysql-workbench-gpl-5.2.34-1ubu1010-i386.deb
Forum The Ubuntu Forum Community Other Discussion and Support Tutorials Outdated Tutorials & Tips Howto compile MySQL workbench
Ubuntu
Comments
Post a Comment