Compile on Redhat or CentOS

May 26, 2014 at 1:09 AM
Required packages

yum install bluez-libs-devel bluez libcurl-devel libcurl curl gcc-c++ gcc boost boost-devel openssl-devel

yum groupinstall 'Development Tools'

Download the tar file place in home dir

mkdir SMAspot ; cd SMAspot ; tar -xzvf ../SMAspot_SRC_244_Linux_Win32.tar.gz

make release

mkdir /usr/local/SMAspot

cp ./bin/Release/* /usr/local/SMAspot/
cp ./SMAspot.cfg /usr/local/SMAspot/

Change your settings in config file
vi /usr/local/SMAspot/SMAspot.cfg

run the binary file
/usr/local/SMAspot/SMAspot -u -v -cfg /usr/local/SMAspot/SMAspot.cfg

Clean up the compile dir if you wish
Coordinator
May 27, 2014 at 8:27 AM
Thanks for the info, I'll use this for a wiki