Results 1 to 2 of 2

Thread: Howto compile MySQL workbench

  1. #1
    Join Date
    Feb 2008
    Location
    readlink("/proc/self/exe"
    Beans
    1,120
    Distro
    Ubuntu Development Release

    Wink Howto compile MySQL workbench

    First, you need all the 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 you run:
    Code:
    ./autogen.sh
    If it fails, fix the errors, and re-run ./configure

    If it finished successfully, you can start compiling MySQL-Workbench:
    Code:
    make install DESTDIR=/home/<username>/mysql-workbench
    You can also use the parameter -jX, which improves build-speed by making use of several build-threads (X is the number of to be used parallel threads)


    Then, inside your supplied output directory, change to /usr/local/bin startup MySQL Workbench like this:
    Code:
    ./mysql_workbench
    In a world without walls and fences, who needs Windows and Gates?
    Linux is like a wigwam.... no Gates, no Windows but Apache inside!
    http://www.debianadmin.com
    apt-get install libstdc++6-4.3-doc

  2. #2
    Join Date
    Feb 2008
    Location
    readlink("/proc/self/exe"
    Beans
    1,120
    Distro
    Ubuntu Development Release

    Wink Re: Howto compile MySQL workbench

    Note that if you get a error message, like
    stricmp not found / not defined
    You have to replace stricmp with strcasecmp.

    Note also that if you didn't on purpose compile the old version of mysql-workbench, you can stop now. Take the source of the alpha release, because the stable one doesn't yet give you the opportunity to do anything with your database.



    So you go to:
    mysql-workbench-gpl-5.1.19-src/library/grt/src/diff/grtdiff.cpp
    and replace stricmp with strcasecmp. There is exactly one occurence.


    Or go to this page:
    http://dev.mysql.com/downloads/workbench/5.2.html

    Download mysql-workbench-gpl-5.2.34-1ubu1010-i386.deb
    (whatever is the correct version for your OS)

    Then 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
    Last edited by WitchCraft; July 2nd, 2011 at 09:48 AM.
    In a world without walls and fences, who needs Windows and Gates?
    Linux is like a wigwam.... no Gates, no Windows but Apache inside!
    http://www.debianadmin.com
    apt-get install libstdc++6-4.3-doc

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •