Key

export PREFIX=/usr/local/mysql
# This is the directory with the mysql installation
# The executable for the mysql client should be in $PREFIX/bin/mysql for example
git clone https://github.com/smonkewitz/scisql.git # For the latest
cd scisql
git checkout tickets/DM-4867
./configure --prefix=$PREFIX --mysql-includes=$PREFIX/include
# If you get an error and you are sure you have an appropriate version, edit the tools/mysqlversion.py to always succeed and rerun configure.)
[sudo] make install

Check that the scisql libraries and deploy scripts are in $PREFIX.

Next, deploy the UDFs.Note that by default, dynamic libraries in OS X end in .dylib instead of .so.If you're running on OS X, and the install process created a libscisql-scisql_0.3.dylib instead of libscisql-scisql_0.3.so, you need to change the references to the .so file to .dylib before deploying: