{"id":1251,"date":"2008-11-10T11:01:16","date_gmt":"2008-11-10T11:01:16","guid":{"rendered":"http:\/\/coalface.mcslp.com\/?p=166"},"modified":"2008-11-10T11:01:16","modified_gmt":"2008-11-10T11:01:16","slug":"compiling-mysql-workbench-on-gentoo","status":"publish","type":"post","link":"https:\/\/planet.mcb.guru\/?p=1251","title":{"rendered":"Compiling MySQL Workbench on Gentoo"},"content":{"rendered":"<p>The Workbench team have just announced the release of <a href=\"http:\/\/dev.mysql.com\/workbench\/?page_id=152\">Workbench for Linux<\/a>, including binary packages and source packages with instructions on how to build. <\/p>\n<p>I&#8217;m a Gentoo Linux user, so I prefer building from source, and you&#8217;ll need to <code>emerge<\/code> the following packages (and note the <code>USE<\/code>) requirement as part of the source build process:<\/p>\n<blockquote><pre># USE=\"svg\" emerge libzip libxml2 libsigc++ \\\n    libglade libgtksourceviewmm media-libs\/glut mysql lua \\\n    ossp-uuid libpcre libgnome gtk+ pango cairo\n<\/pre>\n<\/blockquote>\n<p>Depending on your config and platform, you may need to bypass some package masking by adding the packages to your <code>\/etc\/portage\/package.keywords<\/code> file. <\/p>\n<p>Then download and install the <code>ctemplate<\/code> library from <a href=\"http:\/\/code.google.com\/p\/google-ctemplate\/\">google code page<\/a>. The current Gentoo version is 0.90, and you really should install the 0.91 version. <\/p>\n<p>With the required packages and libraries in place, download the Workbench sources and then build:<\/p>\n<blockquote><pre># cd mysql-workbench-5.1.4alpha\n# .\/autogen.sh\n# make\n# make install<\/pre>\n<\/blockquote>\n<p>That should build and install MySQL Workbench for you. <\/p>\n<p>Just to confirm, here&#8217;s a screenshot of the built Workbench running on Gentoo Linux and displaying to my Mac OS X-based desktop.<br \/>\n<a href=\"http:\/\/coalface.mcslp.com\/wp-content\/uploads\/2008\/11\/picture-2.png\"><img src=\"http:\/\/coalface.mcslp.com\/wp-content\/uploads\/2008\/11\/picture-2-300x213.png\" alt=\"\" title=\"MySQL Workbench on Gentoo\" width=\"300\" height=\"213\" class=\"alignnone size-medium wp-image-168\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Workbench team have just announced the release of Workbench for Linux, including binary packages and source packages with instructions on how to build.<br \/>\nI&#8217;m a Gentoo Linux user, so I prefer building from source, and you&#8217;ll need to emerge the following packages (and note the USE) requirement as part of the source build process:<br \/>\n# [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[36],"_links":{"self":[{"href":"https:\/\/planet.mcb.guru\/index.php?rest_route=\/wp\/v2\/posts\/1251"}],"collection":[{"href":"https:\/\/planet.mcb.guru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/planet.mcb.guru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/planet.mcb.guru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/planet.mcb.guru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1251"}],"version-history":[{"count":74,"href":"https:\/\/planet.mcb.guru\/index.php?rest_route=\/wp\/v2\/posts\/1251\/revisions"}],"predecessor-version":[{"id":1333,"href":"https:\/\/planet.mcb.guru\/index.php?rest_route=\/wp\/v2\/posts\/1251\/revisions\/1333"}],"wp:attachment":[{"href":"https:\/\/planet.mcb.guru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/planet.mcb.guru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/planet.mcb.guru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}