1 Step
cd /home
yum install git
2 Step
git clone https://github.com/HarpyWar/pvpgn.git
3 Step
cd /home/pvpgn
mkdir build
cd build
4 Step
yum install zlib-devel mesa-libGL-devel mesa-libGLU-devel
5 Step
yum install mysql-devel
6 Step
cmake -D CMAKE_INSTALL_PREFIX=/usr/local/pvpgn -D WITH_MYSQL=true ../
7 Step
make
8 Step
make install
For Error " CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. "
usar
yum install make automake gcc gcc-c++ kernel-devel
yum groupinstall 'Development Tools' 'Development Libraries'
For Error " CMake Error at cmake/Modules/FindZLIB.cmake:44 (MESSAGE): " usar
yum install zlib-devel mesa-libGL-devel mesa-libGLU-devel
For Error " CMake Error at cmake/Modules/FindMySQL.cmake:60 (MESSAGE): "
usar
yum install mysql-devel
Run Server
/usr/local/pvpgn/sbin/
./bnetd
Stop Server
killall
bnetd
killall -9 bnetd