Home |  MySQL Buzz |  FAQ |  Feeds |  Submit your blog feed |  Feedback |  Archive |  Aggregate feed RSS 2.0 English Deutsch Español Français Italiano 日本語 Русский Português 中文
Showing entries 1 to 23

Displaying posts with tag: build (reset)

Building MySQL with boost on windows
Employee +0 Vote Up -0Vote Down

As you've probably heard already MySQL needs boost to build.

However, in the good ol' MySQL tradition, the above link does give you only the instructions on how to build it on linux. And completely ignores the fact that there're other OSes too that people develop on.

To fill in that gap, I've compiled a small step by step guide on how to do it on windows. Note that I always, as a principle, build out-of-source.

The typical setup I have is :

bzr clone lp:~mysql/mysql-server/5.7 mysql-trunk
cd mysql-trunk
mkdir bld
cd bld
cmake -DWITH_DEBUG=1 -DMYSQL_PROJECT_NAME=mysql-trunk ..
devenv /build debug mysql-trunk.sln

This has been tested to work on a 32 bit compile using VS2013 on a Windows7 64







  [Read more...]
WebScaleSQL RPMs for CentOS 6
+0 Vote Up -0Vote Down

Looks like this post was rather unclear. See the bottom for how to build the rpms quickly.

WebScaleSQL was announced last week. This looks like a good thing for MySQL as it provides a buildable version of MySQL which includes multiple patches from Facebook, Google, LinkedIn, and Twitter needed by large users of MySQL, patches which have not been incorporated into the upstream source tree.  Making this more visible will possibly encourage more of these patches to be brought into the code sooner.

The source is provided as a git repo at https://github.com/webscalesql/webscalesql-5.6 and as detailed at http://webscalesql.org/faq.html the documentation says there is currently no

  [Read more...]
Building MySQL with Boost
Employee_Team +1 Vote Up -0Vote Down

We have a new April labs release that you can download from labs.mysql.com. There are more labs releases. Please try them all, but for now let’s focus on the one called “MySQL GIS, InnoDB R-tree, Parser Refactoring”.

The release contains InnoDB R-trees, the first step of our new GIS implementation, a refactored and faster parser and improved condition filtering cost calculations. You can download and run the binaries just like before, but if you want to build it from source, there are some details you should know. Otherwise you may fail to build MySQL (bug #72172).

This labs release requires Boost to build. Specifically, it requires Boost 1.55. But don’t go running off to boost.org looking for the latest tarball just yet — there’s no need for that. The MySQL

  [Read more...]
Oracle introduces new levels of sucking to new versions of old software
+18 Vote Up -3Vote Down

The latest version of Sun Studio, which is a terrible name for something which is a compiler and not an IDE, which has now been re-titled Solaris Studio in an attempt to underscore even more its general uselessness, has added a new antifeature to its installer.

It requires X.

You know one of the things that makes MySQL better than Oracle? You can install it in 5 minutes and you don't have to launch a Java GUI.

You know when it makes sense to launch a Java GUI to install server software?

NEVER

EPIC FAIL 

Jenkins slave running Windows
+1 Vote Up -1Vote Down

When you rely on something like Jenkins to help manage your project, if you don't have a feature regularly tested in it, that feature often bitrots pretty quickly. This was the case for our Windows compile of libdrizzle. It worked months ago, but then some folks tried it recently and, well - not so much with the working. That meant I had to do three things this weekend:

 

  • Get the Windows machine that was sitting at my old office powered off and actually plug it in in my new office
  • Fix the build
  • Connect that machine to Jenkins
  •  

    I'm happy to report all three are done, and we now have a Jenkins slave building libdrizzle on every push. I believe I should also be able to build the client programs, so I'll add them soon - and then it's only a few steps away from having Jenkins produce an msi or something that people can download.

    In case you're

      [Read more...]
    libdrizzle in Visual Studio
    +2 Vote Up -0Vote Down

    Thanks to Jobin's work with mingw and getting libdrizzle to compile on Windows at all, I have been able to get it working in Visual Studio natively. The code is in trunk now.

    The approach I took, which is how I'm going to approach Windows and Visual Studio for all of our stuff, is to not worry with analogues to things like configure on Windows. Windows is a very different platform from Linux, and there is no need to attempt to duplicate Linux process there. To that end, the goal at least for now will be static VS Solution files and a set of instructions of how to get depends installed so that the Solution can find them. 

    I'm excited to start poking at Garrett Serack's CoApp Project, which has some tools do do tracing of things like make to help with the

      [Read more...]
    libdrizzle - now with windows
    +4 Vote Up -0Vote Down

    Recently, Jobin took up the mantle of starting to poke at Windows support for Drizzle. We decided that step 1 is getting libdrizzle building on Windows - not to mention we could solve a few systemic "how to go about it" problems on a much simpler codebase.

    We decided to go the mingw route - for two reasons.

     

  • on windows we wouldn't have to solve the build problem yet
  • on linux we can cross-compile, and then I can spend less time connecting to a windows machine 
  •  

    I'm happy to say that the branch implementing support for building under mingw has been merged in to trunk - so please go hammer at it and tell me that I'm an idiot.

    If you're on linux and want to play, you'll need mingw32 and mingw32-pthread. You may notice that mingw-pthread

      [Read more...]
    building MySQL 5.5 with cmake
    +6 Vote Up -0Vote Down
    Yesterday I was testing a branch of MySQL 5.5 to help a colleague, and I was set aback at discovering that, with the default build options, the server did not include the Archive engine.
    In other times, I would have to dig into the build scripts or to examine the output of ./configure --help, but that is no longer necessary. MySQL 5.5 is built using cmake, the cross platform make.
    Why does this change make me feel better? Because cmake configuration is more user friendly than the old autoconf/automake/libtools horror syntax. Not only that, but there is a GUI!
    I am a command line guy, as you probably know, but when the purpose of a GUI


      [Read more...]
    1.0.0 RC1 release available
    +3 Vote Up -0Vote Down


    We are pleased and excited to announce the availability of 1.0.0 Release Candidate 1 of InfiniDB Community Edition.  This is our initial release candidate and is not recommended for production work.

    This release includes a number of bug fixes that you can see at http://bugs.launchpad.net/infinidb.  We will continue with weekly releases this month marching towards our GA release in early February.  You can download the latest InfiniDB binaries, source code, aRead More...

    1.0.0 RC1 release available
    +0 Vote Up -0Vote Down


    We are pleased and excited to announce the availability of 1.0.0 Release Candidate 1 of InfiniDB Community Edition.  This is our initial release candidate and is not recommended for production work.

    This release includes a number of bug fixes that you can see at http://bugs.launchpad.net/infinidb.  We will continue with weekly releases this month marching towards our GA release in early February.  You can download the latest InfiniDB binaries, source code, aRead More...

    0.9.5.4 beta release available
    +3 Vote Up -0Vote Down

    We are pleased to announce the availability of the 0.9.5.4 beta release of InfiniDB Community Edition.  This is our second beta release and is not recommended for production work.

    This release includes a number of bug fixes that you can see at http://bugs.launchpad.net/infinidb.  Here are a few items of note that we have included in this release after valuable feedback from the community:



    Increased maximum length allowed for char and varchar colRead More...
    0.9.5.4 beta release available
    +0 Vote Up -0Vote Down

    We are pleased to announce the availability of the 0.9.5.4 beta release of InfiniDB Community Edition.  This is our second beta release and is not recommended for production work.

    This release includes a number of bug fixes that you can see at http://bugs.launchpad.net/infinidb.  Here are a few items of note that we have included in this release after valuable feedback from the community:



    Increased maximum length allowed for char and varchar colRead More...
    On the other hand, Google doesn't seem to know how package management works
    +2 Vote Up -0Vote Down

    Even the most casual of acquaintances knows that I really, really hate software that doesn't understand how we do things out here in the Open Source world. We have tools, really amazing ones, called ... "Package Managers" which allow us to "Install" software and describe the "Relationships" between elements. Apparently they can't seem to figure out how to deal with software dependencies and instead they opt for the "copy into tree and fork" method:

    Google is forking existing FOSS code bits for Chromium like a rabbit makes babies: frequently, and usually, without much thought. Rather than leverage the existing APIs from upstream projects like icu, libjingle, and sqlite (just to name a few), they simply fork a point in time of that code and hack their API to shreds for chromium to use. This is akin to much
      [Read more...]
    Where to stick config.h
    +4 Vote Up -0Vote Down

    I keep running in to issues with how folks use config.h, so I thought I'd clear up any confusion folks have. For those who haven't been following along at home, the autotools (i.e. autoconf and autoheader in this case) generate a file called config.h which contains a bunch of defines to help control the build based on what things exist or don't exist on your system. There are two main rules for this file that lots of folks get wrong:

  • config.h should ALWAYS be the first thing included by EVERY non-header C/C++ file in your project.
  • config.h should NEVER NEVER NEVER NEVER NEVER NEVER be installed.
  • Why?

    For the first point, you must ensure that config.h is included first, because it sets behaviors. It must be included before any system headers because it may contain things that control the behavior of the system headers. It must be

      [Read more...]
    0.9.5.3 beta release available
    +0 Vote Up -0Vote Down


    We are pleased to announce the availability of the 0.9.5.3 beta release of InfiniDB Community Edition.  This is our initial beta release and is not recommended for production work.

    This release delivers the final content for our GA release, thus we have moved from an Alpha designation to a Beta designation.  Contents of this release include HAVING clause support and bug fixes that you can see at http://bugs.launchpad.net/Read More...

    MySQL University: Building MySQL Releases on Unix
    Employee +1 Vote Up -0Vote Down

    This Thursday (October 8th, 13:00 UTC), Jörg Brühe will give a talk on Building MySQL Releases on Unix. Jörg will describe the tools used by the MySQL Build Team for release builds on Unix-style platforms, and present a script to simulate the essential parts of that process locally on a developer's home machine. He works at the MySQL Build Team, so you can expect in-depth insights and instructions.

    For MySQL University sessions, point your browser to this page. You need a browser with a working Flash plugin. You may register for a Dimdim account, but


      [Read more...]
    MySQL University: Building MySQL Releases on Unix
    Employee +0 Vote Up -0Vote Down

    This Thursday (October 8th, 13:00 UTC), Jörg Brühe will give a talk on Building MySQL Releases on Unix. Jörg will describe the tools used by the MySQL Build Team for release builds on Unix-style platforms, and present a script to simulate the essential parts of that process locally on a developer's home machine. He works at the MySQL Build Team, so you can expect in-depth insights and instructions.

    For MySQL University sessions, point your browser to this page. You need a browser with a working Flash plugin. You may register for a Dimdim account,


      [Read more...]
    MySQL University: Building MySQL Releases on Unix
    Employee +0 Vote Up -0Vote Down

    This Thursday (October 8th, 13:00 UTC), Jörg Brühe will give a talk on Building MySQL Releases on Unix. Jörg will describe the tools used by the MySQL Build Team for release builds on Unix-style platforms, and present a script to simulate the essential parts of that process locally on a developer's home machine. He works at the MySQL Build Team, so you can expect in-depth insights and instructions.

    For MySQL University sessions, point your browser to this page. You need a browser with a working Flash plugin. You may register for a Dimdim


      [Read more...]
    Hidden tests of the MySQL test suite
    +1 Vote Up -2Vote Down

    Some of you may have run the mysql-test-run tool which is the MySQL test suite. But did you know there are actually multiple suites? If you just run the tool, you don’t get everything!

    Check out the mysql-test/suites subdirectory. That’s all the stuff you don’t get when just running the tool normally. If you take a peek at the Makefiles, you will find a target test-bt (build team) which shows the extra calls and parameters for the additional suites.

    OurDelta has had some interesting cases where a build that’s otherwise ok would fail when users tried the test suite on their installation. We reckon such a test should definitely pass, and thus we had some more homework to do. So now OurDelta builds with as many tests as exist enabled, on all platforms and architectures. Slow yes, but that’s not an argument to not test something, right? Failing tests

      [Read more...]
    Building The Perfect HTPC (Media PC), Capable Of Playing 1080P H264
    +0 Vote Up -0Vote Down

    The Idea.

    For the past month I have been exploring options and building a perfect Home Theater PC for my 50” Vizio plasma. Besides the obvious, it has to play movies, youtube videos, etc, I had a few concrete goals in mind. Here they are:

    • it absolutely had to handle 1080P h264, specifically movies encoded using x264. An average movie size for this format is between 8.5 and 13 GB. There were 2 problems to overcome: the CPU had to be able to handle the decoding (my desktop dual core Conroe barely kept up) and the network had to be fast enough to stream in real time from my storage PC a floor away.
    • I needed to have the easiest control over the whole thing. VNC wasn’t good enough, because I don’t always have a laptop lying around.
    • It had to support 7.1 sound.
    • It had to have excellent picture quality
      [Read more...]
    Drizzling MySQL
    +0 Vote Up -0Vote Down



    Have you ever used subqueries with MySQL? It's an addition introduced in version 4.1, and since then neglected. The performance of subqueries in MySQL 4.1 and 5.x is really a sad story.
    For example, using the Employees test database, you may try this query:
    select
    title, from_date, to_date
    from titles
    where emp_no in
    (select emp_no
    from employees
    where first_name = 'Mary'
    and last_name = 'Sluis'
    )

    The result, in MySQL 5.1.28 is
    +-------+------------+------------+
    | title | from_date | to_date |
    +-------+------------+------------+
    |
















      [Read more...]
    WebSynergy Community Build 5 Available!
    Employee_Team +0 Vote Up -0Vote Down

    Hot on the heels of SB2, WebSynergy continues its cadence of builds with the latest, Project WebSynergy Community Build 5 [download].

    This build incorporates additional samples, a bridge between JSR 286 events and the built-in services (e.g. the activities service), WSRP improvements, jBPM workflow integration into SAW, and a first cut of SWA. On the development

      [Read more...]
    Musings on MySQL Proxy
    Employee +0 Vote Up -0Vote Down
    When seeing that the MySQL Proxy was released, I decided to try to experiment with it since I see strong potential with this tool, both for replication and for other uses (recall that I'm a replication guy, so this is my primary focus). I'm actually on vacation, but this will of course not stop me from tinkering with things (I know, I'm just a hopeless case in this aspect ;) ).

    After reporting a minor bug, I managed to build and run it with some sample scripts. I'm using Kubuntu Feisty, and had some initial problems, but it was actually pretty straightforward. I'll repeat the steps anyway, in case anybody else have problems.

  • Get the source from the repository
    svn co http://svn.mysql.com/svnpublic/mysql-proxy/ mysql-proxy
  • Make sure you have all
  •   [Read more...]
    Showing entries 1 to 23

    Planet MySQL © 1995, 2014, Oracle Corporation and/or its affiliates   Legal Policies | Your Privacy Rights | Terms of Use

    Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.