X-MSG-IM系統核心網元編譯時依賴較多第三方庫, 較爲繁瑣. 這是爲了在部署時更方便, 更少地依賴宿主系統環境.git
wget http://www.zlib.net/zlib-1.2.11.tar.gz tar -xzvf zlib-1.2.11.tar.gz cd zlib-1.2.11 export CFLAGS="-O3" ./configure --prefix=/home/dev5/tools/zlib-1.2.11 --static make;make install
wget https://nchc.dl.sourceforge.net/project/libuuid/libuuid-1.0.3.tar.gz tar -xzvf libuuid-1.0.3.tar.gz cd libuuid-1.0.3 export CFLAGS="-O3" ./configure --prefix=/home/dev5/tools/libuuid-1.0.3 make;make install
wget http://ftp.openssl.org/source/openssl-1.1.1d.tar.gz tar -xzvf openssl-1.1.1d.tar.gz cd openssl-1.1.1d export CFLAGS="-O3" ./config --prefix=/home/dev5/tools/openssl-1.1.1d make;make install
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.5.1/protobuf-cpp-3.5.1.tar.gz tar -xzvf protobuf-cpp-3.5.1 cd protobuf-cpp-3.5.1 export CXXFLAGS="-O3" ./configure --prefix=/home/dev5/tools/protobuf-3.5.1 make;make install