Compiling sysbench on WSL and SmartOS
As I noted in https://github.com/akopytov/sysbench/issues/102
SmartOS
#pkgin install automake make gcc libtool gcc49 pkg-config gmake
Windows Subsystem for Linux:
Both of these are using current from a straight "git clone https://github.com/akopytov/sysbench.git",
version is "sysbench 1.1.0-2343e4b (using bundled LuaJIT 2.1.0-beta2)". I've just tried CPU test as a quick sanity check for now.
So thank you to whoever did the configure/make scripts in such a way as to be more portable. (Probably for supporting Oracle/Solaris back in the day.)
SmartOS
( joyent_20161013T025521Z) in a native zone (base-64-lts 16.4.0), required:
#pkgin install automake make gcc libtool gcc49 pkg-config gmake
Windows Subsystem for Linux:
Current Windows 10 Pro (1607, build 14393.693).
Already had GCC installed and who knows what else, needed packages:
apt-get install autoconf libtool pkg-config libmysqlclient-dev
Already had GCC installed and who knows what else, needed packages:
apt-get install autoconf libtool pkg-config libmysqlclient-dev
version is "sysbench 1.1.0-2343e4b (using bundled LuaJIT 2.1.0-beta2)". I've just tried CPU test as a quick sanity check for now.
So thank you to whoever did the configure/make scripts in such a way as to be more portable. (Probably for supporting Oracle/Solaris back in the day.)
./autogen.sh
ReplyDelete./configure
make
make install
Old tests in (path to git clone, assume sysbench/src/lua/