Home

Awesome

WebScaleSQL RPM file builder

See: http://blog.wl0.org/2014/04/webscalesql-rpms-for-centos-6/ which describes the build process I started with to build WebScaleSQL rpms for CentOS 6.

The build script on this page attempts to simplify the procedure so that rpms can be built when any changes get applied to the webscalesql-5.6 git repo which is assumed to be on the same server.

Build Procedure

$ git clone https://github.com/sjmudd/webscalesql-rpm.git
$ git clone https://github.com/webscalesql/webscalesql-5.6.git

To simplify the devtoolset installation simply run:

$ cd websalesql-rpm
$ ./install-build-rquirements

and this will install this and a few other required packages needed to build the rpms. If you really want to install devtoolset-1.1 then do the following:

$ ./install-build-rquirements 1.1
$ ./build [/path/to/local/webscalesql.git/repo]

This will take a while and leave a log file in build.log.<timestamp>.gz.

The path will be remembered so you only need to add that once. Subsequent runs can just call build on its own.

root@myserver [performance_schema]> select * from users;
ERROR 1286 (42000): Unknown storage engine 'PERFORMANCE_SCHEMA'

I will try to see if it is possible to build with performance_schema enabled, or make this configurable.

Feedback welcome to Simon J Mudd sjmudd@pobox.com.