{"id":1054,"date":"2008-09-21T16:27:07","date_gmt":"2008-09-21T21:27:07","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/?p=1054"},"modified":"2008-09-22T07:22:40","modified_gmt":"2008-09-22T12:22:40","slug":"workbench-511-alpha-on-fedora-9","status":"publish","type":"post","link":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/21\/workbench-511-alpha-on-fedora-9","title":{"rendered":"workbench-5.1.1-alpha on Fedora 9"},"content":{"rendered":"<p>So, you want to compile Workbench for Linux, on Fedora 9. You need to install the following packages:<\/p>\n<blockquote><p>\n<tt><br \/>\nautoconf 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<br \/>\n<\/tt>\n<\/p><\/blockquote>\n<p>I feel I&#8217;m being too liberal with dependencies, but I&#8217;m not about to strip it, I just want to get it working first :)<\/p>\n<p>You need to have <tt>ctemplate<\/tt> and <tt>ctemplate-devel<\/tt> installed from <tt>updates-testing-newkey<\/tt> (<a href=\"http:\/\/koji.fedoraproject.org\/koji\/buildinfo?buildID=61910\">relevant koji build log<\/a>).<\/p>\n<p>By default, configure.in in Workbench looks for &#8220;google-ctemplate&#8221;, as opposed to just &#8220;ctemplate&#8221; as Fedora calls it. You can fix this (easy), or &#8220;cheat&#8221; &#8211; in \/usr\/local\/include you can do sudo ln -s \/usr\/include\/ctemplate google. Take your pick.<\/p>\n<p>Now for the fun. Fedora includes gcc-4.3. Ubuntu ships gcc-4.2. Let&#8217;s just say gcc-4.3 got stricter (its C++ <a href=\"http:\/\/gcc.gnu.org\/onlinedocs\/libstdc++\/manual\/api.html#api.rel_430\">header dependency streamlining<\/a> related). So strict, they have a useful <a href=\"http:\/\/gcc.gnu.org\/gcc-4.3\/porting_to.html\">porting to gcc-4.3<\/a> guide. Just FYI, I believe OpenSUSE is also shipping a more modern GCC (I expect the next Ubuntu release in the coming month to do the same).<\/p>\n<p>So, start getting used to doing the following in files that lead the compiler to fail:<\/p>\n<ul>\n<li>#include &lt;cstring&gt;<\/li>\n<li>#include &lt;algorithm&gt;<\/li>\n<li>#include &lt;memory&gt;<\/li>\n<li>#include &lt;climits&gt;<\/li>\n<li>#include &lt;cstdlib&gt;<\/li>\n<\/ul>\n<p>This will help get rid of error messages like: <tt>error: 'memset' was not declared in this scope<\/tt>. This stuff is already fixed in trunk (or the patch is being applied).<\/p>\n<p>You will need to pick up <tt>cairo<\/tt> from source. Why? Because <tt>--enable-glitz<\/tt> isn&#8217;t on by default in the RPM spec file (similar with Ubuntu). The glitz backend is apparently still a release preview and doesn&#8217;t fully work yet. (I have spoken to Alfredo, and he says he&#8217;s just removed the requirement on glitz in trunk).<\/p>\n<p>Now, once you&#8217;ve built cairo with glitz, before running .\/autogen.sh, do: <tt>export PKGCONFIG_PATH=\/usr\/local\/lib\/pkgconfig<\/tt>. Then go ahead and make it.<\/p>\n<p>There are still plenty of warnings that spew by. I have this vague idea that once Workbench for Linux sits on Launchpad, we&#8217;ll run a janitorial tree that fixes warnings in the code. A great way to garner community contributions!<\/p>\n<p>Anyway, a lot of this is either fixed or patches will be applied to trunk. I expect a mysql-workbench-5.1.2-alpha out sooner than you think to eclipse 5.1.1-alpha. Again, superb work Alfredo (and MikeZ and the rest of the GUI team).<\/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-5.1.1-alpha%20on%20Fedora%209&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2008%2F09%2F21%2Fworkbench-511-alpha-on-fedora-9&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=\"c3009aa135\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/21\/workbench-511-alpha-on-fedora-9?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-1054\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/21\/workbench-511-alpha-on-fedora-9?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-1054\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/21\/workbench-511-alpha-on-fedora-9?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-1054\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/21\/workbench-511-alpha-on-fedora-9?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>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&#8217;m being too liberal with dependencies, but I&#8217;m not about to strip it, [&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-5.1.1-alpha%20on%20Fedora%209&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2008%2F09%2F21%2Fworkbench-511-alpha-on-fedora-9&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=\"c3009aa135\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/21\/workbench-511-alpha-on-fedora-9?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-1054\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/21\/workbench-511-alpha-on-fedora-9?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-1054\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/21\/workbench-511-alpha-on-fedora-9?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-1054\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/21\/workbench-511-alpha-on-fedora-9?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":[2,518,505,1775,504,503],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4vJD-h0","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2708,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2013\/04\/30\/testing-fedora-19","url_meta":{"origin":1054,"position":0},"title":"Testing Fedora 19","date":"30\/4\/2013","format":false,"excerpt":"Today I downloaded Fedora 19 alpha to give it a spin. Some quick notes. You can get MySQL by asking for the package community-mysql-server. This is 5.5.31. If you ask for stock \"mysql\" (i.e. yum install mysql-server), you automatically get MariaDB 5.5.30 (mariadb-server). Fedora 19 runs systemd, so there is\u2026","rel":"","context":"In &quot;MariaDB&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2743,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2013\/06\/11\/homebrew-mac-os-x-and-mariadb-10-0-series","url_meta":{"origin":1054,"position":1},"title":"Homebrew (Mac OS X) and MariaDB 10.0 series","date":"11\/6\/2013","format":false,"excerpt":"Today I performed a brew update. I noticed that MariaDB now exists as stable (5.5.30) and devel (10.0.2). Brew formulas also exist for MySQL (5.6.10) and Percona Server (5.5.30-30.2) now. 10.0.3 is around the corner but I wanted to run 10.0.2 now. This is how I did it: brew unlink\u2026","rel":"","context":"In &quot;MariaDB&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1336,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2009\/02\/19\/kde-42-brings-the-mysql-server-to-the-desktop","url_meta":{"origin":1054,"position":2},"title":"KDE 4.2 brings the MySQL server to the desktop","date":"19\/2\/2009","format":false,"excerpt":"If you're using Fedora 10, and are a KDE desktop user, you'll notice that your latest KDE 4.2 update, requires having a local MySQL server installed. This is due to Akonadi, part of the KDE PIM packages, that now rely on MySQL as a default server, for storing PIM data.\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":638,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/10\/10\/rpm-q-changelog-in-debian-on-irc-or-adventures-in-the-land-of-ubuntu","url_meta":{"origin":1054,"position":3},"title":"rpm -q &#8211;changelog in Debian | on IRC (or adventures in the land of #ubuntu)","date":"10\/10\/2007","format":false,"excerpt":"Today, I had a problem. I'd been used to doing rpm -q --changelog <packagename> and generally piping that through less. I sat at a Ubuntu terminal, and wondered how to do this. Poring through the man pages for apt-get or even dpkg, proved worthless. So, I hopped on to #ubuntu\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":144,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2004\/05\/29\/another-day-another-review","url_meta":{"origin":1054,"position":4},"title":"Another day, another review","date":"29\/5\/2004","format":false,"excerpt":"This time, it's Ken Barber's review ofopinion piece on Fedora Core 2. For Linux.com to publish this sort of drivel, scares me. Most of the useful comments state it all, but something caught me: It is bleeding-edge technology that will become mainstream in a year or so, and as such\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":480,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/03\/03\/do-domains-after-your-alias-matter","url_meta":{"origin":1054,"position":5},"title":"Do domains after your alias matter?","date":"3\/3\/2007","format":false,"excerpt":"Today I saw an interesting opinion posted on a mailing list. I'll quote from the fedora-list post:What folks say here cant be taken as Fedora toting anything. It is just some user opinions. Some of those \"user opinions\" came from @redhat.com addresses, I actually don't take any notice of @anydomain.blah\u2026","rel":"","context":"In &quot;General&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\/1054"}],"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=1054"}],"version-history":[{"count":4,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/1054\/revisions"}],"predecessor-version":[{"id":1058,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/1054\/revisions\/1058"}],"wp:attachment":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=1054"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=1054"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=1054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}