Linux Installation

Have Problems with PokerTH Installation? Here you will find Help.
User avatar
MrMayberry
Posts: 9
Joined: Thu Mar 14, 2024 1:18 am
Location: Ohio
Contact:

I am trying to get the server edition installed on my server.

I am receiving the following error when following the instructions:

Code: Select all

 
 pokerth-1.1.2]# make
( test -e Makefile.pokerth_protocol || /bin/qmake-qt5 -o Makefile.pokerth_protocol /home/bjmmedia/public_html/poker/hoc/pokerth-1.1.2/pokerth_protocolXpro -spec linux-g++ ) && make -f Makefile.pokerth_protocol
make[1]: Entering directory `/home/bjmmedia/public_html/poker/hoc/pokerth-1.1.2'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/bjmmedia/public_html/poker/hoc/pokerth-1.1.2'
( test -e Makefile.pokerth_db || /bin/qmake-qt5 -o Makefile.pokerth_db /home/bjmmedia/public_html/poker/hoc/pokerth-1.1.2/pokerth_dbXpro -spec linux-g++ ) && make -f Makefile.pokerth_db
make[1]: Entering directory `/home/bjmmedia/public_html/poker/hoc/pokerth-1.1.2'
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -fPIC -std=gnu++11 -Wall -W -D_REENTRANT -DENABLE_IPV6 -DTIXML_USE_STL -DQT_NO_DEBUG -I. -I. -Isrc -isystem /usr/include -I/usr/lib64/qt5/mkspecs/linux-g++ -o obj/serverdbcallback.o src/db/common/serverdbcallback.cpp
In file included from src/db/common/serverdbcallback.cpp:32:0:
src/db/serverdbcallback.h:39:32: fatal error: boost/shared_ptr.hpp: No such file or directory
 #include <boost/shared_ptr.hpp>
                                ^
compilation terminated.
make[1]: *** [obj/serverdbcallback.o] Error 1
make[1]: Leaving directory `/home/bjmmedia/public_html/poker/hoc/pokerth-1.1.2'
make: *** [sub-pokerth_db-pro-make_first-ordered] Error 2
I have checked, and I believe I have all of the programs listed in the INSTALL file. I am following the guide for install. I only had 1 question so far on the guide, it states to edit the pokerth pro and remove pokerth game pro file... I can remove the one but what do I edit in the other one?

Any help would be greatly appreciated!

Thanks in advance.
Thank You,

B. Mayberry
BJMMedia.com
www.bjmmedia.com

Want a Website?
boehmi
Posts: 821
Joined: Wed Mar 17, 2021 12:24 pm
Been thanked: 34 times

What OS are you using and what guide (link!) did you follow?
User avatar
MrMayberry
Posts: 9
Joined: Thu Mar 14, 2024 1:18 am
Location: Ohio
Contact:

Thanks for the reply...

I am running:

Linux 3.10.0-1160.95.1.el7.x86_64 x86_64

NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

and I am using the server_setup_howto included in the download.
Thank You,

B. Mayberry
BJMMedia.com
www.bjmmedia.com

Want a Website?
User avatar
sp0ck
Posts: 238
Joined: Mon Mar 15, 2021 12:54 pm
Location: Flensburg
Been thanked: 14 times

Hey,

there does not exist any experience with Fedora or CentOS from our side - PokerTH has been built with apt-based Systems so far.

First of all: stick to current wiki: https://github.com/pokerth/pokerth/wiki ... -for-Linux - the server_setup_howto is outdated.

If you do have by any chance the possibility of using docker or podman I can assist you.
User avatar
MrMayberry
Posts: 9
Joined: Thu Mar 14, 2024 1:18 am
Location: Ohio
Contact:

Ok,

The wiki is close to the same as the file I was using.

I am still getting the same error.

Any idea what program/RPM that is needed for this file:

boost/shared_ptr.hpp

I'm lost as to what program I might be missing at this point.

Any/all continued help would be greatly appreciated.
Thank You,

B. Mayberry
BJMMedia.com
www.bjmmedia.com

Want a Website?
User avatar
MrMayberry
Posts: 9
Joined: Thu Mar 14, 2024 1:18 am
Location: Ohio
Contact:

Also, I don't have access to "Portman" or "Docker" on my server.
Thank You,

B. Mayberry
BJMMedia.com
www.bjmmedia.com

Want a Website?
User avatar
sp0ck
Posts: 238
Joined: Mon Mar 15, 2021 12:54 pm
Location: Flensburg
Been thanked: 14 times

The error log of your first post seems to indicate that boost & boost-dev is not installed/available - try this:

Code: Select all

yum install boost boost-devel boost-doc
I cannot verify this, as I do not run any Fedora/CentOS.
User avatar
MrMayberry
Posts: 9
Joined: Thu Mar 14, 2024 1:18 am
Location: Ohio
Contact:

That was a good fix! That got me a bit further.

Then another error, but I found that I also needed mysql++ & mysql++-dev, once I got those installed the compile has finished.

Now on to the next...
Thank You,

B. Mayberry
BJMMedia.com
www.bjmmedia.com

Want a Website?
User avatar
MrMayberry
Posts: 9
Joined: Thu Mar 14, 2024 1:18 am
Location: Ohio
Contact:

OK,

We are compiled and running on ports.

Not sure how to get database setup on mysql? I have changed all the settings and created the DB in mysql.

I am getting the following errors in log file:

Code: Select all

2024-Mar-18 21:04:32 MSG: Starting PokerTH dedicated server. Availability: IPv6 1, SCTP 1, Dual Stack 1.
2024-Mar-18 21:04:32 ERR: DB connect error: Table 'XXXXXXXX_pokerth.player' doesn't existTable 'XXXXXXXX_pokerth.player' doesn't existTable 'XXXXXXXX_pokerth.player' doesn't existTable 'XXXXXXXX_pokerth.player' doesn't existTable 'XXXXXXXX_pokerth.player' doesn't existTable 'XXXXXXXX_pokerth.player' doesn't existTable 'XXXXXXXX_pokerth.player' doesn't existTable 'XXXXXXXX_pokerth.player' doesn't existTable 'XXXXXXXX_pokerth.player' doesn't existTable 'XXXXXXXX_pokerth.player' doesn't existTable 'XXXXXXXX_pokerth.player' doesn't exist
2024-Mar-18 21:31:10 ERR: Session 2 - Connection closed: asio.misc:2
Do we have to compile with DB settings or is there a .SQL file that we can use?

Thanks again for the assist.
Thank You,

B. Mayberry
BJMMedia.com
www.bjmmedia.com

Want a Website?
User avatar
sp0ck
Posts: 238
Joined: Mon Mar 15, 2021 12:54 pm
Location: Flensburg
Been thanked: 14 times

Do we have to compile with DB settings or is there a .SQL file that we can use?
No. The server should run without credentials from now on. Every user can connect - password will be ignored.

In what direction do you want to go?

There exists an sql file for the table structure with user authentification - I can pm it to you.
Post Reply