{"id":1045,"date":"2008-09-20T03:46:09","date_gmt":"2008-09-20T08:46:09","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/?p=1045"},"modified":"2008-09-22T11:09:53","modified_gmt":"2008-09-22T16:09:53","slug":"workbench-on-linux","status":"publish","type":"post","link":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/20\/workbench-on-linux","title":{"rendered":"Workbench on Linux"},"content":{"rendered":"<p>I had the pleasure of sitting right across the MySQL GUI Tools Team, and decided to try my hand at Workbench (<a href=\"http:\/\/dev.mysql.com\/workbench\/?p=153\">Workbench for Linux<\/a>, that is). Congratulations to the entire team for the great work! I am <i>excited<\/i>.<\/p>\n<p>First up, the things you need on Ubuntu 8.04 (I created a fresh install, and installed all the updates), if you&#8217;re downloading the binary:<\/p>\n<ul>\n<li>liblua5.1-0<\/li>\n<li>libglitz1<\/li>\n<li>libzip1<\/li>\n<li>libmysqlclient15off<\/li>\n<li>mysql-common<\/li>\n<li>libglitz-glx1<\/li>\n<\/ul>\n<p><center><br \/>\n<a href=\"http:\/\/www.flickr.com\/photos\/byte\/2872316874\/\" title=\"Workbench on Ubuntu 8.04 by byte, on Flickr\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/farm4.static.flickr.com\/3193\/2872316874_93fa71a8b3.jpg?resize=500%2C307\" width=\"500\" height=\"307\" alt=\"Workbench on Ubuntu 8.04\" data-recalc-dims=\"1\" \/><\/a><br \/>\n<small>Workbench on Linux<\/small><br \/>\n<\/center><\/p>\n<p>It works. It starts up. Its exciting. Of course, when I try to edit a table name or even create a table, it fails by segmentation fault. Segfaults are annoying&#8230; so the best way to debug it, is of course to run <tt>catchsegv<\/tt>. After running <tt>catchsegv .\/mysql-workbench 2>&1 >crashlog<\/tt>, I sent it over to Alfredo for him to debug.<\/p>\n<p>Of course, as luck would have it, the build ships stripped binaries, so the segfaults can&#8217;t be debugged. Grr. Nevermind, I decided its time to build it (warm thanks to the Workbench team for staying around till like 7.30pm at the meeting room). As a consequence, Alfredo managed to also update the <a href=\"http:\/\/dev.mysql.com\/workbench\/?page_id=152\">Linux Build Instructions<\/a> page as we had learned some things along the way.<\/p>\n<p>I built glitz, pixman and cairo from freedekstop.org (when building cairo, remember to do it as such: <tt>.\/configure --enable-glitz<\/tt>), but from what I gather, this is now available via Ubuntu 8.04 and is sufficient. So the build dependencies are all in Ubuntu, which is useful (in terms of building a shippable DEB). The only thing that isn&#8217;t available in a packaged form is <a href=\"http:\/\/code.google.com\/p\/google-ctemplate\/\">Google&#8217;s ctemplate library<\/a>. I notice the instructions now don&#8217;t mention installing a few more packages I installed on Ubuntu (I&#8217;m not even sure now if they&#8217;re a hard dependency or not, I&#8217;ll check later). But if something fails, install <tt>libproc-dev libXtst-dev libdnet libdnet-dev<\/tt>. <\/p>\n<p>Like magic, I can now edit and create tables, draw them even. No crashes, its pretty stable for an <b>alpha<\/b> release (provided you&#8217;re using a version you build!). I expect a healthy continuos release cycle, so if you encounter a bug today, it might be fixed before you know it&#8230; Of course, this doesn&#8217;t discount you from being good friends with our bugs system at <a href=\"http:\/\/bugs.mysql.com\/\">http:\/\/bugs.mysql.com\/<\/a>. <\/p>\n<p>My short term plan to assist Workbench on Linux:<\/p>\n<ul>\n<li>Get it building on Fedora<\/li>\n<li>There&#8217;s a patch floating around for OpenSUSE, get it building there too<\/li>\n<li>Package DEBs and RPMs<\/li>\n<li>Try to include missing packages (like google-ctemplate) upstream<\/li>\n<\/ul>\n<p>Oh, if you have issues, hop on to IRC on freenode, and join #workbench. Sure, there won&#8217;t be great answers in the next week or so (while we&#8217;re all busy at the developers meeting), but usually there&#8217;s always someone awake on that channel.<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20Workbench%20on%20Linux&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2008%2F09%2F20%2Fworkbench-on-linux&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"f295467c32\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/20\/workbench-on-linux?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-1045\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/20\/workbench-on-linux?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-1045\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/20\/workbench-on-linux?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-1045\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/20\/workbench-on-linux?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>I had the pleasure of sitting right across the MySQL GUI Tools Team, and decided to try my hand at Workbench (Workbench for Linux, that is). Congratulations to the entire team for the great work! I am excited. First up, the things you need on Ubuntu 8.04 (I created a fresh install, and installed all [&hellip;]<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20Workbench%20on%20Linux&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2008%2F09%2F20%2Fworkbench-on-linux&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"f295467c32\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/20\/workbench-on-linux?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-1045\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/20\/workbench-on-linux?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-1045\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/20\/workbench-on-linux?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-1045\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/20\/workbench-on-linux?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_options":[]},"categories":[23],"tags":[505,1775,504,15,503],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4vJD-gR","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1054,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/21\/workbench-511-alpha-on-fedora-9","url_meta":{"origin":1045,"position":0},"title":"workbench-5.1.1-alpha on Fedora 9","date":"21\/9\/2008","format":false,"excerpt":"So, you want to compile Workbench for Linux, on Fedora 9. You need to install the following packages: autoconf automake libtool libzip-devel libxml2-devel libsigc++20-devel libglade2-devel gtkmm24-devel mesa-libGLU-devel mysql-libs mysql mysql-devel uuid-devel lua-devel glitz-devel glitz-glx-devel pixman-devel pcre-devel libgnome-devel gtk+-devel pango-devel cairo I feel I'm being too liberal with dependencies, but I'm\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":673,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/27\/workbench-beta-adventure-on-linux-with-monowine","url_meta":{"origin":1045,"position":1},"title":"Workbench beta adventure on Linux with Mono\/WINE","date":"27\/11\/2007","format":false,"excerpt":"MySQL Workbench has a beta out! No idea why its version 5.0.9, but its highly exciting. This software existed before, but this is quite unlike its predecessor. One snag for me is that it is Windows-only at the moment, with Linux and OS X versions to follow suit.However, due to\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":764,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/04\/06\/mysql-on-leopard-os-x-105-prefpane-fixed","url_meta":{"origin":1045,"position":2},"title":"MySQL on Leopard OS X 10.5 PrefPane fixed!","date":"6\/4\/2008","format":false,"excerpt":"A few months ago, I wrote about the issues you will face with installing MySQL on OS X 10.5, Leopard. I am pleased to inform everyone, that this problem has been fixed!The bug in question, mysql#28854, clearly stated that the problem was with the PrefPane. On Valentine's Day 2008, Alfredo\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":788,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/04\/15\/keynote-with-marten-mickos-at-mysql-conference-2008","url_meta":{"origin":1045,"position":3},"title":"Keynote with Marten Mickos at MySQL Conference 2008","date":"15\/4\/2008","format":false,"excerpt":"Live blogging from Marten Mickos' (SVP Database Group) keynote at the MySQL Conference and Expo 2008.Why did Sun acquire us?The culture and the vision. Biggest match with Sun. \"Network is the computer\" and \"Best Online Database\". Great affinity.Its a 1 billion dollar vote for the LAMP stack.Integrating better with OpenOffice.org,\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":860,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/07\/16\/our-booth-is-yours-sun-at-oscon","url_meta":{"origin":1045,"position":4},"title":"Our booth is yours&#8230; Sun at OSCON","date":"16\/7\/2008","format":false,"excerpt":"Its worth noting that MySQL will have a big presence at OSCON 2008. All this, thanks to Sun, as Sun's a fairly big sponsor (Platinum Sponsor), and we've got a humongous booth! There are booth talks, that you must attend! They range from getting started with the MySQL Community, MySQL\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":853,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/07\/07\/malaysia-university-days","url_meta":{"origin":1045,"position":5},"title":"Malaysia University Days","date":"7\/7\/2008","format":false,"excerpt":"Here's a packed schedule. There will be a Sun crew visiting these universities between 16-17 July 2008. Will you be there? Where you'll meet the rock stars: Wednesday, 16 July 2008, 9am - noon: Multimedia University, Cyberjaya Wednesday, 16 July 2008, 2pm - 5pm: Universiti Teknologi MARA, Shah Alam Thursday,\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"amp_enabled":true,"_links":{"self":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/1045"}],"collection":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=1045"}],"version-history":[{"count":4,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/1045\/revisions"}],"predecessor-version":[{"id":1059,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/1045\/revisions\/1059"}],"wp:attachment":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=1045"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=1045"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=1045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}