Firebird News

Wednesday, September 16, 2009

Compiling #mysql #workbench 5.1.x on #ubuntu #debian #Linux

At this time 5.1.19 is available on download link 

wget http://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-gpl-5.1.19-src.tar.gz/from/http://mysql.mirrors.pair.com/ -O mysql-workbench-gpl-5.1.19-src.tar.gz

tar -zxvf mysql-workbench-oss-5.1.19.tar.gz
cd mysql-workbench-oss-5.1.19/
sudo apt-get install libzip-dev libsigc++-2.0-dev libglade2-dev libgtkmm-2.4-dev
libgnome2-dev uuid-dev lua5.1 liblua5.1-0-dev libpcre3-dev




 ./autogen.sh
make -j2
sudo make install

2 comments:

andresf said...

Additionally there are some required libraries:

libmysqlclient-dev
libgl1-mesa-dev
libboost-dev

Hobson said...

Don't forget to apply the patches for Ubuntu 11.10, but only if you're installing the latest MWB 5.2.35 (not 5.1.19). After downloading and extracting the mysql workbench source code, before building (make) do the following:

cd ~/src
wget http://bugs.mysql.com/file.php?id=17639 -O mysql-workbench-gpl-5.2.35-src/mwb_5.2.35_on_ubuntu_oneiric_11.10.patch
cd mysql-workbench-gpl-5.2.35-src
patch --verbose -p0 < mwb_5.2.35_on_ubuntu_oneiric_11.10.patch


For more info see:
- bug report: http://bugs.mysql.com/bug.php?id=62347
- mysql WB blog: http://wb.fabforce.eu/
- my blog: http://sail-australis.blogspot.com/

And if you get tired of coding and want to escape from it all, we're selling our boat (see http://totalgood.com).