Skip to main content

Thread: Howto compile MySQL workbench


first, need build dependencies:

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
then run:
code:
./autogen.sh
if fails, fix errors, , re-run ./configure

if finished successfully, can start compiling mysql-workbench:
code:
make install destdir=/home/<username>/mysql-workbench
you can use parameter -jx, improves build-speed making use of several build-threads (x number of used parallel threads)


then, inside supplied output directory, change /usr/local/bin startup mysql workbench this:
code:
./mysql_workbench

note if error message,
stricmp not found / not defined
you have replace stricmp strcasecmp.

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:
code:
sudo apt-get install python-pysqlite2 python-paramiko libctemplate0
and afterwards install mysql-workbench
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

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support