Skip to forum content

You are not logged in. Please login or register.


forums.pvpgn.pro → [RU] The Source Code → Help. Install PvPGN 199.r521 in UBUNTU 12.10!

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 8

1 (edited by Samz 05.05.2013 11:00)

Topic: Help. Install PvPGN 199.r521 in UBUNTU 12.10!

First , i type

# cd /usr/src
# wget www.cmake.org/files/v2.6/cmake-2.6.2.tar.gz
# wget download.berlios.de/pvpgn/pvpgn-199.r521.tar.gz
# wget download.berlios.de/pvpgn/pvpgn- … 1.2.tar.gz
# wget ftp://ftp.astral.ro/mirrors/mysql.com/D … .32.tar.gz

Next , i extrack the file

# tar xfz cmake-2.6.2.tar.gz
# tar xfz pvpgn-199.r521.tar.gz
# tar xfz pvpgn-support-1.2.tar.gz
# tar xfz mysql-5.0.51b.tar.gz

next , i make the cmake ..

# cd cmake-2.6.2
# ./bootstrap
# make
# make install

Next , i cmake the pvpgn

# cd ../pvpgn-199.r521/
# mkdir build
# cd build
# cmake -D CMAKE_INSTALL_PREFIX=/usr/local/pvpgn/ -D WITH_MYSQL=true ../

And , Get the error

root@dota:/usr/src/pvpgn-199.r521/build# cmake -D CMAKE_INSTALL_PREFIX=/usr/local/pvpgn-svn /usr/src/pvpgn-199.r521
-- pvpgn is used as APPLICATION_NAME
-- Looked for Z libraries named .
CMake Error at cmake/Modules/FindZLIB.cmake:44 (MESSAGE):
  Could NOT find z library
Call Stack (most recent call first):
  ConfigureChecks.cmake:32 (find_package)
  CMakeLists.txt:29 (include)


-- Configuring incomplete, errors occurred!
root@dota:/usr/src/pvpgn-199.r521/build#

Help me !

2 (edited by Dante 05.05.2013 12:14)

Re: Help. Install PvPGN 199.r521 in UBUNTU 12.10!

I hope and serve you, greetings

# CORRECTING ERRORS

sudo apt-get install zlib1g-dev
sudo apt-get install libmysqlclient15-dev

# DOWNLOAD FILES IN THE FOLDER SRC

cd /usr/src/
wget http://darksitel.com/pvpgn-199.r521.tar.gz
wget http://darksitel.com/pvpgn-support-1.2.tar.gz

# These files must be in /usr/src/

#SI SON ZIP ------------------------------

[root@mybox] unzip pvpgn-199.r521.zip
[root@mybox] unzip pvpgn-support-1.2.zip

#SI SON TAR GZ ------------------------------
[root@mybox] tar xfz pvpgn-199.r521.tar.gz
[root@mybox] tar xfz pvpgn-support-1.2.tar.gz



#After unpacking all will have these folders


cd /usr/src/pvpgn-199.r521
cd /usr/src/pvpgn-support-1.2

#install cmake (optional)

sudo apt-get install cmake


#install mysql if not installed (opc)

#when you want to start mysql will uses==>$ /etc/init.d/mysql start

#Mysql stop now.

/etc/init.d/mysql stop

#Start Mysql in Safe Mode

mysqld_safe --user=mysql &

ps ax | grep mysqld_safe

#might show something like this
#32485 ?        S      0:00 /bin/sh /usr/local/dbmysql/bin/mysqld_safe --user=mysql
#25641 pts/1    S+     0:00 grep mysqld_safe

#installing required compilers (optional)

sudo apt-get install gettext
sudo apt-get install build-essential


cd ../pvpgn-199.r521/
mkdir build
cd build


cmake -D CMAKE_INSTALL_PREFIX=/usr/local/pvpgn/ -D WITH_MYSQL=true ../  
make                                                                    
make install   

cd /usr/src/pvpgn-support-1.2 
cp * /usr/local/pvpgn/var/files/

CREATE DATABASE empty, CALL pvpgn

EDIT  /usr/local/pvpgn/etc/bnetd.conf y configurar el mysql conexion

[root@mybox]# cd /usr/local/pvpgn/sbin/
[root@mybox]# ./bnetd

ps ax | grep bnetd

review LOG: less /usr/local/pvpgn/var/bnetd.log (presiona "q" para salir)

3

Re: Help. Install PvPGN 199.r521 in UBUNTU 12.10!

root@dota:/usr/src/pvpgn-199.r521/build# sudo apt-get install zlib1g-dev
sudo: unable to resolve host dota
Reading package lists... Done
Building dependency tree
Reading state information... Done
zlib1g-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@dota:/usr/src/pvpgn-199.r521/build# cmake -D CMAKE_INSTALL_PREFIX=/usr/local/pvpgn-199.r521/ -D WITH_MYSQL=true ../
-- pvpgn is used as APPLICATION_NAME
-- Looked for Z libraries named .
CMake Error at cmake/Modules/FindZLIB.cmake:44 (MESSAGE):
  Could NOT find z library
Call Stack (most recent call first):
  ConfigureChecks.cmake:32 (find_package)
  CMakeLists.txt:29 (include)


-- Configuring incomplete, errors occurred!
root@dota:/usr/src/pvpgn-199.r521/build#

4

Re: Help. Install PvPGN 199.r521 in UBUNTU 12.10!

Samz wrote:

Could NOT find z library

Put zlib files (with zlib.h) to directory src/zlib/*

Do not ask for support in PM.

5

Re: Help. Install PvPGN 199.r521 in UBUNTU 12.10!

please direct link download big_smile

6

Re: Help. Install PvPGN 199.r521 in UBUNTU 12.10!

zlib.net/zlib-1.2.8.tar.gz

Do not ask for support in PM.

7

Re: Help. Install PvPGN 199.r521 in UBUNTU 12.10!

zlib.net/zlib-1.2.8.tar.gz

where can i put the file after i extrack

8

Re: Help. Install PvPGN 199.r521 in UBUNTU 12.10!

CMake searches zlib.h in these directories. If zlib.h not found there then it stops with error message "Could NOT find z library".
As you can see, one of them is ${CMAKE_SOURCE_DIR} which is a directory of pvpgn source code.

Do not ask for support in PM.

Posts: 8

Pages 1

You must login or register to post a reply

Who now at forum

Currently view post: 1 guest, 0 registered users

forums.pvpgn.pro → [RU] The Source Code → Help. Install PvPGN 199.r521 in UBUNTU 12.10!



Generated in 0.060 seconds (80% PHP - 20% DB) with 20 queries