## Install uuid-dev, curl, and gcc 7
1 sudo yum install libuuid libuuid-devel curl-devel openssl-devel
2 sudo yum install centos-release-scl
3 sudo yum install devtoolset-7
5 sudo python3 -m pip install --upgrade pip
6 sudo python3 -m pip install cmake
7 export PATH=$PATH:/usr/local/bin [you might want to add this to .bashrc]
## Build libzmq
1 git clone https://github.com/zeromq/libzmq
2 cd libzmq/ && mkdir build && cd build
3 cmake .. -DCMAKE_INSTALL_PREFIX=~/.zmq
Build cppzmq
Now go back to top-level and pull/build cppzmq
2 git clone https://github.com/zeromq/cppzmq
3 cd cppzmq/ && mkdir build && cd build/
4 cmake .. -DCMAKE_INSTALL_PREFIX=~/.zmq -DCMAKE_PREFIX_PATH=~/.zmq
Build msgpack-c
Now go back to top-level and pull/build msgpack
2 git clone https://github.com/msgpack/msgpack-c/
3 cd msgpack-c/ && mkdir build && cd build
4 cmake .. -DCMAKE_INSTALL_PREFIX=~/.zmq
Build XACC
1 scl enable devtoolset-7 bash
2 git clone --recursive https://github.com/eclipse/xacc
3 cd xacc && mkdir build && cd build
4 cmake .. -DUUID_LIBRARY=/usr/lib64/libuuid.so.1 -DUUID_INCLUDE_DIR=/usr/include